Commit graph

215 commits

Author SHA1 Message Date
Dirk Froemberg
5f0e15e63a Upgrade to 3.23.52. 2002-10-21 09:04:51 +00:00
Dirk Froemberg
5095db8b9c Don't restrict InnoDB to i386. Works on alpha, too.
PR:		ports/42337
2002-09-03 21:31:38 +00:00
Dirk Froemberg
172ccca45e Upgrade to 3.23.52. 2002-08-19 13:27:52 +00:00
Dirk Froemberg
97b1019c82 - remove CXX=${CC} this doesn't work with -CURRENT ${CC} any longer.
- add patch to use correct prototypes for libwrap
2002-08-12 20:21:51 +00:00
Dirk Froemberg
74e69248fb Bump PORTREVISION after fixing startup script. 2002-08-07 19:58:25 +00:00
Dirk Froemberg
8dc8d99f09 Workaround revision 1.42 and 1.29.2.7 of src/bin/sh/parser.c.
Submitted by:	The Anarcat <anarcat@anarcat.ath.cx>
2002-08-07 19:51:47 +00:00
Dirk Froemberg
0ffe9c48ec Back out last commit. It was unapproved and inappropriate since it
breaks existing installations (very clever!).

An appropriate "fix" for this "problem" would be to look in both /etc
and ${PREFIX}/etc.
2002-08-07 19:48:40 +00:00
Anders Nordby
63f849a1c4 Look for my.cnf in ${PREFIX}/etc rather than /etc.
Silence by:	dirk
2002-06-30 21:06:00 +00:00
Dirk Froemberg
93ff340325 Upgrade to 3.23.51. 2002-06-20 14:47:47 +00:00
Dirk Froemberg
b5d01e2916 Upgrade to 3.23.49. 2002-02-19 11:16:44 +00:00
Dirk Froemberg
e3442cd522 Add knob for --enable-thread-safe-client (THREAD_SAFE_CLIENT)
PR:		ports/33280
Submitted by:	Olafur Osvaldsson <oli@isnic.is>
2002-02-14 22:11:45 +00:00
Dirk Froemberg
bf1ea36835 Fix argument for chmod (00mysql-client.sh -> 000.mysql-client.sh)
Submitted by:	Jens Trzaska <j_trzaska@gmx.net>
2002-02-12 11:39:26 +00:00
Dirk Froemberg
49df86fb19 - upgrade to 3.23.48
- install mysql-client.sh as 000.mysql-client.sh.
  The 000. prefix seems to be more common, now.
2002-02-11 13:35:35 +00:00
Dirk Froemberg
5e5ce317c6 Upgrade to 3.23.47. 2001-12-29 10:33:26 +00:00
Dirk Froemberg
40118ebaa1 Add support for InnoDB tables.
This will emit a warning on startup and will be disabled if not
configured properly.

See http://www.mysql.com/doc/I/n/InnoDB.html for details.
2001-12-19 20:31:08 +00:00
Dirk Froemberg
0022a32651 - remove -fno-omit-frame-pointer from CFLAGS if BUILD_OPTIMIZED is set
- add a warning for BUILD_OPTIMIZED
2001-12-18 22:41:48 +00:00
Dirk Froemberg
b4349b0aca - CXX=${CC} to get rid of libstdc++ in order to improve stability
under heavy load

- add BUILD_STATIC option to link mysqld statically

- add BUILD_OPTIMIZED to add -mcpu=pentiumpro -O3 -fno-omit-frame-pointer
  to CFLAGS (and thus to CXXFLAGS)

