summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-01-20 14:17:14 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-01-20 14:17:14 +0000
commitd520a6d7b62e88c595c23b2326d4efc670d57a82 (patch)
treed0890b71741bad3fcc060f3d869df1a2bc7e4808 /databases
parent00c0c85eae219e0346c712148c150a32322ddfd4 (diff)
downloadpkgsrc-d520a6d7b62e88c595c23b2326d4efc670d57a82.tar.gz
Update mysql-{client,server} to 4.0.23a (bugfix release).
See http://dev.mysql.com/doc/mysql/en/News-4.0.23.html for the full list of changes. This update applies the fix for the mysqlaccess script symlink vulnerability, bump BUILDLINK_RECOMMENDED.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-client/Makefile3
-rw-r--r--databases/mysql-client/Makefile.common4
-rw-r--r--databases/mysql-client/PLIST4
-rw-r--r--databases/mysql-client/buildlink3.mk4
-rw-r--r--databases/mysql-client/distinfo11
-rw-r--r--databases/mysql-client/patches/patch-aw13
-rw-r--r--databases/mysql-client/patches/patch-ax18
-rw-r--r--databases/mysql-client/patches/patch-az93
-rw-r--r--databases/mysql-server/Makefile3
-rw-r--r--databases/mysql-server/distinfo18
-rw-r--r--databases/mysql-server/patches/patch-aq14
-rw-r--r--databases/mysql-server/patches/patch-ar16
-rw-r--r--databases/mysql-server/patches/patch-as14
-rw-r--r--databases/mysql-server/patches/patch-at15
-rw-r--r--databases/mysql-server/patches/patch-aw16
-rw-r--r--databases/mysql-server/patches/patch-ax16
16 files changed, 175 insertions, 87 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile
index 859124a31fc..2afd102c84b 100644
--- a/databases/mysql-client/Makefile
+++ b/databases/mysql-client/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2004/12/31 13:27:06 minskim Exp $
+# $NetBSD: Makefile,v 1.42 2005/01/20 14:17:15 xtraeme Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
-PKGREVISION= 4
COMMENT= MySQL 4, a free SQL database (client)
CONFLICTS= {mysql-client-[0-9]*,mysql3-client-[0-9]*}
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common
index 358fdebcc56..f8d02e8094b 100644
--- a/databases/mysql-client/Makefile.common
+++ b/databases/mysql-client/Makefile.common
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.common,v 1.37 2004/12/17 17:48:08 wiz Exp $
+# $NetBSD: Makefile.common,v 1.38 2005/01/20 14:17:15 xtraeme Exp $
-DISTNAME= mysql-4.0.22
+DISTNAME= mysql-4.0.23a
CATEGORIES= databases
MASTER_SITES= http://mirrors.sunsite.dk/mysql/Downloads/MySQL-4.0/ \
ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-4.0/ \
diff --git a/databases/mysql-client/PLIST b/databases/mysql-client/PLIST
index c03b8af7c69..0003ab2217d 100644
--- a/databases/mysql-client/PLIST
+++ b/databases/mysql-client/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2004/11/23 16:07:02 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.15 2005/01/20 14:17:15 xtraeme Exp $
bin/msql2mysql
bin/mysql
bin/mysql_config
@@ -63,6 +63,6 @@ share/examples/mysql/my-small.cnf
share/mysql/make_binary_distribution
share/mysql/make_sharedlib_distribution
@dirrm share/mysql
-@dirrm lib/mysql
@dirrm share/examples/mysql
+@dirrm lib/mysql
@dirrm include/mysql
diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk
index e49e25bcf9b..a5627cfcbba 100644
--- a/databases/mysql-client/buildlink3.mk
+++ b/databases/mysql-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2004/10/28 01:45:19 xtraeme Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2005/01/20 14:17:15 xtraeme Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@ BUILDLINK_PACKAGES+= mysql-client
.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.mysql-client+= mysql-client>=4.0.18nb1
-BUILDLINK_RECOMMENDED.mysql-client?= mysql-client>=4.0.20nb1
+BUILDLINK_RECOMMENDED.mysql-client?= mysql-client>=4.0.23a
BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql-client
BUILDLINK_LIBDIRS.mysql-client?= lib/mysql
.endif # MYSQL_CLIENT_BUILDLINK3_MK
diff --git a/databases/mysql-client/distinfo b/databases/mysql-client/distinfo
index 40ba734bf6b..b61d80d5256 100644
--- a/databases/mysql-client/distinfo
+++ b/databases/mysql-client/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.15 2004/11/09 06:11:48 xtraeme Exp $
+$NetBSD: distinfo,v 1.16 2005/01/20 14:17:15 xtraeme Exp $
-SHA1 (mysql-4.0.22.tar.gz) = 0b43446a0fd2887c4bc69d8b30dc57f348e145cd
-Size (mysql-4.0.22.tar.gz) = 14395535 bytes
+SHA1 (mysql-4.0.23a.tar.gz) = b85f6ace8e120da34aef2a8ee26b5751de69b97b
+Size (mysql-4.0.23a.tar.gz) = 16735725 bytes
SHA1 (patch-af) = 2f3bab4108c002420e243a4ca6c9c0c3d4bdd21b
SHA1 (patch-au) = 9183bfa3a6f5b4a9553a6de83448fb684d514a91
SHA1 (patch-av) = 684c1e2ff1f96652225045653c25707850fe0ff2
-SHA1 (patch-aw) = 67f10ae46e46bb047f4c7662af3954945590dfcc
-SHA1 (patch-ax) = d029adc40e6f80edfe090e4c3ca59bf076b9f462
+SHA1 (patch-aw) = 23d54ceddd0631aa93b32666853965a5fc7bdfab
+SHA1 (patch-ax) = 0ee6c30cc814d9404625191ac3b248ba9d9e094a
+SHA1 (patch-az) = 4fdb81d762f5fccf284ea518b1bf2e7d36950a1b
diff --git a/databases/mysql-client/patches/patch-aw b/databases/mysql-client/patches/patch-aw
index e77eca2f7b3..dd9a99d0c64 100644
--- a/databases/mysql-client/patches/patch-aw
+++ b/databases/mysql-client/patches/patch-aw
@@ -1,17 +1,16 @@
-$NetBSD: patch-aw,v 1.1 2004/11/09 06:11:48 xtraeme Exp $
+$NetBSD: patch-aw,v 1.2 2005/01/20 14:17:15 xtraeme Exp $
---- man/Makefile.in.orig 2004-11-09 06:38:12.000000000 +0100
-+++ man/Makefile.in 2004-11-09 06:38:39.000000000 +0100
-@@ -275,10 +275,8 @@
+--- man/Makefile.in.orig 2005-01-20 14:49:43.000000000 +0100
++++ man/Makefile.in 2005-01-20 14:50:07.000000000 +0100
+@@ -290,9 +290,8 @@
+ uname_prog = @uname_prog@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
-
-man_MANS = mysql.1 isamchk.1 isamlog.1 mysql_zap.1 mysqlaccess.1 \
- mysqladmin.1 mysqld.1 mysqld_multi.1 mysqldump.1 mysqlshow.1 \
- perror.1 replace.1 mysqld_safe.1 mysql_fix_privilege_tables.1
--
+man_MANS = mysql.1 mysql_zap.1 mysqlaccess.1 mysqladmin.1 \
-+ mysqldump.1 mysqlshow.1 mysql_fix_privilege_tables.1
++ mysqldump.1 mysqlshow.1 mysql_fix_privilege_tables.1
EXTRA_DIST = mysql.1.in isamchk.1.in isamlog.1.in mysql_zap.1.in \
mysqlaccess.1.in mysqladmin.1.in mysqld.1.in mysqld_multi.1.in \
diff --git a/databases/mysql-client/patches/patch-ax b/databases/mysql-client/patches/patch-ax
index c79e22e386b..08c9637232c 100644
--- a/databases/mysql-client/patches/patch-ax
+++ b/databases/mysql-client/patches/patch-ax
@@ -1,11 +1,11 @@
-$NetBSD: patch-ax,v 1.1 2004/11/09 06:11:48 xtraeme Exp $
+$NetBSD: patch-ax,v 1.2 2005/01/20 14:17:15 xtraeme Exp $
---- scripts/Makefile.in.orig 2004-11-09 06:39:02.000000000 +0100
-+++ scripts/Makefile.in 2004-11-09 06:40:34.000000000 +0100
-@@ -274,26 +274,11 @@
+--- scripts/Makefile.in.orig 2005-01-20 14:48:37.000000000 +0100
++++ scripts/Makefile.in 2005-01-20 14:49:13.000000000 +0100
+@@ -292,25 +292,10 @@
+ uname_prog = @uname_prog@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
-
-bin_SCRIPTS = @server_scripts@ \
- msql2mysql \
- mysql_config \
@@ -25,12 +25,10 @@ $NetBSD: patch-ax,v 1.1 2004/11/09 06:11:48 xtraeme Exp $
- mysqld_multi \
- make_win_src_distribution \
- make_win_binary_distribution
--
+bin_SCRIPTS = msql2mysql mysql_config mysql_fix_privilege_tables \
-+ mysql_setpermission mysql_zap mysqlaccess mysqlbug \
-+ mysql_convert_table_format mysql_find_rows mysqlhotcopy \
-+ mysqldumpslow mysql_explain_log mysql_tableinfo
-+
++ mysql_setpermission mysql_zap mysqlaccess mysqlbug \
++ mysql_convert_table_format mysql_find_rows mysqlhotcopy \
++ mysqldumpslow mysql_explain_log mysql_tableinfo
EXTRA_SCRIPTS = make_binary_distribution.sh \
make_sharedlib_distribution.sh \
diff --git a/databases/mysql-client/patches/patch-az b/databases/mysql-client/patches/patch-az
new file mode 100644
index 00000000000..9652ef194cc
--- /dev/null
+++ b/databases/mysql-client/patches/patch-az
@@ -0,0 +1,93 @@
+$NetBSD: patch-az,v 1.1 2005/01/20 14:17:15 xtraeme Exp $
+
+--- scripts/mysqlaccess.sh.orig 2005-01-16 14:28:38 -08:00
++++ scripts/mysqlaccess.sh 2005-01-16 14:28:38 -08:00
+@@ -2,7 +2,7 @@
+ # ****************************
+ package MySQLaccess;
+ #use strict;
+-use POSIX qw(tmpnam);
++use File::Temp qw(tempfile tmpnam);
+ use Fcntl;
+
+ BEGIN {
+@@ -32,7 +32,6 @@
+ $ACCESS_U_BCK = 'user_backup';
+ $ACCESS_D_BCK = 'db_backup';
+ $DIFF = '/usr/bin/diff';
+- $TMP_PATH = '/tmp'; #path to writable tmp-directory
+ $MYSQLDUMP = '@bindir@/mysqldump';
+ #path to mysqldump executable
+
+@@ -432,7 +431,7 @@
+ # no caching on STDOUT
+ $|=1;
+
+- $MYSQL_CNF = POSIX::tmpnam();
++ $MYSQL_CNF = tmpnam();
+ %MYSQL_CNF = (client => { },
+ mysql => { },
+ mysqldump => { },
+@@ -577,8 +576,6 @@
+ push(@MySQLaccess::Grant::Error,'not_found_mysql') if !(-x $MYSQL);
+ push(@MySQLaccess::Grant::Error,'not_found_diff') if !(-x $DIFF);
+ push(@MySQLaccess::Grant::Error,'not_found_mysqldump') if !(-x $MYSQLDUMP);
+-push(@MySQLaccess::Grant::Error,'not_found_tmp') if !(-d $TMP_PATH);
+-push(@MySQLaccess::Grant::Error,'write_err_tmp') if !(-w $TMP_PATH);
+ if (@MySQLaccess::Grant::Error) {
+ MySQLaccess::Report::Print_Error_Messages() ;
+ exit 0;
+@@ -1777,17 +1774,15 @@
+ @before = sort(@before);
+ @after = sort(@after);
+
+- $before = "$MySQLaccess::TMP_PATH/$MySQLaccess::script.before.$$";
+- $after = "$MySQLaccess::TMP_PATH/$MySQLaccess::script.after.$$";
+- #$after = "/tmp/t0";
+- open(BEFORE,"> $before") ||
+- push(@MySQLaccess::Report::Errors,"Can't open temporary file $before for writing");
+- open(AFTER,"> $after") ||
+- push(@MySQLaccess::Report::Errors,"Can't open temporary file $after for writing");
+- print BEFORE join("\n",@before);
+- print AFTER join("\n",@after);
+- close(BEFORE);
+- close(AFTER);
++ ($hb, $before) = tempfile("$MySQLaccess::script.XXXXXX") or
++ push(@MySQLaccess::Report::Errors,"Can't create temporary file: $!");
++ ($ha, $after) = tempfile("$MySQLaccess::script.XXXXXX") or
++ push(@MySQLaccess::Report::Errors,"Can't create temporary file: $!");
++
++ print $hb join("\n",@before);
++ print $ha join("\n",@after);
++ close $hb;
++ close $ha;
+
+ # ----------------------------------
+ # compute difference
+@@ -1800,8 +1795,8 @@
+
+ # ----------------------------------
+ # cleanup temp. files
+- unlink(BEFORE);
+- unlink(AFTER);
++ unlink($before);
++ unlink($after);
+
+ return \@diffs;
+ }
+@@ -2316,14 +2311,6 @@
+ => "The diff program <$MySQLaccess::DIFF> could not be found.\n"
+ ."+ Check your path, or\n"
+ ."+ edit the source of this script to point \$DIFF to the diff program.\n"
+- ,'not_found_tmp'
+- => "The temporary directory <$MySQLaccess::TMP_PATH> could not be found.\n"
+- ."+ create this directory (writeable!), or\n"
+- ."+ edit the source of this script to point \$TMP_PATH to the right directory.\n"
+- ,'write_err_tmp'
+- => "The temporary directory <$MySQLaccess::TMP_PATH> is not writable.\n"
+- ."+ make this directory writeable!, or\n"
+- ."+ edit the source of this script to point \$TMP_PATH to another directory.\n"
+ ,'Unrecognized_option'
+ => "Sorry,\n"
+ ."You are using an old version of the mysql-program,\n"
+
diff --git a/databases/mysql-server/Makefile b/databases/mysql-server/Makefile
index be46b1e893f..21ee8d52875 100644
--- a/databases/mysql-server/Makefile
+++ b/databases/mysql-server/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2005/01/01 00:37:56 minskim Exp $
+# $NetBSD: Makefile,v 1.63 2005/01/20 14:17:14 xtraeme Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
SVR4_PKGNAME= mysqs
-PKGREVISION= 2
COMMENT= MySQL 4, a free SQL database (server)
CONFLICTS= {mysql-server-[0-9]*,mysql3-server-[0-9]*}
diff --git a/databases/mysql-server/distinfo b/databases/mysql-server/distinfo
index 3fb1732d6cc..e806ea1535b 100644
--- a/databases/mysql-server/distinfo
+++ b/databases/mysql-server/distinfo
@@ -1,16 +1,16 @@
-$NetBSD: distinfo,v 1.27 2004/11/09 06:11:48 xtraeme Exp $
+$NetBSD: distinfo,v 1.28 2005/01/20 14:17:15 xtraeme Exp $
-SHA1 (mysql-4.0.22.tar.gz) = 0b43446a0fd2887c4bc69d8b30dc57f348e145cd
-Size (mysql-4.0.22.tar.gz) = 14395535 bytes
+SHA1 (mysql-4.0.23a.tar.gz) = b85f6ace8e120da34aef2a8ee26b5751de69b97b
+Size (mysql-4.0.23a.tar.gz) = 16735725 bytes
SHA1 (patch-aa) = d753d777adfa3d1357a285c0c18dfd0f6fc988b6
SHA1 (patch-af) = 038b5d570265e1f821de6502d05f94225eba5672
SHA1 (patch-al) = 725a3a6e06d39b26efb706bebbe3ff95da82be96
SHA1 (patch-am) = 9b65fe456c25a45270cf73ab712191b1f7924ce7
-SHA1 (patch-aq) = 1e09f64374ebc3a9ee4cad2a8f6d7b11ba4b0451
-SHA1 (patch-ar) = 7440bd5082194266652bd17a1a81b3778ab9b760
-SHA1 (patch-as) = 6e034bfe25d60efb852c39a08653510063fac866
-SHA1 (patch-at) = 3a457c3f6b13312cb71b663108abd0ace09f2be4
+SHA1 (patch-aq) = 899f90143ed9f36b769e099cadd01b867423d3d7
+SHA1 (patch-ar) = d7c44e5bbed3c58e7516de5e155a82417818a39a
+SHA1 (patch-as) = d5ee30fad87682d3ed4315e41788c5ae6f68ba6e
+SHA1 (patch-at) = 62d5ccb0fdb5488b98979f2bb53d6029d0bd3d27
SHA1 (patch-au) = 9183bfa3a6f5b4a9553a6de83448fb684d514a91
SHA1 (patch-av) = 6ea5b9338d223f1380386288c537f55d4fd7a7d7
-SHA1 (patch-aw) = 6beb03517de678def5631517c8a7db7ea6540137
-SHA1 (patch-ax) = 8e21c394b9cd6f7f2a0cae0c76ac08d224a18420
+SHA1 (patch-aw) = c82aa82430b42eaed2b6f4d588306e663e386ce1
+SHA1 (patch-ax) = 29b3087d240dbbb8a780816a115759994c6f4639
diff --git a/databases/mysql-server/patches/patch-aq b/databases/mysql-server/patches/patch-aq
index 6e98da777f0..2613697b884 100644
--- a/databases/mysql-server/patches/patch-aq
+++ b/databases/mysql-server/patches/patch-aq
@@ -1,11 +1,11 @@
-$NetBSD: patch-aq,v 1.3 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-aq,v 1.4 2005/01/20 14:17:15 xtraeme Exp $
---- include/Makefile.in.orig Tue Feb 10 20:16:49 2004
-+++ include/Makefile.in Sun Mar 7 20:21:23 2004
-@@ -272,13 +272,8 @@
+--- include/Makefile.in.orig 2005-01-20 14:58:40.000000000 +0100
++++ include/Makefile.in 2005-01-20 14:59:00.000000000 +0100
+@@ -294,13 +294,8 @@
+ uname_prog = @uname_prog@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
-
-BUILT_SOURCES = mysql_version.h m_ctype.h my_config.h
-pkginclude_HEADERS = my_dbug.h m_string.h my_sys.h my_list.h \
- mysql.h mysql_com.h mysqld_error.h mysql_embed.h \
@@ -13,8 +13,8 @@ $NetBSD: patch-aq,v 1.3 2004/10/28 01:08:15 xtraeme Exp $
- errmsg.h my_global.h my_net.h my_alloc.h \
- my_getopt.h sslopt-longopts.h my_dir.h \
- sslopt-vars.h sslopt-case.h $(BUILT_SOURCES)
-+BUILT_SOURCES =
-+pkginclude_HEADERS = $(BUILT_SOURCES)
++BUILT_SOURCES =
++pkginclude_HEADERS =
noinst_HEADERS = config-win.h config-os2.h config-netware.h \
nisam.h heap.h merge.h my_bitmap.h\
diff --git a/databases/mysql-server/patches/patch-ar b/databases/mysql-server/patches/patch-ar
index 882db49d69d..94430d2ec9b 100644
--- a/databases/mysql-server/patches/patch-ar
+++ b/databases/mysql-server/patches/patch-ar
@@ -1,23 +1,21 @@
-$NetBSD: patch-ar,v 1.7 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-ar,v 1.8 2005/01/20 14:17:15 xtraeme Exp $
---- man/Makefile.in.orig 2004-10-22 02:58:47.000000000 +0200
-+++ man/Makefile.in 2004-10-22 02:59:40.000000000 +0200
-@@ -274,16 +274,8 @@
+--- man/Makefile.in.orig 2005-01-20 14:59:26.000000000 +0100
++++ man/Makefile.in 2005-01-20 14:59:50.000000000 +0100
+@@ -290,14 +290,8 @@
+ uname_prog = @uname_prog@
vio_dir = @vio_dir@
vio_libs = @vio_libs@
-
-man_MANS = mysql.1 isamchk.1 isamlog.1 mysql_zap.1 mysqlaccess.1 \
- mysqladmin.1 mysqld.1 mysqld_multi.1 mysqldump.1 mysqlshow.1 \
- perror.1 replace.1 mysqld_safe.1 mysql_fix_privilege_tables.1
-
--
-EXTRA_DIST = mysql.1.in isamchk.1.in isamlog.1.in mysql_zap.1.in \
- mysqlaccess.1.in mysqladmin.1.in mysqld.1.in mysqld_multi.1.in \
- mysqldump.1.in mysqlshow.1.in perror.1.in replace.1.in mysqlman.1.in \
- mysqld_safe.1.in mysql_fix_privilege_tables.1.in
--
+man_MANS = mysqld.1 mysqld_multi.1
-+EXTRA_DITS = mysqld.1.in mysqld_multi.1.in
++EXTRA_DIST = mysqld.1.in mysqld_multi.1.in
CLEANFILES = $(man_MANS)
-
+ SUFFIXES = .in
diff --git a/databases/mysql-server/patches/patch-as b/databases/mysql-server/patches/patch-as
index 01ad570be75..298fadc841c 100644
--- a/databases/mysql-server/patches/patch-as
+++ b/databases/mysql-server/patches/patch-as
@@ -1,11 +1,11 @@
-$NetBSD: patch-as,v 1.4 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-as,v 1.5 2005/01/20 14:17:15 xtraeme Exp $
---- support-files/Makefile.in.orig 2004-10-22 02:39:03.000000000 +0200
-+++ support-files/Makefile.in 2004-10-22 02:39:24.000000000 +0200
-@@ -289,16 +289,7 @@
+--- support-files/Makefile.in.orig 2005-01-20 15:00:21.000000000 +0100
++++ support-files/Makefile.in 2005-01-20 15:00:43.000000000 +0100
+@@ -315,16 +315,7 @@
+ MySQL-shared-compat.spec.sh
SUBDIRS = MacOSX
-
-pkgdata_DATA = my-small.cnf \
- my-medium.cnf \
- my-large.cnf \
@@ -17,6 +17,6 @@ $NetBSD: patch-as,v 1.4 2004/10/28 01:08:15 xtraeme Exp $
- MySQL-shared-compat.spec
-
+pkgdata_DATA =
-
pkgdata_SCRIPTS = mysql.server
-
+ CLEANFILES = my-small.cnf \
+ my-medium.cnf \
diff --git a/databases/mysql-server/patches/patch-at b/databases/mysql-server/patches/patch-at
index 281f60b2305..88078efd217 100644
--- a/databases/mysql-server/patches/patch-at
+++ b/databases/mysql-server/patches/patch-at
@@ -1,17 +1,18 @@
-$NetBSD: patch-at,v 1.3 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-at,v 1.4 2005/01/20 14:17:15 xtraeme Exp $
---- support-files/MacOSX/Makefile.in.orig Tue Feb 10 20:16:53 2004
-+++ support-files/MacOSX/Makefile.in Sun Mar 7 20:22:21 2004
-@@ -284,11 +284,7 @@
+--- support-files/MacOSX/Makefile.in.orig 2005-01-20 15:01:16.000000000 +0100
++++ support-files/MacOSX/Makefile.in 2005-01-20 15:01:31.000000000 +0100
+@@ -301,12 +301,7 @@
+ StartupItem.Info.plist \
StartupItem.postinstall
-
-pkgdata_DATA = Info.plist \
- Description.plist \
- StartupParameters.plist \
- postinstall \
- preinstall
+-
+pkgdata_DATA =
-
-
CLEANFILES = Info.plist \
+ Description.plist \
+ StartupParameters.plist \
diff --git a/databases/mysql-server/patches/patch-aw b/databases/mysql-server/patches/patch-aw
index 8ccdb79eaae..1af9ee3c932 100644
--- a/databases/mysql-server/patches/patch-aw
+++ b/databases/mysql-server/patches/patch-aw
@@ -1,13 +1,13 @@
-$NetBSD: patch-aw,v 1.3 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-aw,v 1.4 2005/01/20 14:17:15 xtraeme Exp $
---- isam/Makefile.in.orig 2004-02-10 19:16:49.000000000 +0100
-+++ isam/Makefile.in 2004-03-13 12:26:18.000000000 +0100
-@@ -370,7 +370,7 @@
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
- $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+--- isam/Makefile.in.orig 2005-01-20 15:02:23.000000000 +0100
++++ isam/Makefile.in 2005-01-20 15:02:37.000000000 +0100
+@@ -134,7 +134,7 @@
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
+CCLD = $(CXX)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
- DIST_SOURCES = $(libnisam_a_SOURCES) $(isamchk_SOURCES) isamlog.c \
+ SOURCES = $(libnisam_a_SOURCES) $(isamchk_SOURCES) isamlog.c \
diff --git a/databases/mysql-server/patches/patch-ax b/databases/mysql-server/patches/patch-ax
index 246b9bd99cc..eca36a42e2a 100644
--- a/databases/mysql-server/patches/patch-ax
+++ b/databases/mysql-server/patches/patch-ax
@@ -1,13 +1,13 @@
-$NetBSD: patch-ax,v 1.3 2004/10/28 01:08:15 xtraeme Exp $
+$NetBSD: patch-ax,v 1.4 2005/01/20 14:17:15 xtraeme Exp $
---- myisam/Makefile.in.orig 2004-03-13 12:38:20.000000000 +0100
-+++ myisam/Makefile.in 2004-03-13 12:38:46.000000000 +0100
-@@ -407,7 +407,7 @@
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
- $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+--- myisam/Makefile.in.orig 2005-01-20 15:03:02.000000000 +0100
++++ myisam/Makefile.in 2005-01-20 15:03:12.000000000 +0100
+@@ -158,7 +158,7 @@
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
+CCLD = $(CXX)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
- DIST_SOURCES = $(libmyisam_a_SOURCES) mi_test1.c mi_test2.c mi_test3.c \
+ SOURCES = $(libmyisam_a_SOURCES) mi_test1.c mi_test2.c mi_test3.c \