summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2003-10-05 17:55:13 +0000
committermartti <martti@pkgsrc.org>2003-10-05 17:55:13 +0000
commit08a315055052ed3f2f5b0f23ef400d2e445815e9 (patch)
treebf659890b4b25f1d76f215d00d23bd63183f0ee6
parent2e485d82d3b46f12909b003061e0f5c9892d31a4 (diff)
downloadpkgsrc-08a315055052ed3f2f5b0f23ef400d2e445815e9.tar.gz
Update mysql-client to 3.23.58
A lot of bug and security fixes since 3.23.51...
-rw-r--r--databases/mysql-client/Makefile4
-rw-r--r--databases/mysql-client/Makefile.common5
-rw-r--r--databases/mysql-client/buildlink2.mk4
-rw-r--r--databases/mysql-client/distinfo10
-rw-r--r--databases/mysql-client/patches/patch-af10
-rw-r--r--databases/mysql-client/patches/patch-al65
-rw-r--r--databases/mysql-client/patches/patch-am12
7 files changed, 16 insertions, 94 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile
index 5be2420e6a2..25cb680481a 100644
--- a/databases/mysql-client/Makefile
+++ b/databases/mysql-client/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2003/09/29 02:48:35 jdolecek Exp $
+# $NetBSD: Makefile,v 1.29 2003/10/05 17:55:13 martti Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
-PKGREVISION= 1
SVR4_PKGNAME= mysqc
COMMENT= MySQL, a free SQL database (client)
@@ -10,6 +9,7 @@ COMMENT= MySQL, a free SQL database (client)
CONFIGURE_ARGS+= --without-server
USE_BUILDLINK2= YES
+USE_NEW_TEXINFO= YES
INFO_FILES= mysql.info
post-install:
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common
index 79927729564..c207d915757 100644
--- a/databases/mysql-client/Makefile.common
+++ b/databases/mysql-client/Makefile.common
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.common,v 1.18 2003/09/28 09:03:52 jdolecek Exp $
+# $NetBSD: Makefile.common,v 1.19 2003/10/05 17:55:13 martti Exp $
-DISTNAME= mysql-3.23.51
+DISTNAME= mysql-3.23.58
CATEGORIES= databases
MASTER_SITES= http://mirrors.sunsite.dk/mysql/Downloads/MySQL-3.23/ \
ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-3.23/ \
@@ -29,6 +29,7 @@ MYSQL_EXTRA_CHARSET?= all
USE_BUILDLINK2= # defined
GNU_CONFIGURE= # defined
+USE_GMAKE= # defined
CONFIGURE_ARGS+= --localstatedir=${MYSQL_DATADIR}
CONFIGURE_ARGS+= --with-named-z-libs=z
CONFIGURE_ARGS+= --without-libwrap
diff --git a/databases/mysql-client/buildlink2.mk b/databases/mysql-client/buildlink2.mk
index 9188e9edfc4..c2e4218e147 100644
--- a/databases/mysql-client/buildlink2.mk
+++ b/databases/mysql-client/buildlink2.mk
@@ -1,10 +1,10 @@
-# $NetBSD: buildlink2.mk,v 1.6 2003/09/28 09:03:52 jdolecek Exp $
+# $NetBSD: buildlink2.mk,v 1.7 2003/10/05 17:55:13 martti Exp $
.if !defined(MYSQL_CLIENT_BUILDLINK2_MK)
MYSQL_CLIENT_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= mysql-client
-BUILDLINK_DEPENDS.mysql-client?= mysql-client>=3.23.51nb1
+BUILDLINK_DEPENDS.mysql-client?= mysql-client>=3.23.58
BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql-client
EVAL_PREFIX+= BUILDLINK_PREFIX.mysql-client=mysql-client
diff --git a/databases/mysql-client/distinfo b/databases/mysql-client/distinfo
index 1162b9d33d9..6f4aa077d81 100644
--- a/databases/mysql-client/distinfo
+++ b/databases/mysql-client/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.12 2003/09/29 10:13:23 jdolecek Exp $
+$NetBSD: distinfo,v 1.13 2003/10/05 17:55:13 martti Exp $
-SHA1 (mysql-3.23.51.tar.gz) = 5833feb9ecacd9870586d20a94c4c4650f988770
-Size (mysql-3.23.51.tar.gz) = 11203102 bytes
-SHA1 (patch-af) = 89dc4d3761cb9f2be0afc2658b80595ceacd1643
-SHA1 (patch-al) = 8d8738a168233dcf968b02c7c48c0711342ea200
-SHA1 (patch-am) = 08ee3c8ee3068a267a9f29063c1585ba2405583a
+SHA1 (mysql-3.23.58.tar.gz) = f3383e41e8926c040a295173881414a1e96e0266
+Size (mysql-3.23.58.tar.gz) = 12039843 bytes
+SHA1 (patch-af) = 0ac0172c264b9c9e8f173d29085096bc1c611132
diff --git a/databases/mysql-client/patches/patch-af b/databases/mysql-client/patches/patch-af
index 209ffe84c4a..f0c5a86ff76 100644
--- a/databases/mysql-client/patches/patch-af
+++ b/databases/mysql-client/patches/patch-af
@@ -1,12 +1,12 @@
-$NetBSD: patch-af,v 1.7 2003/09/28 09:03:53 jdolecek Exp $
+$NetBSD: patch-af,v 1.8 2003/10/05 17:55:13 martti Exp $
---- configure.orig 2002-06-03 12:39:20.000000000 +0200
-+++ configure 2003-09-28 10:31:36.000000000 +0200
-@@ -13397,7 +13397,6 @@
+--- configure.orig Fri Jun 6 14:39:41 2003
++++ configure Wed Jul 9 17:15:10 2003
+@@ -19952,7 +19952,6 @@
else
bench_dirs=""
fi
-bench_dirs="$bench_dirs mysql-test"
- # Don't build readline, i have it already
+ # Don't build readline, i have it already
diff --git a/databases/mysql-client/patches/patch-al b/databases/mysql-client/patches/patch-al
deleted file mode 100644
index b4b0e4817e8..00000000000
--- a/databases/mysql-client/patches/patch-al
+++ /dev/null
@@ -1,65 +0,0 @@
-$NetBSD: patch-al,v 1.1 2002/12/13 14:19:54 tron Exp $
-
---- libmysql/libmysql.c.orig Thu Feb 14 18:30:17 2002
-+++ libmysql/libmysql.c Fri Dec 13 15:11:45 2002
-@@ -886,7 +886,7 @@
- uint field,pkt_len;
- ulong len;
- uchar *cp;
-- char *to;
-+ char *to, *end_to;
- MYSQL_DATA *result;
- MYSQL_ROWS **prev_ptr,*cur;
- NET *net = &mysql->net;
-@@ -924,6 +924,7 @@
- *prev_ptr=cur;
- prev_ptr= &cur->next;
- to= (char*) (cur->data+fields+1);
-+ end_to=to+pkt_len-1;
- for (field=0 ; field < fields ; field++)
- {
- if ((len=(ulong) net_field_length(&cp)) == NULL_LENGTH)
-@@ -933,6 +934,13 @@
- else
- {
- cur->data[field] = to;
-+ if (len > end_to - to)
-+ {
-+ free_rows(result);
-+ net->last_errno=CR_UNKNOWN_ERROR;
-+ strmov(net->last_error,ER(net->last_errno));
-+ DBUG_RETURN(0);
-+ }
- memcpy(to,(char*) cp,len); to[len]=0;
- to+=len+1;
- cp+=len;
-@@ -967,7 +975,7 @@
- {
- uint field;
- ulong pkt_len,len;
-- uchar *pos,*prev_pos;
-+ uchar *pos,*prev_pos, *end_pos;
-
- if ((pkt_len=(uint) net_safe_read(mysql)) == packet_error)
- return -1;
-@@ -975,6 +983,7 @@
- return 1; /* End of data */
- prev_pos= 0; /* allowed to write at packet[-1] */
- pos=mysql->net.read_pos;
-+ end_pos=pos+pkt_len;
- for (field=0 ; field < fields ; field++)
- {
- if ((len=(ulong) net_field_length(&pos)) == NULL_LENGTH)
-@@ -984,6 +993,12 @@
- }
- else
- {
-+ if (len > end_pos - pos)
-+ {
-+ mysql->net.last_errno=CR_UNKNOWN_ERROR;
-+ strmov(mysql->net.last_error,ER(mysql->net.last_errno));
-+ return -1;
-+ }
- row[field] = (char*) pos;
- pos+=len;
- *lengths++=len;
diff --git a/databases/mysql-client/patches/patch-am b/databases/mysql-client/patches/patch-am
deleted file mode 100644
index 294a88d5b2a..00000000000
--- a/databases/mysql-client/patches/patch-am
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-am,v 1.1 2003/09/28 15:09:48 jdolecek Exp $
-
---- mysys/my_gethostbyname.c.orig Sun Sep 28 16:33:05 2003
-+++ mysys/my_gethostbyname.c Sun Sep 28 16:33:20 2003
-@@ -18,7 +18,6 @@
- /* Thread safe version of gethostbyname_r() */
-
- #include "mysys_priv.h"
--#include "my_pthread.h"
- #include <assert.h>
- #if !defined(MSDOS) && !defined(__WIN__)
- #include <netdb.h>