Submitted by:	Sergei Golubchik <serg@mysql.com>
2001-12-17 22:50:46 +00:00
Dirk Froemberg
417a7a0ec0 Upgrade to 3.23.46. 2001-12-02 11:18:07 +00:00
Dirk Froemberg
e9185746c0 Upgrade to 3.23.45. 2001-11-24 12:54:12 +00:00
Dirk Froemberg
ab97b362e4 Update to 3.23.44. 2001-11-18 20:30:31 +00:00
Dirk Froemberg
882695f893 Upgrade to 3.23.43. 2001-10-05 19:15:41 +00:00
Dirk Froemberg
19add691ef Upgrade to 3.23.42. 2001-09-10 16:13:36 +00:00
David W. Chapman Jr.
2f9d6f48db Comply with NOPORTDOCS
PR:		29800
Submitted by:	pat@databits.net
No response:	maintainer
2001-09-03 22:27:58 +00:00
Dirk Froemberg
77ab88f1e1 Add dependency to p5-Mysql for the server part. mysql_convert_table_format,
mysql_setpermission and mysqlhotcopy need the perl module.
2001-08-18 21:57:18 +00:00
Dirk Froemberg
6a45e46521 Upgrade to 3.23.41. 2001-08-13 22:08:59 +00:00
Dirk Froemberg
7a6e5f95b2 Cleanup:
- rename INSTALL_DB_FORCE to SKIP_DNS_CHECK
- add additional comments for build options
- move printing of build option to server part
2001-08-13 21:50:34 +00:00
Dirk Froemberg
376118afd8 Add two new Makefile variables: SKIP_INSTALL_DB, INSTALL_DB_FORCE
(see Makefile for explanation).
2001-08-05 12:01:09 +00:00
Dirk Froemberg
423d70c5d9 Upgrade to 3.23.40. 2001-07-31 21:10:10 +00:00
Dirk Froemberg
0f5b447dfe Upgrade to 3.23.39. 2001-06-14 08:25:08 +00:00
Dirk Froemberg
4c1900dced POSIX chown syntax. 2001-06-03 18:45:35 +00:00
Dirk Froemberg
692ff3f0a1 Add option for linuxthreads (WITH_LINUXTHREADS).
Submitted by:	Alexey Zakirov <frank@agava.com>
2001-05-23 20:26:06 +00:00
Dirk Froemberg
65bd433996 Upgrade to 3.23.38. 2001-05-12 14:43:52 +00:00
Dirk Froemberg
fe7ab376bb Upgrade to 3.23.37. 2001-04-21 11:26:11 +00:00
Dirk Froemberg
b3b3a86d86 Fix typo (Latin1 -> latin1).
Noticed by:	Jon Nathan <jon@rupture.net>
2001-04-05 13:15:22 +00:00
Dirk Froemberg
d7e6656197 Upgrade to 3.23.36.
From the announcement:

"This release should fix the final bugs we accidently got into 3.23.34
and a long security bug that has been in MySQL a long time!

The main fixed bugs are that UPDATE didn't always use keys when
updating on something not based on a primary key and that 'affected
rows' wasn't returned to the client if the mysqld server wasn't
compiled with support for transactions."
2001-03-28 13:43:06 +00:00
Dirk Froemberg
384377aff8 Upgrade to 3.23.35.
From the announce mail:

"The 3.23.35 mainly fixes a critical bug in 3.23.34 with ORDER BY.  We
don't know how the ORDER BY bug slipped through our testing suite or
how fatal it's really is, but as we have got a couple of reports about
core dumps regarding this, we recommend 3.23.34 users to
upgrade as soon as possible. Sorry for the inconvenience."
2001-03-17 10:35:49 +00:00
Dirk Froemberg
38fae3c981 Add ${MASTER_SITE_SOURCEFORGE} to MASTER_SITES and remove www.mysql.net
which seems not to be a MySQL mirror anylonger.

Submitted by:	roam (sort of ;-)
2001-03-12 13:02:50 +00:00
Dirk Froemberg
8d67b310bc Upgrade to 3.23.34a. 2001-03-12 07:06:50 +00:00
Dirk Froemberg
77211fbcb3 BDB doesn't compile on alpha.
Submitted by:	Taylor Mallette <taylor.mallette@compaq.com>
2001-03-04 18:50:21 +00:00
Dirk Froemberg
ad35551e9b Upgrade to 3.23.33. 2001-02-14 09:20:08 +00:00
Dirk Froemberg
840aec531e Install mysql-client.sh as 00mysql-client.sh so the included
ldconfig is run earlier.

PR:		ports/24924
Submitted by:	jeh
2001-02-07 23:02:26 +00:00
Dirk Froemberg
6f3337ca58 Add options for alternate charsets (WITH_CHARSET and WITH_XCHARSET).
Submitted by:	roam
2001-01-25 01:03:09 +00:00
Dirk Froemberg
d296dcf10c Add support for BerkeleyDB table type.
This type allows SQL transactions (COMMIT, ROLLBACK).

Note: BerkeleyDB is build as part of mysql323-server since mysql
      needs a special version of it. Thus we can't depend on
      databases/db3 at the moment.
