ports/97502: Update port: databases/mysql40-server to 4.0.27
Marcus Alves Grando
mnag at FreeBSD.org
Fri May 19 19:40:17 UTC 2006
>Number: 97502
>Category: ports
>Synopsis: Update port: databases/mysql40-server to 4.0.27
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri May 19 19:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Marcus Alves Grando
>Release: FreeBSD 6.1-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu May 18 01:57:35 BRT 2006 root at marcus.grupos.com.br:/space/obj/usr/src/sys/MARCUS i386
>Description:
- Update to 4.0.27
Security: CVE-2006-1516, CVE-2006-1517
Note: Already tested in tinderbox (4-STABLE, 6-STABLE).
>How-To-Repeat:
>Fix:
--- mysql40.patch begins here ---
Index: mysql40-client/Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/mysql40-client/Makefile,v
retrieving revision 1.88
diff -u -r1.88 Makefile
--- mysql40-client/Makefile 12 Jan 2006 08:57:43 -0000 1.88
+++ mysql40-client/Makefile 19 May 2006 19:09:17 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= mysql
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -client
COMMENT= Multithreaded SQL database (client)
Index: mysql40-scripts/Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/mysql40-scripts/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- mysql40-scripts/Makefile 7 Mar 2006 16:24:59 -0000 1.5
+++ mysql40-scripts/Makefile 19 May 2006 19:09:17 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= mysql
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -scripts
COMMENT= Multithreaded SQL database (scripts)
Index: mysql40-server/Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/mysql40-server/Makefile,v
retrieving revision 1.205
diff -u -r1.205 Makefile
--- mysql40-server/Makefile 4 May 2006 21:40:01 -0000 1.205
+++ mysql40-server/Makefile 19 May 2006 19:09:17 -0000
@@ -6,8 +6,8 @@
#
PORTNAME?= mysql
-PORTVERSION= 4.0.26
-PORTREVISION?= 2
+PORTVERSION= 4.0.27
+PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-4.0
@@ -126,7 +126,7 @@
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
.if defined(WITH_PROC_SCOPE_PTH)
@@ -157,7 +157,7 @@
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ tests scripts man|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysql_fix_privilege_tables mysqlbug|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
.if defined(WITH_PROC_SCOPE_PTH)
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
@@ -190,7 +190,7 @@
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = scripts man|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = ${SCRIPTS}|g" ${WRKSRC}/scripts/Makefile.in
- @${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
.endif
.endif
# Common part
Index: mysql40-server/distinfo
===================================================================
RCS file: /home/pcvs/ports/databases/mysql40-server/distinfo,v
retrieving revision 1.83
diff -u -r1.83 distinfo
--- mysql40-server/distinfo 22 Jan 2006 08:23:21 -0000 1.83
+++ mysql40-server/distinfo 19 May 2006 19:09:17 -0000
@@ -1,3 +1,3 @@
-MD5 (mysql-4.0.26.tar.gz) = 4e2060a3875470e0d853391e8647a019
-SHA256 (mysql-4.0.26.tar.gz) = 571186c57c576dab262df4c2f2008254e1b083d5c2c14e17956e0a904de741dd
-SIZE (mysql-4.0.26.tar.gz) = 11144366
+MD5 (mysql-4.0.27.tar.gz) = 315f88a902c59e230212b3ccf137f92f
+SHA256 (mysql-4.0.27.tar.gz) = c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f
+SIZE (mysql-4.0.27.tar.gz) = 11152643
Index: mysql40-server/files/patch-man::Makefile.in
===================================================================
RCS file: /home/pcvs/ports/databases/mysql40-server/files/patch-man::Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 patch-man::Makefile.in
--- mysql40-server/files/patch-man::Makefile.in 9 Jan 2005 13:20:47 -0000 1.2
+++ mysql40-server/files/patch-man::Makefile.in 19 May 2006 19:09:17 -0000
@@ -1,13 +1,11 @@
---- man/Makefile.in.orig Mon Dec 27 16:29:53 2004
-+++ man/Makefile.in Sun Jan 9 10:26:07 2005
-@@ -290,9 +290,7 @@
+--- man/Makefile.in.orig Sat May 6 15:56:15 2006
++++ man/Makefile.in Fri May 19 15:59:41 2006
+@@ -293,7 +293,7 @@
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 =
+-man1_MANS = @man1_files@
++man1_MANS =
+ EXTRA_DIST = $(man1_MANS)
+ all: all-am
- 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 \
--- mysql40.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list