Commit graph

320 commits

Author SHA1 Message Date
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
Alex Dupre
16c0520e22 Fix mysql default db installation.
Noticed by:	many
2004-03-08 08:58:24 +00:00
Alex Dupre
5d1fb7d1f7 Fix building without perl.
Reported by:	bento via kris
2004-03-05 15:07:17 +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
Tilman Keskinoz
1b7d598e61 Correct configure patch
PR:		51342
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-05-19 14:45:25 +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
1ab754e246 make USE_LIBTOOL actually working
Submitted by:	sobomax
2002-12-16 19:33:58 +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