Commit graph

261 commits

Author SHA1 Message Date
Alex Dupre
399ed5538e Add patchfile as in mysql 5.0 to remove useless perl dependency. 2004-06-09 22:06:43 +00:00
Alex Dupre
9ae92de6d1 Improve the patch (this should work on 4.X, too). 2004-06-02 07:24:45 +00:00
Alex Dupre
eff0021f23 - Update to 4.1.2 release
- Add experimental WITH_PROC_SCOPE_PTH knob to use process scope
  threads instead of system scope threads with libpthread
2004-06-01 07:15:09 +00:00
Alex Dupre
3fed262dde - Replace dead MASTER_SITE [1]
- Fix mysqlbug vulnerability [2]
- Bump PORTREVISION

PR:		ports/66671 [1]
Submitted by:	Roman Neuhauser <neuhauser@chello.cz> [1],
		roam [2]
2004-05-18 11:37:49 +00:00
Trevor Johnson
3bca696b10 Add size data, approved by maintainers. 2004-03-18 18:01:13 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +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
16c0520e22 Fix mysql default db installation.
Noticed by:	many
2004-03-08 08:58:24 +00:00
Alex Dupre
9cd2122897 Fix installation (a bit of perl was still there).
Reported by:	bento via kris
2004-03-02 12:17:32 +00:00
Alex Dupre
6373c41ece Move mysql.info installation in do-install stage. 2004-02-29 10:50:27 +00:00
Alex Dupre
bcfddf9578 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 08:44:12 +00:00
Alex Dupre
a37446b1dc Don't limit architectures.
Noticed by:	Petri Helenius <pete@he.iki.fi>
Approved by:	nork (mentor/implicitly)
2004-02-03 15:25:53 +00:00
Alex Dupre
4c8cf59839 Use unique LATEST_LINK.
Reported by:	kris
Approved by:	nork (mentor/implicitly)
2004-01-29 12:44:04 +00:00
Alex Dupre
d4e7faed04 Sync with recent mysql323 changes:
- Correctly support PTHREAD_LIBS/CFLAGS
- Use USE_GNOME=lthack
- Propagate DB_DIR in packages
- Use my @FreeBSD.org email address

Approved by:	nork (mentor/implicitly)
2004-01-18 00:59:41 +00:00
Norikatsu Shigemura
6af6d64e7e o Add CONFLICTS sections.
o Fix packages dependencies.
o portlint clean
o Correct typo in MASTER_SITES, Fix non-optimized build.

PR:		ports/60559
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-12-26 16:56:52 +00:00
Norikatsu Shigemura
26d483a7a9 o Update to 4.1.1 alpha release.
o Sync with mysql40 port changes.
o Make portlint clean.

PR:		ports/60119
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-12-11 15:58:26 +00:00
Ying-Chieh Liao
c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00
Peter Pentchev
959ae08171 Protect against accidentally defining USE_MYSQL in the environment or
on the make(1) command line[1].
Unbreak mysql40-server's building on -CURRENT (-pthread)[2].

PR:		56252[1], 56925[2]
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org> [1],
		Alex Dupre <sysadmin@alexdupre.com> (maintainer) [2]
2003-10-03 16:10:16 +00:00
Oliver Lehmann
fdb7a1c903 take care about DB_DIR when the initial database get installed
PR:		ports/54628
Submitted By:	Max Okumoto <okumoto@ucsd.edu>
Approved By:	maintainer
2003-09-28 21:47:53 +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
Tilman Keskinoz
1b7d598e61 Correct configure patch
PR:		51342
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-05-19 14:45:25 +00:00
Norikatsu Shigemura
dc608dc90f Repo copy & update to MySQL 4.1.0 aka mysql41-server/mysql41-client.
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Repo copied by:	joe (cvs)
Approved by:	portmgr (no objections)
2003-04-18 16:17:47 +00:00
Norikatsu Shigemura
03be952534 o Move USE_PERL5_RUN into server part.
o Switch from p5-Mysql to p5-DBD-mysql.
o Add MySQL 4 support (and set it as default) to p5-DBD-mysql.
o Bump PORTREVISION accordingly.

