Upgrade mysql50-server/client to 5.0.33

Anders Nordby anders at FreeBSD.org
Mon Jan 22 16:03:14 UTC 2007


Hi,

The following patch updates the port to 5.0.33. Time to update it?

The release notes:
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-33.html

Cheers,

-- 
Anders.
-------------- next part --------------
diff -Nur mysql50-server.old/Makefile mysql50-server/Makefile
--- mysql50-server.old/Makefile	Mon Jan 22 12:41:03 2007
+++ mysql50-server/Makefile	Mon Jan 22 15:38:20 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME?=	mysql
-PORTVERSION=	5.0.27
+PORTVERSION=	5.0.33
 PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	${MASTER_SITE_MYSQL}
@@ -125,7 +125,7 @@
 PLIST_SUB+=	NDB="@comment "
 .endif
 
-MAN1=		myisamchk.1 myisamlog.1 myisampack.1 mysqld.1 \
+MAN1=		myisamchk.1 myisamlog.1 myisampack.1 \
 		mysqld_safe.1 mysql.server.1 perror.1 replace.1
 
 INFO=		mysql
diff -Nur mysql50-server.old/distinfo mysql50-server/distinfo
--- mysql50-server.old/distinfo	Mon Nov  6 00:26:09 2006
+++ mysql50-server/distinfo	Mon Jan 22 13:02:08 2007
@@ -1,3 +1,3 @@
-MD5 (mysql-5.0.27.tar.gz) = 584d423440a9d9c859678e3d4f2690b3
-SHA256 (mysql-5.0.27.tar.gz) = 08dc9a7b4adb766b2fb8390804147822f1772aa4bd2e06ca7764bc85010c73a7
-SIZE (mysql-5.0.27.tar.gz) = 25867740
+MD5 (mysql-5.0.33.tar.gz) = 10cb85276a1468c7906a4ff4dd565d61
+SHA256 (mysql-5.0.33.tar.gz) = 20d8b387436f2255c13eaafc1c9e08c15b9ef64d411d4b04f05c3cdc01772da2
+SIZE (mysql-5.0.33.tar.gz) = 23045481
diff -Nur mysql50-server.old/files/patch-include__mysql_com.h mysql50-server/files/patch-include__mysql_com.h
--- mysql50-server.old/files/patch-include__mysql_com.h	Wed Sep 27 16:23:28 2006
+++ mysql50-server/files/patch-include__mysql_com.h	Thu Jan  1 01:00:00 1970
@@ -1,21 +0,0 @@
-#
-# Apply fix for MySQL bug http://bugs.mysql.com/bug.php?id=22227
-#
---- include/mysql_com.h.orig	Fri Aug 25 18:11:46 2006
-+++ include/mysql_com.h	Wed Sep 27 10:02:44 2006
-@@ -134,11 +134,11 @@
- #define CLIENT_TRANSACTIONS	8192	/* Client knows about transactions */
- #define CLIENT_RESERVED         16384   /* Old flag for 4.1 protocol  */
- #define CLIENT_SECURE_CONNECTION 32768  /* New 4.1 authentication */
--#define CLIENT_MULTI_STATEMENTS (((ulong) 1) << 16)   /* Enable/disable multi-stmt support */
--#define CLIENT_MULTI_RESULTS    (((ulong) 1) << 17)  /* Enable/disable multi-results */
-+#define CLIENT_MULTI_STATEMENTS (1UL << 16)   /* Enable/disable multi-stmt support */
-+#define CLIENT_MULTI_RESULTS    (1UL << 17)  /* Enable/disable multi-results */
- 
--#define CLIENT_SSL_VERIFY_SERVER_CERT	(((ulong) 1) << 30)
--#define CLIENT_REMEMBER_OPTIONS	(((ulong) 1) << 31)
-+#define CLIENT_SSL_VERIFY_SERVER_CERT	(1UL << 30)
-+#define CLIENT_REMEMBER_OPTIONS	(1UL << 31)
- 
- #define SERVER_STATUS_IN_TRANS     1	/* Transaction has started */
- #define SERVER_STATUS_AUTOCOMMIT   2	/* Server in auto_commit mode */


More information about the freebsd-ports mailing list