Commit graph

235 commits

Author SHA1 Message Date
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
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
a9851b4910 o Update to 4.0.17.
o Make portlint clean.

PR:		ports/60321
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-12-17 10:52:54 +00:00
Norikatsu Shigemura
309803d690 Move CXXFLAGS out of BUILD_OPTIMIZED section, since they
are always recommended.

PR:		ports/58509
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-10-25 15:26:11 +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
Norikatsu Shigemura
2cc3a15dc3 o Update to 4.0.16 release.
o Various little fixes.
o Change behaviour of BUILD_OPTIMIZED.

PR:		ports/58377
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-10-23 14:36:10 +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
Peter Pentchev
7b468b28fa Update to MySQL 4.0.15 to fix the password denial-of-service problem.
Check for OVERWRITE_DB="no" in addition to just the test for its presence.

PR:		56703
Submitted by:	maintainer
Approved by:	security-officer (nectar)
2003-09-23 14:34:18 +00:00
Daichi GOTO
052af9f093 update databases/mysql40-server: 4.0.13 -> 4.0.14
PR:		54780
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-07-24 05:32:37 +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
b2948f1f41 Update to 4.0.13.
PR:		ports/52440
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-05-21 17:52:32 +00:00
Tilman Keskinoz
8634ce1593 Correct configure patch
PR:		51342
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-05-19 14:06:30 +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