Commit graph

352 commits

Author SHA1 Message Date
Alex Dupre
70f8ddb44f Allow custom pidfile. 2010-12-27 18:01:03 +00:00
Alex Dupre
d9029c5139 Update MySQL to 5.5.8 GA release. Read UPDATING.
Major changes:
- new installation layout, resembling RPM packages:
  - client = Client Utilities + Development Libraries + Shared components
  - server = MySQL Server + Embedded
- new build system: cmake instead of autotools
- fewer port knobs

Expect various breakages, but if we are lucky this could become the new default
mysql port.
2010-12-27 15:02:38 +00:00
Alex Dupre
b5e3d79bde Allow to enable userland dtrace only on supported FreeBSD versions.
PR:		ports/152590
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
2010-11-26 09:35:56 +00:00
Pav Lucistnik
c2c6dd75a0 - Mark BROKEN on 6.X: does not build
Reported by:	pointyhat
2010-11-19 22:28:39 +00:00
Alex Dupre
1c5b6af38c Update to 5.5.7-rc release.
Fix crash caused by MAX_DEFAULT_DIRS too small [1]

PR:		ports/151927
Submitted by:	Bartosz Fabianowski <freebsd@chillt.de>
2010-11-10 16:55:08 +00:00
Alex Dupre
569dca908a Switch to use daemon(8) in rc script to avoid keeping a tty open.
Submitted by:	koitsu, ed
2010-09-30 09:10:49 +00:00
Alex Dupre
ac053c9ed0 - Update to 5.5.6 RC release [1]
- Add support for DTrace [2]

PR:		ports/150915 [1], ports/150488 [2]
Submitted by:	Oleg Sidorkin <osidorkin@gmail.com> [1], rpaulo [2]
2010-09-28 10:09:21 +00:00
Alex Dupre
31da751ef4 Really fix includes. 2010-07-27 15:10:54 +00:00
Alex Dupre
1f706238c5 Update to 5.5.5-m3 release:
- fix include layout [1]
- drop obsolete WITH_NDB knob

PR:		ports/146276 [1]
Submitted by:	pgollucci
2010-07-16 10:24:46 +00:00
Alex Dupre
3bae06fc05 Fix build/install when cmake is installed.
PR:		ports/145774
Submitted by:	Gerard Seibert <gerard@seibercom.net>
2010-04-18 09:20:10 +00:00
Alex Dupre
72629ab968 Update to 5.5.4-m3 release. 2010-04-16 09:18:51 +00:00
Alex Dupre
88a770e5fe - Update to 5.5.3-m3 release
- Switch to use USERS and GROUPS [1]

PR:		ports/144887 [1]
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk> [1]
2010-04-13 15:12:34 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Alex Dupre
618197dd0d Update to 5.5.2 release.
Feature safe:	yes
2010-03-05 11:43:04 +00:00
Alex Dupre
0771132bce Update to 5.5.1-m2 release. 2010-01-15 12:14:22 +00:00
Alex Dupre
02deaaf2a7 As announced, remove MySQL 6.0 (dead development branch) and update CONFLICTS. 2010-01-11 11:58:42 +00:00
Alex Dupre
92b5a6ed5e Update to 5.5.0 Milestone 2 release.
PR:		ports/142162
Submitted by:	ale
2010-01-04 10:10:33 +00:00
Alex Dupre
f7667e2154 Update to 5.4.3 release (see UPDATING). 2009-10-18 10:22:03 +00:00
Alex Dupre
0276c8f596 Update to 5.4.2 release.
Feature safe:	yes
2009-09-24 15:36:20 +00:00
Alex Dupre
57cc4a6e6d Fix build when perl is not installed.
Reported by:	pointyhat
2009-07-23 13:04:08 +00:00
Alex Dupre
68fc560349 Fix --enable-dtrace logic and use bundled libtool.
Reported by:	many
2009-07-22 12:16:57 +00:00
Alex Dupre
6da08f8296 Add MySQL 5.4.1-beta.
Beware: it needs a lot of memory in default configuration for InnoDB.