2001-01-25 00:44:33 +00:00
Dirk Froemberg
83e2341f7d Upgrade to 3.23.32. 2001-01-22 22:46:32 +00:00
Dirk Froemberg
a67288c74a Remove NO_LATEST_LINK now that mysql323-{client,server} are the
one and only.
2001-01-22 10:09:51 +00:00
Dirk Froemberg
403c5283fa Fix moved MASTER_SITE. 2001-01-21 20:09:16 +00:00
Dirk Froemberg
88d74bc517 Switch from mysql322-{client,server} to mysql323-{client,server}.
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
2001-01-21 15:40:47 +00:00
Dirk Froemberg
13506ce5fe Fix build on FreeBSD-3.x.
PR:	ports/24160
2001-01-21 11:49:48 +00:00
Dirk Froemberg
e8edf128ce Upgrade to 3.23.31. 2001-01-19 00:05:50 +00:00
Dirk Froemberg
4422c35a75 Add "-felide-constructors -fno-exceptions -fno-rtti" to CXXFLAGS
to work around a problem causing mysqld to crash under heavy load
and multiple connections at the same time.

PORTREVISION bumped.
2001-01-07 14:51:48 +00:00
Dirk Froemberg
76f676a1de --with-low-memory serves a similar purpose as patch-aq. 2001-01-07 13:52:24 +00:00
Dirk Froemberg
cc3ecfa822 Remove extra .gz in MAN1. 2001-01-05 23:40:52 +00:00
Dirk Froemberg
c2b1c5db7f Upgrade to 3.23.30. 2001-01-05 17:13:33 +00:00
Will Andrews
60f2b6b7a8 Goodbye, YEAR2000. Hello, 2001.
Approved by:	asami
2001-01-01 10:15:16 +00:00
Dirk Froemberg
f2f4c3cebe Upgrade to 3.23.29a. 2000-12-18 16:32:15 +00:00
Dirk Froemberg
be4c7a8cdc Go back to where I started: Put mysql.sock in /tmp/...
PR:		ports/23266
Submitted by:	Louis Mamakos <louie@TransSys.COM>
2000-12-04 15:13:36 +00:00
Dirk Froemberg
55dcab4f16 Move mysql.sock from ${DB_DIR} to /var/run/. ${DB_DIR} has mode 700
so only root and mysql were able to connect to the socket...

Noticed by:	Marco Hinz <marco@todo.de>
2000-12-04 11:47:11 +00:00
Dirk Froemberg
6fc722add6 Enable libwrap and put socket file into ${DB_DIR}.
Submitted by:	Vivek Khera <khera@kcilink.com>
2000-12-01 11:02:55 +00:00
Dirk Froemberg
a525e01845 Upgrade to 3.23.28. 2000-12-01 10:31:49 +00:00
Dirk Froemberg
edd90209be Adjust mysql's homedirectory if already exists. 2000-11-30 23:42:41 +00:00
Dirk Froemberg
0a2fa4a15a Move mysql-client.sh from Makefile to files/mysql-client.sh
and add a start/stop parameter to satisfy rc.shutdown.
2000-11-16 10:29:06 +00:00
Dirk Froemberg
a5942ac655 Set NO_LATEST_LINK.
Spotted by:	jedgar
2000-11-09 00:16:05 +00:00
Dirk Froemberg
f5ac20397a Install my_config.h to satisfy ports depending on mysql.
Submitted by:	steve
2000-11-09 00:14:19 +00:00
Dirk Froemberg
5fedba6b20 Fix MASTER_SITES. 2000-10-24 14:32:48 +00:00
Dirk Froemberg
798cac5ca4 Upgrade to 3.23.26. 2000-10-19 13:28:42 +00:00
Dirk Froemberg
5c5dc27ac7 Upgrade to MySQL-3.23.24 after repository copy from mysql322-client
and mysql322-server.

- mit-pthread support was dropped.

- libmysqlclient.so.9 was renamed to libmysqlclient.so.6 (like the
  one coming with MySQL-3.22.x) so ports depending on MySQL having
  a chance of using 3.23.x if installed.

mysql322-(client|server) and mysql323-(client|server) can't be
installed at the same time, of course.
2000-10-19 09:17:57 +00:00
Dirk Froemberg
3b0128bba5 Fix Y2K URL. 2000-09-24 21:40:24 +00:00
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