Commit graph

280 commits

Author SHA1 Message Date
Alex Dupre
110771c2d9 Update to 4.1.10 release:
- Add the possibility to specify the database directory in rc.conf [1]
- Move database creation from post-install stage into startup script

PR:		ports/75453 [1]
Submitted by:	Boris Kovalenko <boris@tagnet.ru> [1]
2005-02-15 22:57:02 +00:00
Alex Dupre
416ebd1cc4 Symlink vulnerability fixed.
Submitted by:	simon
Obtained from:	MySQL BitKeeper Repository
2005-01-16 22:45:48 +00:00
Alex Dupre
b78a15da8e Update to 4.1.9 release. 2005-01-16 10:24:46 +00:00
Alex Dupre
b877291619 - Make it compilable with old gcc [1]
- Fix plist

PR:		ports/76054
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-01-10 15:33:27 +00:00
Alex Dupre
7eb967e043 Extend allowed linuxthreads shlib versions. 2005-01-10 14:13:52 +00:00
Alex Dupre
00b5c9dce1 Move pre-configure in the common part.
Spotted by:	Maxim Maximov <mcsi@mcsi.pp.ru>
2005-01-10 13:40:21 +00:00
Alex Dupre
093e587d1f Conditionally remove include/mysql. 2005-01-10 13:24:01 +00:00
Alex Dupre
c2acaba6e3 Correct comment typo.
PR:		ports/76050
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-01-10 13:22:45 +00:00
Alex Dupre
7f462571a7 Update to 4.1.8a release [1][2]:
- Use MASTER_SITES_MYSQL
- Add WITHOUT_INNODB knob [3]
- Fix tcp wrappers (hopefully definitely!)
- Add WITH_NDB knob

PR:		ports/75556 [1], ports/75565 [2]
Submitted by:	Sergey Prikhodko <sergey@network-asp.biz> [1],
		Marcus Grando <marcus@corp.grupos.com.br> [2],
		sobomax [3]
2005-01-10 08:53:10 +00:00
Alex Dupre
9412503150 Fix p5-File-Temp dependency (not required for perl 5.8.x).
Spotted by:	cdine <cdine@cdine.org>
2004-12-15 10:04:32 +00:00
Alex Dupre
4883ade7de Add p5-File-Temp dependency to mysql-scripts.
Required to run mysqlhotcopy.

PR:		ports/72095
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-12-01 10:42:29 +00:00
Alex Dupre
4cd2b1e06b Fix docs installation.
Submitted by:	Dan Nelson <dnelson@allantgroup.com>
2004-11-15 22:33:56 +00:00
Alex Dupre
20b7810c37 Update to 4.1.7 release. This is the first 4.1 production release. 2004-10-27 20:36:20 +00:00
Alex Dupre
1ddceb7e1d Update to 4.1.6 release:
- convert startup script to rcNG [1]

PR:		ports/69273 [1]
Submitted by:	andreas [1]
2004-10-19 14:14:07 +00:00
Alex Dupre
41b555d7e9 Fix build on FreeBSD 4.X.
PR:		ports/71352
Submitted by:	Douglas Thrift <douglas@douglasthrift.net>
Approved by:	portmgr (marcus)
2004-09-24 16:20:02 +00:00
Alex Dupre
5a1e6a8f8f Update to 4.1.15 release:
- Fix a buffer overflow in prepared statements API
- Fix bug in remote connections caused by libwrap [1]

Patch by:       peadar [1]
Approved by:    portmgr (marcus)
2004-09-22 22:22:32 +00:00
Alex Dupre
f2bc67e5ae Update to 4.1.4 release (before port freeze ;-)) 2004-09-02 21:27:54 +00:00
Alex Dupre
070cb2804d Fix compilation of ndb with gcc 3.4.
Obtained from:	MySQL BitKeeper Repository
2004-07-27 08:25:17 +00:00
Alex Dupre
a26918e4b7 Update to 4.1.3 release:
- switch to use libtool 1.5

Add ndbcluster, the new high-performance and high-reliable storage engine
used in MySQL Cluster:
- experimental: no docs, no examples, no startup scripts
- to setup it see the administration guide at:
  http://gd.tuwien.ac.at/db/mysql/Downloads/Manual/mysql-cluster-admin.pdf
2004-07-05 10:16:55 +00:00
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