Repocopy by:	marcus
2009-07-21 08:07:28 +00:00
Alex Dupre
9a216ce0bb Update to 5.1.35 release and install additional manpages. 2009-06-08 06:49:58 +00:00
Alex Dupre
3969a8b320 Update to 5.1.34 release. 2009-04-23 07:09:13 +00:00
Alex Dupre
7bd0b24591 Update to 5.1.33 release. 2009-04-01 08:50:54 +00:00
Martin Matuska
2478af75fd - Mark MAKE_JOBS_SAFE for SMP compilation
PR:		ports/132965
Approved by:	ale (maintainer, private e-mail)
2009-03-25 12:57:46 +00:00
Alex Dupre
e2eb67cc32 Update to 5.1.32 release. 2009-03-04 07:50:02 +00:00
Alex Dupre
2920056f61 Update to 5.1.31 and add mysqld embedded server library. 2009-03-03 16:35:52 +00:00
Mark Linimon
cbfb36bb87 Move the USE_PERL5 definition for the scripts slave ports from the master
to the slave port, to move it before the inclusion of bsd.port.pre.mk.

Approved by:	maintainer
2009-01-16 22:41:06 +00:00
Alex Dupre
227612a39b Update to 5.1.30 Generaly Available release. 2008-12-07 23:03:58 +00:00
Alex Dupre
6d4ed3627c Accept all linuxthreads library major versions. 2008-11-17 09:28:40 +00:00
Alex Dupre
4f6f936f4b Update to 5.1.29 release. 2008-10-31 07:58:03 +00:00
Alex Dupre
c7d5687bb9 - Fix client input validation vulnerability
- Fix my.cnf search path
2008-10-10 18:35:13 +00:00
Alex Dupre
a4b9511333 Update to 5.1.28-rc release. 2008-09-23 05:43:45 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Alex Dupre
71e1e1936f Make startup script ssh-friendly.
PR:		ports/81915
Submitted by:	David Marshall <marshall@chezmarshall.com>
2008-07-30 06:11:16 +00:00
Alex Dupre
2c7da133d6 Update CONFLICTS and remove duplicated USE_PERL5. 2008-07-26 08:36:54 +00:00
Alex Dupre
7def302047 Add support for --with-fast-mutexes.
PR:		ports/125616
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
2008-07-15 13:40:53 +00:00
Alex Dupre
5f988d035b Update to 5.1.26 release. 2008-07-13 09:00:48 +00:00
Alex Dupre
acd00046b3 Update to 5.1.25-rc release.
Fix startup script to wait until server is completely up. [1]

PR:		ports/122063 [1]
Submitted by:	Christopher Sean Hilton <chris@vindaloo.com> [1]
2008-06-07 08:33:50 +00:00
Alex Dupre
5b1e54fcd9 Fix plist and bump PORTREVISION. 2008-04-23 05:49:10 +00:00
Alex Dupre
488c2c63cc - Update to 5.1.24 release
- Fix my.cnf search path [1]

PR:		ports/121900 [1]
Submitted by:	Yarema <yds@CoolRat.org> [1]
2008-04-21 20:34:32 +00:00
Alex Dupre
0246067549 Update to 5.1.23 release. 2008-02-14 10:49:46 +00:00
Alex Dupre
6ca542df3c Update to 5.1.22 RC release. 2007-10-08 08:57:59 +00:00
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
5afd401817 Fix compilation with gcc4.2, by moving down mix/max definitions.
Submitted by:	Huang wen hui <hwh@gddsn.org.cn>
2007-07-02 06:10:16 +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
f27d84df7c Fix pkg-plist. 2006-05-22 19:36:47 +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
Edwin Groothuis
913a5a5cba Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 01:29:46 +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
416ebd1cc4 Symlink vulnerability fixed.
Submitted by:	simon
Obtained from:	MySQL BitKeeper Repository
2005-01-16 22:45:48 +00:00
Alex Dupre
e87c84f2d1 - Make it compilable with old gcc [1]
- Fix plist

PR:		ports/76054
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2005-01-10 16:25:13 +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