Commit graph

56 commits

Author SHA1 Message Date
Martin Blapp
ced2bcb792 Security update to 3.23.58.
Fixed buffer overflow in password handling which could potentially
be exploited by MySQL users with ALTER privilege on the mysql.user
table to execute random code or to gain shell access with the UID
of the mysqld process.

The complete changelog can be found at:
http://www.mysql.com/doc/en/News-3.23.58.html

Approved by:	marcus (portsmgr)
2003-09-19 14:47:59 +00:00
Joe Marcus Clarke
9b28c15608 With my portmgr hat on, apply a fix discussed on current@ to fix the
build on -CURRENT.  Also, reset maintainer to ports@ since dirk@ has been
inactive since 2003-02-06.
2003-08-29 17:29:06 +00:00
Martin Blapp
5f50990ece We finally have a threadsafe realpath(3) in 4.x and 5.x.
Remove problematic HAVE_BROKEN_REALPATH define, now we
have a fixed version. This allows usage of symlinks for
database paths again which was previously broken.

Bump portrevision.
2003-05-22 23:15:15 +00:00
Dirk Froemberg
62f5f7182f Upgrade to 3.23.55. 2003-01-29 16:30:27 +00:00
Dirk Froemberg
1ab754e246 make USE_LIBTOOL actually working
Submitted by:	sobomax
2002-12-16 19:33:58 +00:00
Dirk Froemberg
282d50d23d Upgrade to 3.23.54.
This fixes a security hole which is remotely exploitable.

See http://security.e-matters.de/advisories/042002.html for details.

Submitted by:	sobomax
Approved by:	sobomax
2002-12-14 16:00:39 +00:00
Dirk Froemberg
d649ce27bb -STABLE exits with signal 11 while connecting via TCP/IP if empty
prototypes are used. -CURRENT needs empty prototypes to build. Use
__FreeBSD_version to differentiate.

Set CXX to $CC on -STABLE again to get around stability problems
under heavy load.
2002-11-13 10:38:20 +00:00
Dirk Froemberg
46420237f9 FreeBSD has broken realpath(3), too.
PR:		ports/44784
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
2002-11-10 22:22:17 +00:00
Dirk Froemberg
be81ea8214 Set limits from user mysql before starting mysqld.
Submitted by:	Denis Shaposhnikov <dsh@neva.vlink.ru>
2002-11-10 21:47:46 +00:00
Dirk Froemberg
69ae594e86 Only kill mysqld we started. Don't kill all mysqld.
Submitted by:	Submitted by:   sobomax (modified by me a bit)
2002-11-10 20:28:07 +00:00
Dirk Froemberg
9eeffbcbf8 Only kill mysqld we started. Don't kill all mysqld.
Submitted by:	sobomax (modified by me a bit)
2002-11-10 20:24:24 +00:00
Dirk Froemberg
7f49013883 Fix build on 5.0-CURRENT.
Submitted by:	sobomax
2002-11-10 17:11:59 +00:00
Dirk Froemberg
5f0e15e63a Upgrade to 3.23.52. 2002-10-21 09:04:51 +00:00
Dirk Froemberg
172ccca45e Upgrade to 3.23.52. 2002-08-19 13:27:52 +00:00
Dirk Froemberg
97b1019c82 - remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer.
- add patch to use correct prototypes for libwrap
2002-08-12 20:21:51 +00:00
Dirk Froemberg
8dc8d99f09 Workaround revision 1.42 and 1.29.2.7 of src/bin/sh/parser.c.
Submitted by:	The Anarcat <anarcat@anarcat.ath.cx>
2002-08-07 19:51:47 +00:00
Dirk Froemberg
93ff340325 Upgrade to 3.23.51. 2002-06-20 14:47:47 +00:00
Dirk Froemberg
65bd433996 Upgrade to 3.23.38. 2001-05-12 14:43:52 +00:00
Dirk Froemberg
fe7ab376bb Upgrade to 3.23.37. 2001-04-21 11:26:11 +00:00
Dirk Froemberg
8d67b310bc Upgrade to 3.23.34a. 2001-03-12 07:06:50 +00:00
Dirk Froemberg
83e2341f7d Upgrade to 3.23.32. 2001-01-22 22:46:32 +00:00
Dirk Froemberg
88d74bc517 Switch from mysql322-{client,server} to mysql323-{client,server}.
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
2001-01-21 15:40:47 +00:00
Dirk Froemberg
76f676a1de --with-low-memory serves a similar purpose as patch-aq. 2001-01-07 13:52:24 +00:00
Dirk Froemberg
c2b1c5db7f Upgrade to 3.23.30. 2001-01-05 17:13:33 +00:00
Dirk Froemberg
f2f4c3cebe Upgrade to 3.23.29a. 2000-12-18 16:32:15 +00:00
Dirk Froemberg
a525e01845 Upgrade to 3.23.28. 2000-12-01 10:31:49 +00:00
Dirk Froemberg
0a2fa4a15a Move mysql-client.sh from Makefile to files/mysql-client.sh
and add a start/stop parameter to satisfy rc.shutdown.
2000-11-16 10:29:06 +00:00
Dirk Froemberg
f5ac20397a Install my_config.h to satisfy ports depending on mysql.
Submitted by:	steve
2000-11-09 00:14:19 +00:00
Dirk Froemberg
798cac5ca4 Upgrade to 3.23.26. 2000-10-19 13:28:42 +00:00
Dirk Froemberg
5c5dc27ac7 Upgrade to MySQL-3.23.24 after repository copy from mysql322-client
and mysql322-server.

