Commit graph

275 commits

Author SHA1 Message Date
Alex Dupre
493779bf8b Update to 5.1.21 release. 2007-08-28 09:33:41 +00:00
Alex Dupre
b736078c7c Update to 5.1.20 release. 2007-07-05 13:32:09 +00:00
Alex Dupre
01331bd91c Update to 5.1.19 release. 2007-06-01 09:24:31 +00:00
Alex Dupre
c1d34f294d Update to 5.1.18 release and drop support for FreeBSD < 5.
Approved by:	portmgr (linimon)
2007-05-20 08:31:37 +00:00
Alex Dupre
f51ea84c17 Update to 5.1.17 release. 2007-04-19 08:58:29 +00:00
Alex Dupre
74cd81ec3b Update to 5.1.16 release. 2007-03-14 16:30:56 +00:00
Alex Dupre
8c875e3e44 Update to 5.1.15 release. 2007-02-04 09:32:18 +00:00
Alex Dupre
aeea5e77c6 Fix dependencies. 2007-01-20 09:22:58 +00:00
Alex Dupre
c856e33eb4 Update to 5.1.14-beta release. 2006-12-31 12:02:33 +00:00
Alex Dupre
1434656ad4 Update to 5.1.12 release. 2006-11-07 16:37:59 +00:00
Alex Dupre
1269507812 Fix patching with WITH_PROC_SCOPE_PTH=yes
PR:		ports/99384
Submitted by:	Kyryll A Minrnenko <mirya@matrix.ua>
2006-09-10 16:03:51 +00:00
Alex Dupre
fcfd4c734b Remove the temporary hack to use the new USE_LDCONFIG feature. 2006-06-22 10:23:04 +00:00
Alex Dupre
20dac73485 Update to 5.1.11 release:
- use recommended yaSSL library
- build as max-no-ndb or max profiles
2006-06-19 09:08:56 +00:00
Alex Dupre
076d936ef8 Update to 5.1.9 release. 2006-05-11 06:14:25 +00:00
Edwin Groothuis
2406d49a61 Remove USE_REINPLACE from all categories starting with D 2006-05-04 21:41:12 +00:00
Alex Dupre
de8cbc09e1 Update to 5.1.7 beta release:
- add mysql_upgrade script to update the databases from an earlier (even minor) release
2006-03-17 07:06:04 +00:00
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
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Alex Dupre
b10e49f920 Update to 5.1.6 release. 2006-02-15 21:22:14 +00:00
Alex Dupre
ed24876210 Initial import of MySQL 5.1 version.
This is an *alpha* release (5.1.5).
2006-02-05 10:08:40 +00:00
Alex Dupre
3330df43ed Add zlib to plist if FreeBSD < 5.0 2006-01-28 23:25:02 +00:00
Alex Dupre
2843e6c68e Fix build on 4.X (use included zlib on 4.X). 2006-01-11 07:16:20 +00:00
Alex Dupre
e11514bf08 Update to 5.0.18 release:
- convert mysql-client.sh script to use ldconfig rcNG system
2006-01-09 12:03:26 +00:00
Alex Dupre
8c03c07964 Update to 5.0.17 release. 2005-12-22 17:48:30 +00:00
Alex Dupre
871cef8037 Update to 5.0.16 release:
- add Federated Engine
2005-11-27 10:19:59 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Alex Dupre
cf8a1f328f Update to 5.0.15 release, the first Generally Available (GA) version! 2005-10-26 12:04:19 +00:00
Alex Dupre
eb71ce34a6 Update to 5.0.13 rc release:
- Add knob to enable Archive Storage Engine [1]

Submitted by:	Justin Bastedo <justin.bastedo@gmail.com> via grog [1]
2005-09-29 19:58:03 +00:00
Alex Dupre
c0397b5746 Update to 5.0.12 release.
PR:		ports/85665
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-09-07 12:04:35 +00:00
Alex Dupre
8b7028832b Update to 5.0.11 release.
PR:		ports/85403
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-08-28 18:46:42 +00:00
Alex Dupre
3b948fe118 Install some header files (like mysqld_error.h) with the client, as previous behaviour. 2005-07-23 07:34:04 +00:00
Alex Dupre
e24c4f01b7 Update to 5.0.9 release.
PR:		ports/83541
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-07-16 11:22:38 +00:00
Alex Dupre
02dfd9c007 Update to 5.0.7 release. 2005-06-18 14:06:09 +00:00
Alex Dupre
cee3a2fc9f Fix compilation on FreeBSD 4.X.
Submitted by:	many
2005-06-11 12:32:44 +00:00
Alex Dupre
aa16ee34f1 Update to 5.0.6 release. 2005-06-08 07:32:15 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
Alex Dupre
9fa3b2eaeb - 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)

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:31:05 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Alex Dupre
bd1e850d72 Update to 5.0.3 release:
- Add the possibility to specify the database directory in rc.conf
- Move database creation from post-install stage into startup script
- Add the possibility to specify additional command-line arguments
  to be passed to mysqld_safe on startup
2005-04-06 13:38:29 +00:00
Pav Lucistnik
3ba1f63eea - Add new knob to define default server collation
Requested by:	ale (maintainer)
2005-03-21 14:08:49 +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
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
4fc0b3222c Update to 5.0.2 release:
- Use MASTER_SITES_MYSQL
- Add WITHOUT_INNODB knob [1]
- Fix tcp wrappers (hopefully definitely!)
- Add WITH_NDB knob

Submitted by:	sobomax [1]
2005-01-10 13:17:30 +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
de3c556dbf Update to 5.0.1 (snapshot) release:
- Unmark FORBIDDEN
- Install a rcNG startup script
- Enable support for ndbcluster
- Add knob to use process scope threads
2004-10-24 21:28:03 +00:00
Jacques Vidrine
2cb4cb6c50 Mark FORBIDDEN due to serious, unpatched security vulnerability
documented for almost two months at
http://vuxml.freebsd.org/e5e2883d-ceb9-11d8-8898-000d6111a684.html
2004-10-21 21:30:07 +00:00
Alex Dupre
0ac896f1ce - Fix mysqlhotdump vulnerability
- Fix plist (don't install .la files)

Approved by:	portmgr (marcus)
2004-09-24 16:21:27 +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
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
74f3f85057 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 10:53:29 +00:00
Alex Dupre
8a1140ca5e Finally MySQL 5.0 appears in the ports tree!
PR:		ports/60559
Submitted by:	me
Approved by:	nork (mentor/implicitly)
2004-02-04 15:56:17 +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
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
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
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
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
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