Commit graph

251 commits

Author SHA1 Message Date
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +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
02deaaf2a7 As announced, remove MySQL 6.0 (dead development branch) and update CONFLICTS. 2010-01-11 11:58:42 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Martin Matuska
68c9190378 - Mark MAKE_JOBS_SAFE for SMP compilation
Approved by:	ale (maintainer, private e-mail)
2009-03-25 14:04:40 +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
6d4ed3627c Accept all linuxthreads library major versions. 2008-11-17 09:28:40 +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
ae9a2433f4 Re-enable build on FreeBSD >= 7, using gcc 3.4, since someone
still prefers this EOL release.

PR:		ports/124102
Submitted by:	Tom Evans <tevans.uk@googlemail.com>
2008-06-05 07:55:04 +00:00
Alex Dupre
8d4a6779a9 Begin planning for de-orbit burn. This does not build with gcc4.2, and
the correct fix is to update to a modern version of MySQL.

While here, rip out obsolete 4.X cruft.
2007-09-16 15:07:30 +00:00
Alex Dupre
59247929fb Fix previouos commit. 2007-04-18 06:20:39 +00:00
Alex Dupre
19f6aeb87e Use the new @stopdaemon feature. 2007-04-18 05:58:40 +00:00
Alex Dupre
aeea5e77c6 Fix dependencies. 2007-01-20 09:22:58 +00:00
Alex Dupre
fcfd4c734b Remove the temporary hack to use the new USE_LDCONFIG feature. 2006-06-22 10:23:04 +00:00
Marcus Alves Grando
2d105f63ee - Update to 4.0.27
PR:		97502
Approved by:	maintainer timeout (security bypass by mnag with secteam hat)
Security:	CVE-2006-1516, CVE-2006-1517
2006-05-21 03:18:03 +00:00
Edwin Groothuis
2406d49a61 Remove USE_REINPLACE from all categories starting with D 2006-05-04 21:41:12 +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
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +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
3f7751a86f Convert mysql-client.sh to rcNG. 2006-01-12 08:57:43 +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
8771b9a711 Update to 4.0.26 release. 2005-09-13 06:34:16 +00:00
Alex Dupre
6f747fb1e5 Update to 4.0.25 release. 2005-07-20 10:35:41 +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
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
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
8f5148b801 Remove obsolate knob description. 2005-03-15 12:08:00 +00:00
Alex Dupre
6b308dae47 Update to 4.0.24 release:
- Fix potential security vulnerabilities in the creation of temporary
  table file names and the handling of User Defined Functions (UDFs)
- Add the possibility to specify the database directory in rc.conf
- Move database creation from post-install stage into startup script
2005-03-14 10:52:45 +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
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
306fbb5998 Share post-extract target with all three subports.
Spotted by:	Jose Alonso Cardenas Marquez <acardenas@bsdperu.org>
2005-01-09 22:05:23 +00:00
Alex Dupre
1e5de7912b Update to 4.0.23a release [1]:
- Use MASTER_SITES_MYSQL
- Add WITHOUT_INNODB knob [2]
- Fix tcp wrappers (hopefully definitely!)

PR:		ports/75598 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br> [1],
		sobomax [2]
2005-01-09 13:20:47 +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
b6bdb8fc48 Update to 4.0.22 release:
- Switch to rcNG startup script
2004-10-31 10:43:07 +00:00
Alex Dupre
1a10f13b7c Update to 4.0.21 release:
- Fix mysqlhotcopy insecure temporary file creation
- Fix bug in remote connections caused by libwrap [1]

PR:		ports/70889 [1]
Submitted by:	Andreas Haakh <andreas.haakh@ib-haakh.de> [1]
Patch by:	peadar [1]
Approved by:	portmgr (marcus)
2004-09-21 21:09:31 +00:00
Alex Dupre
5286e6eabb - Update to 4.0.20 release
- Add experimental WITH_PROC_SCOPE_PTH knob to use process scope
  threads instead of system scope threads with libpthread
2004-05-18 10:59:11 +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
e5ba38231e Fix a never-catched bug in mysql_install_db script.
Now the SKIP_DNS_CHECK knob is pointless.
2004-03-12 10:27:34 +00:00
Alex Dupre
6373c41ece Move mysql.info installation in do-install stage. 2004-02-29 10:50:27 +00:00
Alex Dupre
2ee4f166cf Remove lib/mysql directory, if empty. 2004-02-29 08:47:07 +00:00
Alex Dupre
4262d1bd88 Fix plist (remove not installed man page). 2004-02-28 23:55:31 +00:00
Alex Dupre
6bfba5744c - get rid of perl dependency [1]
- enhance man pages and scripts installation
- move additional scripts in mysql-scripts port

Requested by:	many [1]
2004-02-23 15:30:07 +00:00
Alex Dupre
9e2ef1677b Update to 4.0.18 release.
Approved by:	nork (mentor/implicitly)
2004-02-13 10:42:57 +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