- mit-pthread support was dropped.

- libmysqlclient.so.9 was renamed to libmysqlclient.so.6 (like the
  one coming with MySQL-3.22.x) so ports depending on MySQL having
  a chance of using 3.23.x if installed.

mysql322-(client|server) and mysql323-(client|server) can't be
installed at the same time, of course.
2000-10-19 09:17:57 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Dirk Froemberg
0cd9c6aaf6 Remove -Werror from configure script. This caused incorrect results
if -Wall was in CFLAGS. Thus mysql didn't build.

Reported, analyzed and tested by:	deischen
2000-05-03 11:33:14 +00:00
Dirk Froemberg
b96340db55 - move startup file from Makefile to files/mysql-server.sh
- check for start/stop arguments in startup file
- don't rip off --force option from mysql_install_db
2000-04-02 22:15:13 +00:00
Dirk Froemberg
56977a1792 Fix build error!
Submitted by:	Dirk-Willem van Gulik <dirkx@webweaving.org>
2000-02-21 20:48:28 +00:00
Steve Price
74d5f5aa90 With a minor little tweak this now builds on the Alpha. 2000-02-20 20:53:58 +00:00
Dirk Froemberg
6e2a3427cf Upgrade to 3.22.30. 2000-01-25 14:34:38 +00:00
Dirk Froemberg
c73aca2ef0 - upgrade to 3.22.29
- add -O0 for compiling sql/sql_yacc.cc. Otherwise gcc eats a lot of
  memory and cpu time. It seems to be a gcc compiler bug in conjunction
  with -O.
2000-01-05 21:03:03 +00:00
Dirk Froemberg
95328a4ca9 Use stripped hostname via hostname -s in various scripts, to make them
consistent with mysqld and other OS.

Reported by:	Clive Lin <clive@CirX.ORG>
1999-11-27 11:42:44 +00:00
Dirk Froemberg
738ee56574 Upgrade to 3.22.27. 1999-10-18 08:31:46 +00:00
Dirk Froemberg
ca7f72dba1 - upgrade to 3.22.26a
- use --enable-assembler for ${ARCH}==i386

  Requested by:	Martin Nilsson <martin@filex.se>

  There is an annoying bug in gcc 2.7.2.*: If -pipe is used for .s files,
  gcc will "hang" forever, because the assembler is called with '-' and
  noone is sending data.
  As a workaround use .S (capital s) files. Then cpp will be called prior
  to as and thus a pipe can be build.
1999-09-17 19:51:56 +00:00
Dirk Froemberg
cfc2f82c24 Split mysql322 into mysql322-client and mysql322-server.
mysql322-client uses mysql322-server as a master port. So
all the magic is in mysql322-server.

mysql322-client must be used to add dependencies to, now.

Thanks to Dan Moschuk <dan@trinsec.com> for giving the initial
point.
1999-07-01 08:44:49 +00:00
Dirk Froemberg
305d679564 Upgrade to 3.22.23b. 1999-06-08 10:11:17 +00:00
Dirk Froemberg
4e40e94cc8 - upgrade to 3.22.21
- pass ${CONFIGURE_ARGS} to mit-pthreads configure
1999-04-06 22:28:44 +00:00
Dirk Froemberg
6bee0291a9 Upgrade to 3.22.19b. 1999-03-04 21:27:59 +00:00
Dirk Froemberg
de0d39c4f7 Cleanups:
- don't pollute CFLAGS with extra optimizer flags
- remove part of patch-ac which forces -pthread instead of -lc_r
  (was included in the main distribution)
- don't name freebsd version in mit-pthreads/config/configure
  explicitly. settings work for 2.*, 3.* and 4.*.
1999-02-07 22:35:56 +00:00
Dirk Froemberg
cc143db881 Upgrade to 3.22.14b-gamma.
According to T.c.X DataKonsultAB this is the recommended version now.
So remove NO_LATEST_LINK (and set it for mysql321).
1999-01-05 23:43:28 +00:00
Dirk Froemberg
747178be68 Upgrade to 3.22.13-beta. 1998-12-24 01:14:13 +00:00
Dirk Froemberg
11a329e5b3 Upgrade to 3.22.11-beta.
Submitted by:	Alec Wolman <wolman@cs.washington.edu>
1998-12-22 18:01:44 +00:00
Satoshi Asami
e3f53a8e89 Don't try to be too fancy about using ps to find its flags, it breaks
chrooted builds.  Don't start mysql automatically if PACKAGE_BUILDING
is defined.

Submitted by:	maintainer
1998-12-01 02:56:08 +00:00
Steve Price
04248aec43 Update to version 3.22.10-beta.
PR:		8701
Submitted by:	maintainer
1998-11-21 20:13:52 +00:00