Commit graph

66 commits

Author SHA1 Message Date
Alex Dupre
8140074797 Fix rcNG startup ordering for MySQL daemon.
Bump PORTREVISION for mysql-server ports.

Approved by:	portmgr (clement)
2006-03-07 16:25:01 +00:00
Alex Dupre
3f7751a86f Convert mysql-client.sh to rcNG. 2006-01-12 08:57:43 +00:00
Alex Dupre
34d3ab84b0 - Use the rcNG script to kill MySQL on deinstallation [1]
- Set the new sequence for finding my.cnf files [2]:
  /etc, ${PREFIX}/etc, ${mysql_dbdir}
  (default to: /etc/my.cnf, /usr/local/etc/my.cnf, /var/db/mysql/my.cnf)
- Add the possibility to specify additional command-line arguments
  to be passed to mysqld_safe on startup

PR:		ports/79166 [1], ports/79597 [2]
Submitted by:	Sergey Prikhodko <sergey@network-asp.biz> [1],
		Vasil Dimov <vd@datamax.bg> [2]
2005-04-11 09:33:11 +00:00
Alex Dupre
57d43c0887 Update to 3.23.59 snapshot:
- Switch to rcNG
- Add the possibility to specify the database directory in rc.conf
- Move database creation from post-install stage into startup script
2005-03-15 14:17:25 +00:00
Alex Dupre
ef69cdc1a9 - Use MASTER_SITES_MYSQL
- Add WITHOUT_INNODB knob [1]
- Fix tcp wrappers (hopefully definitely!)
- Extend allowed linuxthreads shlib versions

Submitted by:	sobomax [1]
2005-01-10 14:44:25 +00:00
Alex Dupre
b2e7b7dfe5 Unbreak (restore forced 'ps' command).
Approved by:	portmgr (kris)
2004-09-29 16:18:25 +00:00
Alex Dupre
b34e1466b9 - Fix mysqlhotdump vulnerability
- Fix plist (don't install .la files)
- Add optional knob WITH_PROC_SCOPE_PTH

Approved by:	portmgr (marcus)
2004-09-24 16:18:12 +00:00
Alex Dupre
6591025a58 Fix a never-catched bug in mysql_install_db script.
Now the SKIP_DNS_CHECK knob is pointless.
2004-03-12 10:36:57 +00:00
Alex Dupre
e739665f93 Sync with MySQL 4.0:
- get rid of perl dependency
- enhance man pages and scripts installation
- move additional scripts in mysql-scripts port
2004-02-29 12:38:32 +00:00
Alex Dupre
c9989eb4c4 - Completely restructure the port to follow other mysql* ports
(too many improvements to be listed here)
- Correctly support PTHREAD_LIBS/CFLAGS
- Use USE_GNOME=lthack
- Propagate DB_DIR in package [1]
- Use my @FreeBSD.org email address
- Bump PORTREVISION

PR:		ports/24749 [1]
Submitted by:	Tom Pavel <pavel@networkphysics.com> [1]
Approved by:	nork (mentor/implicitly)
2004-01-17 12:47:02 +00:00
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