Commit graph

196 commits

Author SHA1 Message Date
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
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
2c7da133d6 Update CONFLICTS and remove duplicated USE_PERL5. 2008-07-26 08:36:54 +00:00
Mark Linimon
3166c1b9e4 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.

Hat:		portmgr
Approved by:	maintainer
2007-07-24 11:30:28 +00:00
Alex Dupre
848aeefbc5 Fix for WITH_PROC_SCOPE_PTH=yes.
PR:		ports/102899
Submitted by:	Alex <garcol@postino.it>
2006-09-09 07:45:04 +00:00
Alex Dupre
fcfd4c734b Remove the temporary hack to use the new USE_LDCONFIG feature. 2006-06-22 10:23:04 +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
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
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
57d43c0887 Update to 3.23.59 snapshot:
- Switch to rcNG
- Add the possibility to specify the database directory in rc.conf
- Move database creation from post-install stage into startup script
2005-03-15 14:17:25 +00:00
Alex Dupre
ef69cdc1a9 - Use MASTER_SITES_MYSQL
- Add WITHOUT_INNODB knob [1]
- Fix tcp wrappers (hopefully definitely!)
- Extend allowed linuxthreads shlib versions

Submitted by:	sobomax [1]
2005-01-10 14:44:25 +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
b34e1466b9 - Fix mysqlhotdump vulnerability
- Fix plist (don't install .la files)
- Add optional knob WITH_PROC_SCOPE_PTH

Approved by:	portmgr (marcus)
2004-09-24 16:18:12 +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
e739665f93 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 12:38:32 +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
c9989eb4c4 - Completely restructure the port to follow other mysql* ports
(too many improvements to be listed here)
- Correctly support PTHREAD_LIBS/CFLAGS
- Use USE_GNOME=lthack
- Propagate DB_DIR in package [1]
- Use my @FreeBSD.org email address
- Bump PORTREVISION

PR:		ports/24749 [1]
Submitted by:	Tom Pavel <pavel@networkphysics.com> [1]
Approved by:	nork (mentor/implicitly)
2004-01-17 12:47:02 +00:00
Mark Linimon
cc748244df In a followup to ports/60559, Alex admitted to being the maintainer of all
the other mysql-(server|client) ports, and thus found himself volunteered
for this one as well.  Of course, it may well be that he didn't run away
fast enough ... or that this release is probably the last in the 3.x series.
2003-12-27 07:04:07 +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
Max Khon
e020c01a30 Use INFO. 2003-11-14 14:13:16 +00:00
Trevor Johnson
e99ceadaf6 Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 14:45:08 +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
Edwin Groothuis
b2e928c70c Update port: databases/mysql323-server
- ECHO -> ECHO_MSG
	- pre-fetch -> pre-everything

PR:		ports/56775
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-09-27 00:05:33 +00:00
Martin Blapp
ced2bcb792 Security update to 3.23.58.
Fixed buffer overflow in password handling which could potentially
be exploited by MySQL users with ALTER privilege on the mysql.user
table to execute random code or to gain shell access with the UID
of the mysqld process.

The complete changelog can be found at:
http://www.mysql.com/doc/en/News-3.23.58.html

Approved by:	marcus (portsmgr)
2003-09-19 14:47:59 +00:00
Joe Marcus Clarke
9b28c15608 With my portmgr hat on, apply a fix discussed on current@ to fix the
build on -CURRENT.  Also, reset maintainer to ports@ since dirk@ has been
inactive since 2003-02-06.
2003-08-29 17:29:06 +00:00
Norikatsu Shigemura
8b56498765 Update to 3.23.57.
PR:		ports/53982
Submitted by:	Xin LI <delphij@freebsdchina.org>
2003-07-10 09:39:54 +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
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
Martin Blapp
5989e13435 Upgrade to 3.23.56.
Maintainer timeout. I successfully run this package
on ~ 10 servers since Mar 19.
2003-03-26 22:17:59 +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
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