PR:		ports/50315
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (mysql40 maintainer)
Approved by:	skv (p5-DBD-myql maintainer)
2003-04-04 05:21:36 +00:00
Martin Blapp
4a0ac5cba0 Under FreeBSD 5.X, libstdc++ and libsupc++ in /usr/lib use FreeBSD
native (libc_r style) mutexes, thus some of the linked application
might indirectly try to pass native style mutexes to linuxthreads
pthread functions, either hanging at program startup or overwriting
data following the native style mutex. <tegge>

Reviewed by:	tegge
2003-03-26 23:27:15 +00:00
Norikatsu Shigemura
c6a95a3a85 o Build thread-safe libs by default.
o Fix pkg-plist.
o Bump PORTREVISION accordingly.

PR:		ports/50293
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-03-25 23:39:43 +00:00
Norikatsu Shigemura
fc5b101e78 Update to 4.0.12.
PR:		ports/50130
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-03-24 17:02:58 +00:00
Ade Lovett
84ea4ee842 Destroy pkg-comment for some of the stranger uses in the tree,
pending the final semi-automatic purge.

Approved by:	portmgr (implicitly)
2003-03-06 19:23:19 +00:00
Martin Blapp
47e0ab6f4f FreeBSD 5.X does have lthread.3, FreeBSD 4.X lthread.2 2003-02-25 00:33:10 +00:00
Martin Blapp
3e47836f1a Add WITH_LINUXTHREADS option to build with linuxthreads. 2003-02-23 15:08:25 +00:00
Akinori MUSHA
2e4c764a61 De-pkg-comment. 2003-02-21 11:15:57 +00:00
Norikatsu Shigemura
52a1683f75 o Definitely fix building on -current.
o Really overwrite databases when OVERWRITE_DB is set.
o Automatically skip installing databases if they already exist
  (unless OVERWRITE_DB is set).

PR:		ports/47945
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-02-05 15:34:09 +00:00
Norikatsu Shigemura
cc4970f845 Update to 4.0.10.
Fix configure on -current.

PR:		ports/47902
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-02-04 14:13:34 +00:00
Peter Pentchev
b62043221b Update to MySQL 4.0.9 after a repo-copy from the mysql323-* ports.
PR:			45543
Submitted by:		Alex Dupre <sysadmin@alexdupre.com>
Repo-copy approved by:	portmgr (will)
Repo-copy performed by:	cvs (josefk)
2003-01-31 16:02:39 +00:00
Dirk Froemberg
62f5f7182f Upgrade to 3.23.55. 2003-01-29 16:30:27 +00:00
Dirk Froemberg
f7747a8f62 mysql-server compiles and runs fine on sparc64.
Submitted by:	Joao Pedras <jpedras@webvolution.net>
2003-01-23 13:08:03 +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
Maxim Sobolev
b1ba818a65 Mark as FORBIDDEN - multiple security vulnerabilities exist. See
http://security.e-matters.de/advisories/042002.html

Submitted by:	Constantin Deribin <deribin@portaone.com>
2002-12-13 11:28:40 +00:00
Dirk Froemberg
b2a012a879 Fix MASTER_SITES. 2002-11-21 21:04:16 +00:00
Dirk Froemberg
1d48e3c107 WITH_XCHARSET is independent of WITH_CHARSET.
PR:		ports/45173
Submitted by:	ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>
2002-11-17 15:58:19 +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
5095db8b9c Don't restrict InnoDB to i386. Works on alpha, too.
PR:		ports/42337
2002-09-03 21:31:38 +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
74e69248fb Bump PORTREVISION after fixing startup script. 2002-08-07 19:58:25 +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
0ffe9c48ec Back out last commit. It was unapproved and inappropriate since it
breaks existing installations (very clever!).

