Commit Graph

148 Commits

Author SHA1 Message Date
Dirk Froemberg
d6aab0b08b Remove stale information. 2000-09-24 21:27:48 +00:00
Dirk Froemberg
d9b01d7c92 - "@exec killall mysqld" should read "@unexec killall mysqld"...
- introduce MYSQL_VERSION in PLIST and PLIST_SUB
2000-09-24 21:07:50 +00:00
Dirk Froemberg
6feb9421df Set INSTALLS_SHLIB (instead of calling ldconfig). 2000-09-23 18:57:11 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Dirk Froemberg
0cd9c6aaf6 Remove -Werror from configure script. This caused incorrect results
if -Wall was in CFLAGS. Thus mysql didn't build.

Reported, analyzed and tested by:	deischen
2000-05-03 11:33:14 +00:00
Michael Haro
baefc72969 portlint and add SLAVEDIRS variable 2000-04-20 04:44:30 +00:00
Akinori MUSHA
74dd526e72 Remove obsolete `Version required' lines. 2000-04-14 17:44:00 +00:00
Satoshi Asami
2af857df77 Convert to PORTNAME/PORTVERSION. 2000-04-13 06:40:05 +00:00
Dirk Froemberg
b96340db55 - move startup file from Makefile to files/mysql-server.sh
- check for start/stop arguments in startup file
- don't rip off --force option from mysql_install_db
2000-04-02 22:15:13 +00:00
Dirk Froemberg
82d2d592bc Fix URL. 2000-03-26 21:38:19 +00:00
Dirk Froemberg
56977a1792 Fix build error!
Submitted by:	Dirk-Willem van Gulik <dirkx@webweaving.org>
2000-02-21 20:48:28 +00:00
Steve Price
74d5f5aa90 With a minor little tweak this now builds on the Alpha. 2000-02-20 20:53:58 +00:00
Dirk Froemberg
0243dee69b Upgrade to 3.22.32.
This upgrade contains fixes for security problems. So everyone
is strongly encouraged to upgrade.
2000-02-15 10:11:24 +00:00
Dirk Froemberg
6e2a3427cf Upgrade to 3.22.30. 2000-01-25 14:34:38 +00:00
Dirk Froemberg
5358b2cfcb Put mysql.grant.patch on www.freebsd.org, too. Some users seem to have
problems fetching it from the german site.

PR:		ports/16172
2000-01-18 14:24:13 +00:00
Dirk Froemberg
7680ba12a8 Add a patch for fixing a serious bug in MySQL password handling.
See
http://www.securityfocus.com/templates/archive.pike?list=1&date=2000-01-08&msg=Pine.GSO.4.10.10001111730040.11035-100000@palver.dtek.chalmers.se
for details.

Everyone is strongly encouraged to upgrade.

Submitted by:	Spidey <beaupran@iro.umontreal.ca>
2000-01-12 23:47:47 +00:00
Dirk Froemberg
c73aca2ef0 - upgrade to 3.22.29
- add -O0 for compiling sql/sql_yacc.cc. Otherwise gcc eats a lot of
  memory and cpu time. It seems to be a gcc compiler bug in conjunction
  with -O.
2000-01-05 21:03:03 +00:00
Tim Vanderhoek
8cd82c0318 General comment cleanups. 1999-12-28 16:30:10 +00:00
Dirk Froemberg
95328a4ca9 Use stripped hostname via hostname -s in various scripts, to make them
consistent with mysqld and other OS.

Reported by:	Clive Lin <clive@CirX.ORG>
1999-11-27 11:42:44 +00:00
Dirk Froemberg
738ee56574 Upgrade to 3.22.27. 1999-10-18 08:31:46 +00:00
Dirk Froemberg
d480afe56a Remove stale MASTER_SITE. 1999-09-21 18:54:00 +00:00
Dirk Froemberg
ca7f72dba1 - upgrade to 3.22.26a
- use --enable-assembler for ${ARCH}==i386

  Requested by:	Martin Nilsson <martin@filex.se>

  There is an annoying bug in gcc 2.7.2.*: If -pipe is used for .s files,
  gcc will "hang" forever, because the assembler is called with '-' and
  noone is sending data.
  As a workaround use .S (capital s) files. Then cpp will be called prior
  to as and thus a pipe can be build.
1999-09-17 19:51:56 +00:00
Dirk Froemberg
086e8241d0 - If ${OSVERSION} >= 320000 then use native threads (libc_r) by default.
Set MIT_PTHREADS to use the supplied mit-pthreads.
  This is a workaround for PR ports/12824.

- replace one occurance of gcc with ${CC}

- don't use CFLAGS twice somewhere in mit-pthreads compilation
  (There is still one place left where CFLAGS are used twice.)
1999-09-04 10:47:48 +00:00
Dirk Froemberg
49903fe81a Upgrade to 3.22.25.
This upgrade contains - as far as I can see - no functional change
in regard to the port. But I'm tired of receiving requests or patches
for an upgrade. People are focused on version numbers too much. *sigh* ;-)
1999-08-27 09:20:17 +00:00
David E. O'Brien
c751fc667a Change Id->FreeBSD. 1999-08-25 05:28:01 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Chris Piazza
9e7ce73342 Spelling correction: to -> too.
Submitted by:	Kelly Yancey <kbyanc@posi.net>
1999-08-20 03:35:12 +00:00
Dirk Froemberg
e1d84112f9 - introduce DB_DIR variable to specify database directory if
different from /var/db/mysql
  (e. g. make DB_DIR=/export/databases/mysql install)
- put functionality of check_old_version into Makefile and remove
  check_old_version (good bye, good old friend...)
1999-08-11 20:56:03 +00:00
Tim Vanderhoek
eb48f6f640 Re-enforce caps, no period. An "exceptions" file has been created
containing the ports editors/vim5, sysutils/star, and one other.
1999-08-02 16:55:21 +00:00
Dirk Froemberg
29b419345c Add two missing gifs. 1999-07-09 22:01:03 +00:00
Dirk Froemberg
9a12bc3253 Upgrade to 3.22.24. 1999-07-05 18:11:39 +00:00
Dirk Froemberg
f154bc0b9c - install gifs for HTML documentation
- put mysqld in a sandbox:
  - create user and group 'mysql' (uid and gid 88)
  - start mysqld with user 'mysql'
1999-07-04 14:55:14 +00:00
Dirk Froemberg
cfc2f82c24 Split mysql322 into mysql322-client and mysql322-server.
mysql322-client uses mysql322-server as a master port. So
all the magic is in mysql322-server.

mysql322-client must be used to add dependencies to, now.

Thanks to Dan Moschuk <dan@trinsec.com> for giving the initial
point.
1999-07-01 08:44:49 +00:00
Tim Vanderhoek
748713c3f6 As threatened, enforce the "Capital, no period" rule. Ellipses are
permitted.  Note that, given current numeric motif of PW, this is done
in four equally-sized commits of 393 files each.
1999-06-26 17:19:19 +00:00
Bill Fumerola
b141622715 Follow the bouncing digex MASTER_SITE. 1999-06-23 21:29:27 +00:00
Steve Price
c80dc06994 This doesn't build on the alpha yet, but should with a little work. 1999-06-22 17:01:39 +00:00
Dirk Froemberg
305d679564 Upgrade to 3.22.23b. 1999-06-08 10:11:17 +00:00
Michael Haro
5ce8e8e5c7 Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
1999-06-05 22:32:11 +00:00
Michael Haro
3aa77171e7 Switch from GNU_CONFIGURE to USE_LIBTOOL with port so that it won't install
the .la file.
1999-06-05 19:00:43 +00:00
Peter Wemm
cba959e3ee Update version in comments.. 1999-05-25 06:47:33 +00:00
Dirk Froemberg
acdcdf0b47 Upgrade to 3.22.22. 1999-05-02 11:11:03 +00:00
Dirk Froemberg
1fb84296f5 /sbin/ldconfig -> ${LDCONFIG}
Found by:	portlint
Reminded by:	asami
1999-04-18 10:47:03 +00:00
Marc G. Fournier
9eccb6831e Move WWW_SITE to pkg/DESCR:WWW from Makefile 1999-04-14 00:03:19 +00:00
Dirk Froemberg
4e40e94cc8 - upgrade to 3.22.21
- pass ${CONFIGURE_ARGS} to mit-pthreads configure
1999-04-06 22:28:44 +00:00
Dirk Froemberg
688a6fdbed Forgot to commit this one while upgrading to 3.22.20a. 1999-03-23 12:41:10 +00:00
Dirk Froemberg
703b1f296d Upgrade to 3.22.20a. 1999-03-22 23:43:43 +00:00
Marc G. Fournier
35401f79cd Commit all Y2K/WWW_SITE changes to Makefiles... 1999-03-11 20:33:50 +00:00
Dirk Froemberg
6bee0291a9 Upgrade to 3.22.19b. 1999-03-04 21:27:59 +00:00
Dirk Froemberg
8fd67f732a Use ${PERL} for substituting and not ${PERL5}. 1999-02-20 10:24:28 +00:00
Dirk Froemberg
a7e2f189bb Fix PLIST: version for libmysqlclient.so was bumped from 5(.2) to 6(.0). 1999-02-11 11:57:24 +00:00
Dirk Froemberg
d9f60a6eed Upgrade to 3.22.16a-gamma. 1999-02-08 17:41:32 +00:00
Dirk Froemberg
de0d39c4f7 Cleanups:
- don't pollute CFLAGS with extra optimizer flags
- remove part of patch-ac which forces -pthread instead of -lc_r
  (was included in the main distribution)
- don't name freebsd version in mit-pthreads/config/configure
  explicitly. settings work for 2.*, 3.* and 4.*.
1999-02-07 22:35:56 +00:00
Dirk Froemberg
096f6d34a8 Upgrade to 3.22.15-gamma. 1999-02-01 16:52:16 +00:00
Dirk Froemberg
cc143db881 Upgrade to 3.22.14b-gamma.
According to T.c.X DataKonsultAB this is the recommended version now.
So remove NO_LATEST_LINK (and set it for mysql321).
1999-01-05 23:43:28 +00:00
Dirk Froemberg
747178be68 Upgrade to 3.22.13-beta. 1998-12-24 01:14:13 +00:00
David E. O'Brien
7548d83426 BROKEN='fetch -- 3.22.13-beta is the current distfile' 1998-12-23 19:36:43 +00:00
Dirk Froemberg
11a329e5b3 Upgrade to 3.22.11-beta.
Submitted by:	Alec Wolman <wolman@cs.washington.edu>
1998-12-22 18:01:44 +00:00
Bill Fumerola
54a33a1c80 Fix typo in MASTER_SITES. 1998-12-11 23:37:16 +00:00
Bill Fumerola
5e99d8a3cf Update MASTER_SITES. 1998-12-11 23:33:47 +00:00
Satoshi Asami
e3f53a8e89 Don't try to be too fancy about using ps to find its flags, it breaks
chrooted builds.  Don't start mysql automatically if PACKAGE_BUILDING
is defined.

Submitted by:	maintainer
1998-12-01 02:56:08 +00:00
Satoshi Asami
f234e86fe3 Add shlib minor != 0. 1998-11-24 03:38:16 +00:00
Steve Price
04248aec43 Update to version 3.22.10-beta.
PR:		8701
Submitted by:	maintainer
1998-11-21 20:13:52 +00:00
Satoshi Asami
dbc8aa6cc1 Use bsd.port.{pre,post}.mk. Either use them to avoid having to define
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.

(This is not by any means the complete list but just the ones I've noticed
recently.)
1998-11-11 05:37:39 +00:00
Peter Hawkins
9d7c8151af Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
- Upgrade to mysql-3.22.9-beta
- fix build under ELF
1998-10-22 07:47:41 +00:00
Satoshi Asami
54c57c6d28 Mark this MANUAL_PACKAGE_BUILD -- it seems to install headers that conflict
with mysql321.  (sigh)
1998-10-08 01:20:26 +00:00
Justin M. Seger
a271f9a0c3 Mark BROKEN for ELF. 1998-10-01 11:29:51 +00:00
Satoshi Asami
668e0f51f4 Use ${PERL5} wherever appropriate. Largely untested; hope my eyeball
checks haven't missed anything.

Submitted by:	dima
1998-09-15 21:31:59 +00:00
Andreas Klemm
b78ea479a5 link with -pthread = -nostdlib und -lc_r
not only using -lc_r what would result in linking in libc and libc_r
Submitted by:	Dirk Froemberg <ibex@physik.TU-Berlin.DE>
Obtained from:	John Birrell
1998-09-13 17:23:33 +00:00
Andreas Klemm
f92e4169b8 This is the latest mysql version.
In the future we have to mysql ports, a stable one and a developer version.
Under FreeBSD-current this port supports threads ...
1998-09-06 19:58:26 +00:00
Andreas Klemm
8bff0c5071 Dirk Froemberg <ibex@physik.TU-Berlin.DE> is the new maintainer,
agreed by Josh Tiefenbach <josh@ican.net>, thanks Josh for your
previous work on this port.
Port is no more broken. Requested by new maintainer and tested by
me with a -current system.
1998-09-01 20:27:19 +00:00
Peter Hawkins
32cdc631bd the install.db script should be run from within ${WORKSRC} 1998-09-01 15:27:36 +00:00
Satoshi Asami
7cd6f24734 /bin/cp /usr/ports/databases/mysql/work/mysql-3.21.33/data/mysql/*.frm /usr/local/share/mysql/mysql
/usr/ports/databases/mysql/work/mysql-3.21.33/scripts/mysql_install_db
Didn't find the 'data' directory in the current directory
You should be in the distribution directory when executing this script
Please go to the directory where you unpacked this distribution
and start this script with 'scripts/mysql_install_db'
*** Error code 1
1998-08-20 13:29:17 +00:00
Tim Vanderhoek
878a2c2268 Long live feminism! No manpages! Nyah-hah-hah! 1998-08-17 08:32:00 +00:00
Peter Hawkins
a15ff8a4d0 upgrade to 3.21.33 1998-08-14 12:05:42 +00:00
Satoshi Asami
300c0a3a28 Change "@exec [ ! foo ] && bar" to "@exec [ foo ] || bar" so there
won't be any spurious warning messages when the command bar isn't run.
1998-06-05 07:51:03 +00:00
Justin M. Seger
ed24882315 Upgrade to mysql-3.21.29-gamma.
PR:             6322
Submitted by:   ibex@physik.TU-Berlin.DE
1998-04-29 01:10:02 +00:00
Steve Price
e8454f3188 Remove BROKEN tag as this now packages. 1998-03-29 01:31:41 +00:00
Steve Price
a593633aa6 I don't quite understand how I got all these files to
install the first time, but they don't install anymore so
remove them from the PLIST.

Found by:	Satoshi Asami
1998-03-29 01:30:15 +00:00
Satoshi Asami
e34037ebdd Mark this port broken, doesn't package. 1998-03-28 18:50:58 +00:00
Steve Price
ee9d82123f Update to version 3.21.26gamma.
PR:		6075
Submitted by:	Dirk Froemberg <ibex@physik.TU-Berlin.DE>
1998-03-28 14:43:39 +00:00
Steve Price
40d8652613 Upgrade to version 3.21.25g-gamma.
PR:		5983
Submitted by:	Dirk Foremberg <ibex@physik.TU-Berlin.DE>
1998-03-16 02:46:42 +00:00
Steve Price
759f03cceb Create the /var/db/mysql/* files in the package'd version of
this port.  Also sort pkg/PLIST and some minor portlint mods.

PR:		5014
1998-02-23 02:55:34 +00:00
James FitzGibbon
a8515c9fe5 Update to v3.21.21a-beta
Submitted by:	Josh Tiefenbach <josh@ican.net>
1998-01-26 18:24:43 +00:00
Satoshi Asami
0a8e056e58 Define PKGNAME, "beta" not allowed here. 1998-01-13 04:48:26 +00:00
James FitzGibbon
96b85ccd44 Upgrade to v3.21.19
Submitted by: Josh Tiefenbach <josh@ican.net>
1998-01-06 16:18:51 +00:00
Satoshi Asami
823b320960 Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around
in that case.
1997-12-04 11:44:52 +00:00
Justin M. Seger
7e2ee40a89 Remove bad MASTER_SITES, portlint. 1997-11-26 23:35:27 +00:00
James FitzGibbon
69e5fc4f6f Fix Makefile to reference perl 5.004_04
Submitted by:	axl@iafrica.com
1997-11-18 19:05:12 +00:00
James FitzGibbon
24a5035b30 Upgrade to v3.20.32a
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-10-29 14:43:35 +00:00
James FitzGibbon
e999c3c131 Upgrade to v3.20.31e (could have sworn we just did something like this...)
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-10-09 19:51:53 +00:00
James FitzGibbon
6a456e55fd Upgrade to v3.20.31d
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-10-09 15:52:00 +00:00
James FitzGibbon
d1453d6313 Upgrade v3.20.31b
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-10-08 20:08:30 +00:00
James FitzGibbon
4f057f3d22 Upgrade to v3.20.30b
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-09-27 02:30:17 +00:00
James FitzGibbon
cfce11ac0b Upgrade to v3.20.29
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-09-17 13:28:51 +00:00
James FitzGibbon
444d298e53 Upgrade to v3.20.25
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-09-05 20:23:13 +00:00
Satoshi Asami
dc5ea736c7 Update name of perl executable in dependencies to "perl5.00401".
Use USE_PERL5 when appropriate (i.e., defined in both BUILD_DEPENDS
and RUN_DEPENDS).
1997-07-18 05:04:20 +00:00
James FitzGibbon
2e3d58f7b0 Add patch to make this compile on -current
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-07-02 21:33:45 +00:00
James FitzGibbon
6a10d52817 Import of MySQL, a mutlithreaded SQL database server
Submitted by:	Josh Tiefenbach <josh@ican.net>
1997-06-18 19:35:30 +00:00