pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql-server Update to nb5: Add patch from



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ceeff990503
branches:  trunk
changeset: 461562:0ceeff990503
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 17 21:03:07 2003 +0000

description:
Update to nb5: Add patch from
http://lists.netsys.com/pipermail/full-disclosure/2003-September/009819.html
against a vulnerability.

diffstat:

 databases/mysql-server/Makefile         |   4 ++--
 databases/mysql-server/distinfo         |   3 ++-
 databases/mysql-server/patches/patch-an |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 828f9535dc8d -r 0ceeff990503 databases/mysql-server/Makefile
--- a/databases/mysql-server/Makefile   Wed Sep 17 20:24:05 2003 +0000
+++ b/databases/mysql-server/Makefile   Wed Sep 17 21:03:07 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2003/09/01 12:00:26 seb Exp $
+# $NetBSD: Makefile,v 1.44 2003/09/17 21:03:07 wiz Exp $
 
 PKGNAME=               ${DISTNAME:S/-/-server-/}
-PKGREVISION=           4
+PKGREVISION=           5
 SVR4_PKGNAME=          mysqs
 COMMENT=               MySQL, a free SQL database (server)
 
diff -r 828f9535dc8d -r 0ceeff990503 databases/mysql-server/distinfo
--- a/databases/mysql-server/distinfo   Wed Sep 17 20:24:05 2003 +0000
+++ b/databases/mysql-server/distinfo   Wed Sep 17 21:03:07 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2003/01/21 08:13:19 lukem Exp $
+$NetBSD: distinfo,v 1.21 2003/09/17 21:03:08 wiz Exp $
 
 SHA1 (mysql-3.23.49.tar.gz) = 0256331c7aa9388955148f80cdca382f467ad1be
 Size (mysql-3.23.49.tar.gz) = 11844905 bytes
@@ -15,3 +15,4 @@
 SHA1 (patch-ak) = f484f0bd5b77e0475c7b693b51f5f5146795afa0
 SHA1 (patch-al) = 75b237ea28da2b44f05c0c0fb3493bba060004dc
 SHA1 (patch-am) = adc14bcc3bd21e5a522e1a732ded223b641a2ac7
+SHA1 (patch-an) = c42a40e8772eb4a59eacae71c416b62682ce78dd
diff -r 828f9535dc8d -r 0ceeff990503 databases/mysql-server/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql-server/patches/patch-an   Wed Sep 17 21:03:07 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.3 2003/09/17 21:03:11 wiz Exp $
+
+--- sql/sql_acl.cc.orig        Thu Feb 14 18:30:21 2002
++++ sql/sql_acl.cc
+@@ -206,7 +206,7 @@ int  acl_init(bool dont_read_acl_tables)
+                     "Found old style password for user '%s'. Ignoring user. (You may want to restart using --old-protocol)",
+                     user.user ? user.user : ""); /* purecov: tested */
+     }
+-    else if (length % 8)              // This holds true for passwords
++    else if (length % 8 || length > 16)               // This holds true for passwords
+     {
+       sql_print_error(
+                     "Found invalid password for user: '%s@%s'; Ignoring user",



Home | Main Index | Thread Index | Old Index