An appropriate "fix" for this "problem" would be to look in both /etc
and ${PREFIX}/etc.
2002-08-07 19:48:40 +00:00
Anders Nordby
63f849a1c4 Look for my.cnf in ${PREFIX}/etc rather than /etc.
Silence by:	dirk
2002-06-30 21:06:00 +00:00
Dirk Froemberg
93ff340325 Upgrade to 3.23.51. 2002-06-20 14:47:47 +00:00
Dirk Froemberg
b5d01e2916 Upgrade to 3.23.49. 2002-02-19 11:16:44 +00:00
Dirk Froemberg
e3442cd522 Add knob for --enable-thread-safe-client (THREAD_SAFE_CLIENT)
PR:		ports/33280
Submitted by:	Olafur Osvaldsson <oli@isnic.is>
2002-02-14 22:11:45 +00:00
Dirk Froemberg
bf1ea36835 Fix argument for chmod (00mysql-client.sh -> 000.mysql-client.sh)
Submitted by:	Jens Trzaska <j_trzaska@gmx.net>
2002-02-12 11:39:26 +00:00
Dirk Froemberg
49df86fb19 - upgrade to 3.23.48
- install mysql-client.sh as 000.mysql-client.sh.
  The 000. prefix seems to be more common, now.
2002-02-11 13:35:35 +00:00
Dirk Froemberg
5e5ce317c6 Upgrade to 3.23.47. 2001-12-29 10:33:26 +00:00
Dirk Froemberg
40118ebaa1 Add support for InnoDB tables.
This will emit a warning on startup and will be disabled if not
configured properly.

See http://www.mysql.com/doc/I/n/InnoDB.html for details.
2001-12-19 20:31:08 +00:00
Dirk Froemberg
0022a32651 - remove -fno-omit-frame-pointer from CFLAGS if BUILD_OPTIMIZED is set
- add a warning for BUILD_OPTIMIZED
2001-12-18 22:41:48 +00:00
Dirk Froemberg
b4349b0aca - CXX=${CC} to get rid of libstdc++ in order to improve stability
under heavy load

- add BUILD_STATIC option to link mysqld statically

- add BUILD_OPTIMIZED to add -mcpu=pentiumpro -O3 -fno-omit-frame-pointer
  to CFLAGS (and thus to CXXFLAGS)

Submitted by:	Sergei Golubchik <serg@mysql.com>
2001-12-17 22:50:46 +00:00
Dirk Froemberg
417a7a0ec0 Upgrade to 3.23.46. 2001-12-02 11:18:07 +00:00
Dirk Froemberg
e9185746c0 Upgrade to 3.23.45. 2001-11-24 12:54:12 +00:00
Dirk Froemberg
ab97b362e4 Update to 3.23.44. 2001-11-18 20:30:31 +00:00
Dirk Froemberg
882695f893 Upgrade to 3.23.43. 2001-10-05 19:15:41 +00:00
Dirk Froemberg
19add691ef Upgrade to 3.23.42. 2001-09-10 16:13:36 +00:00
David W. Chapman Jr.
2f9d6f48db Comply with NOPORTDOCS
PR:		29800
Submitted by:	pat@databits.net
No response:	maintainer
2001-09-03 22:27:58 +00:00
Dirk Froemberg
77ab88f1e1 Add dependency to p5-Mysql for the server part. mysql_convert_table_format,
mysql_setpermission and mysqlhotcopy need the perl module.
2001-08-18 21:57:18 +00:00
Dirk Froemberg
6a45e46521 Upgrade to 3.23.41. 2001-08-13 22:08:59 +00:00
Dirk Froemberg
7a6e5f95b2 Cleanup:
- rename INSTALL_DB_FORCE to SKIP_DNS_CHECK
- add additional comments for build options
- move printing of build option to server part
2001-08-13 21:50:34 +00:00
Dirk Froemberg
376118afd8 Add two new Makefile variables: SKIP_INSTALL_DB, INSTALL_DB_FORCE
(see Makefile for explanation).
2001-08-05 12:01:09 +00:00
Dirk Froemberg
423d70c5d9 Upgrade to 3.23.40. 2001-07-31 21:10:10 +00:00
Dirk Froemberg
0f5b447dfe Upgrade to 3.23.39. 2001-06-14 08:25:08 +00:00
Dirk Froemberg
4c1900dced POSIX chown syntax. 2001-06-03 18:45:35 +00:00
Dirk Froemberg
692ff3f0a1 Add option for linuxthreads (WITH_LINUXTHREADS).
Submitted by:	Alexey Zakirov <frank@agava.com>
2001-05-23 20:26:06 +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
b3b3a86d86 Fix typo (Latin1 -> latin1).
Noticed by:	Jon Nathan <jon@rupture.net>
2001-04-05 13:15:22 +00:00
Dirk Froemberg
d7e6656197 Upgrade to 3.23.36.
From the announcement:

"This release should fix the final bugs we accidently got into 3.23.34
and a long security bug that has been in MySQL a long time!

The main fixed bugs are that UPDATE didn't always use keys when
updating on something not based on a primary key and that 'affected
rows' wasn't returned to the client if the mysqld server wasn't
compiled with support for transactions."
2001-03-28 13:43:06 +00:00
Dirk Froemberg
384377aff8 Upgrade to 3.23.35.
From the announce mail:

"The 3.23.35 mainly fixes a critical bug in 3.23.34 with ORDER BY.  We
don't know how the ORDER BY bug slipped through our testing suite or
how fatal it's really is, but as we have got a couple of reports about
core dumps regarding this, we recommend 3.23.34 users to
upgrade as soon as possible. Sorry for the inconvenience."
2001-03-17 10:35:49 +00:00
Dirk Froemberg
38fae3c981 Add ${MASTER_SITE_SOURCEFORGE} to MASTER_SITES and remove www.mysql.net
which seems not to be a MySQL mirror anylonger.

Submitted by:	roam (sort of ;-)
2001-03-12 13:02:50 +00:00
Dirk Froemberg
8d67b310bc Upgrade to 3.23.34a. 2001-03-12 07:06:50 +00:00
Dirk Froemberg
77211fbcb3 BDB doesn't compile on alpha.
Submitted by:	Taylor Mallette <taylor.mallette@compaq.com>
2001-03-04 18:50:21 +00:00
Dirk Froemberg
ad35551e9b Upgrade to 3.23.33. 2001-02-14 09:20:08 +00:00
Dirk Froemberg
840aec531e Install mysql-client.sh as 00mysql-client.sh so the included
ldconfig is run earlier.

PR:		ports/24924
Submitted by:	jeh
2001-02-07 23:02:26 +00:00
Dirk Froemberg
6f3337ca58 Add options for alternate charsets (WITH_CHARSET and WITH_XCHARSET).
Submitted by:	roam
2001-01-25 01:03:09 +00:00
Dirk Froemberg
d296dcf10c Add support for BerkeleyDB table type.
This type allows SQL transactions (COMMIT, ROLLBACK).

Note: BerkeleyDB is build as part of mysql323-server since mysql
      needs a special version of it. Thus we can't depend on
      databases/db3 at the moment.
2001-01-25 00:44:33 +00:00
Dirk Froemberg
83e2341f7d Upgrade to 3.23.32. 2001-01-22 22:46:32 +00:00
Dirk Froemberg
a67288c74a Remove NO_LATEST_LINK now that mysql323-{client,server} are the
one and only.
2001-01-22 10:09:51 +00:00
Dirk Froemberg
403c5283fa Fix moved MASTER_SITE. 2001-01-21 20:09:16 +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
13506ce5fe Fix build on FreeBSD-3.x.
PR:	ports/24160
2001-01-21 11:49:48 +00:00
Dirk Froemberg
e8edf128ce Upgrade to 3.23.31. 2001-01-19 00:05:50 +00:00
Dirk Froemberg
4422c35a75 Add "-felide-constructors -fno-exceptions -fno-rtti" to CXXFLAGS
to work around a problem causing mysqld to crash under heavy load
and multiple connections at the same time.

PORTREVISION bumped.
2001-01-07 14:51:48 +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
cc3ecfa822 Remove extra .gz in MAN1. 2001-01-05 23:40:52 +00:00
Dirk Froemberg
c2b1c5db7f Upgrade to 3.23.30. 2001-01-05 17:13:33 +00:00
Will Andrews
60f2b6b7a8 Goodbye, YEAR2000. Hello, 2001.
Approved by:	asami
2001-01-01 10:15:16 +00:00