Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2003 18:36:20 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50829: [New Port] MySQL 4.1.0
Message-ID:  <200304111636.h3BGaJqJ080632@vaio.alexdupre.com>
Resent-Message-ID: <200304111640.h3BGeAJw038693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50829
>Category:       ports
>Synopsis:       [New Port] MySQL 4.1.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 09:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 4.8-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD 4.8-ALEXDUPRE i386
>Description:
Port of the new MySQL 4.1 serie (Support for subqueries and derived tables,
Speed enhancements, Support for OpenGIS, Unicode UTF8 support, etc.)
Diff from mysql40-* ports.
Need repo-copy from above ports.

Note:
Probably because of a bug in GNU tar, the tarball is very large. I've already
informed MySQL AB of the problem and it'll be fixed in 4.1.1 release.
In any case it's not a problem for the port and I prefered to not repackage it.
>How-To-Repeat:
>Fix:

--- mysql41.diff begins here ---
diff -ruN mysql40-server/Makefile mysql41-server/Makefile
--- mysql40-server/Makefile	Sat Apr  5 08:02:24 2003
+++ mysql41-server/Makefile	Fri Apr 11 12:17:17 2003
@@ -1,33 +1,34 @@
 # New ports collection makefile for:    MySQL-server
-# Date created:         Sun Mar 3 12:20:35 CET 2002
+# Date created:         Fri Apr 11 10:06:26 CET 2003
 # Whom:                 Alex Dupre <sysadmin@alexdupre.com>
 #
-# $FreeBSD: ports/databases/mysql40-server/Makefile,v 1.165 2003/04/04 05:21:35 nork Exp $
+# $FreeBSD$
 #
 
 PORTNAME?=	mysql
-PORTVERSION=	4.0.12
-PORTREVISION?=	1
+PORTVERSION=	4.1.0
+PORTREVISION?=	0
 CATEGORIES=	databases
-MASTER_SITES=	ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.0/ \
-		http://mysql.tzone.it/Downloads/MySQL-4.0/ \
-		ftp://planetmirror.com/pub/mysql/Downloads/MySQL-4.0/ \
-		http://www.softagency.co.jp/MySQL/Downloads/MySQL-4.0/ \
-		ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-4.0/ \
-		http://mysql.mediatraffic.fi/Downloads/MySQL-4.0/ \
-		ftp://filepile.tiscali.de/mirror/mysql/Downloads/MySQL-4.0/ \
-		http://mirrors.tilian.co.uk/mysql.com/Downloads/MySQL-4.0/ \
-		ftp://ftp.rtfm.no/pub/mysql/Downloads/MySQL-4.0/ \
-		http://www.mysql.cz/Downloads/MySQL-4.0/ \
-		ftp://ftp.u-paris10.fr/mysql.com/Downloads/MySQL-4.0/ \
-		http://mysql.oms-net.nl/Downloads/MySQL-4.0/ \
-		ftp://ftp.free.fr/pub/MySQL/Downloads/MySQL-4.0/
+MASTER_SITES=	ftp://mysql.secsup.org/pub/software/mysql/Downloads/MySQL-4.1/ \
+		http://mysql.tzone.it/Downloads/MySQL-4.1/ \
+		ftp://planetmirror.com/pub/mysql/Downloads/MySQL-4.1/ \
+		http://www.softagency.co.jp/MySQL/Downloads/MySQL-4.1/ \
+		ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-4.1/ \
+		http://mysql.mediatraffic.fi/Downloads/MySQL-4.1/ \
+		ftp://filepile.tiscali.de/mirror/mysql/Downloads/MySQL-4.1/ \
+		http://mirrors.tilian.co.uk/mysql.com/Downloads/MySQL-4.1/ \
+		ftp://ftp.rtfm.no/pub/mysql/Downloads/MySQL-4.1/ \
+		http://www.mysql.cz/Downloads/MySQL-4.1/ \
+		ftp://ftp.u-paris10.fr/mysql.com/Downloads/MySQL-4.1/ \
+		http://mysql.oms-net.nl/Downloads/MySQL-4.1/ \
+		ftp://ftp.free.fr/pub/MySQL/Downloads/MySQL-4.1/
 PKGNAMESUFFIX?=	-server
+DISTNAME=	${PORTNAME}-${PORTVERSION}-alpha
 
 MAINTAINER=	sysadmin@alexdupre.com
 COMMENT?=	Multithreaded SQL database (server)
 
-SLAVEDIRS=	databases/mysql40-client
+SLAVEDIRS=	databases/mysql41-client
 DB_DIR?=	/var/db/mysql
 USE_LIBTOOL=	yes
 USE_REINPLACE=	yes
@@ -37,6 +38,7 @@
 CONFIGURE_ARGS=	--localstatedir=${DB_DIR} \
 		--without-debug \
 		--without-readline \
+		--without-libedit \
 		--without-bench \
 		--without-extra-tools \
 		--with-libwrap \
@@ -95,10 +97,10 @@
 .if !defined(CLIENT_ONLY)
 USE_PERL5_RUN=	yes
 
-RUN_DEPENDS=	mysql:${PORTSDIR}/databases/mysql40-client \
+RUN_DEPENDS=	mysql:${PORTSDIR}/databases/mysql41-client \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
 
-PLIST_SUB=	MYSQL_VERSION=${PORTVERSION}
+PLIST_SUB=	MYSQL_VERSION=${PORTVERSION}-alpha
 
 ONLY_FOR_ARCHS=	i386 alpha sparc64
 
diff -ruN mysql40-server/distinfo mysql41-server/distinfo
--- mysql40-server/distinfo	Tue Mar 25 14:39:30 2003
+++ mysql41-server/distinfo	Fri Apr 11 10:26:02 2003
@@ -1 +1 @@
-MD5 (mysql-4.0.12.tar.gz) = 7d7696ecad5018939735049c0e87132f
+MD5 (mysql-4.1.0-alpha.tar.gz) = a3e9be29f98a3e8c81e996d3f4248afb
diff -ruN mysql40-server/files/patch-Makefile.in mysql41-server/files/patch-Makefile.in
--- mysql40-server/files/patch-Makefile.in	Tue Mar 25 14:39:30 2003
+++ mysql41-server/files/patch-Makefile.in	Fri Apr 11 10:52:08 2003
@@ -1,16 +1,16 @@
---- Makefile.in.orig	Thu Feb 20 20:58:01 2003
-+++ Makefile.in	Thu Feb 27 12:27:18 2003
+--- Makefile.in.orig	Fri Apr 11 10:50:40 2003
++++ Makefile.in	Fri Apr 11 10:51:55 2003
 @@ -212,12 +212,7 @@
  EXTRA_DIST = INSTALL-SOURCE README \
  			COPYING COPYING.LIB
  
--SUBDIRS = . include @docs_dirs@ @readline_dir@ \
+-SUBDIRS = . include @docs_dirs@ \
+-			@readline_topdir@ \
 -			@thread_dirs@ pstack @sql_client_dirs@ \
 -			@sql_server_dirs@ scripts man tests \
 -			BUILD @netware_dir@ os2 @libmysqld_dirs@ \
 -			@bench_dirs@ support-files @fs_dirs@ @tools_dirs@
--
 +SUBDIRS =
  
+ 
  # Relink after clean
- linked_sources = linked_client_sources linked_server_sources \
diff -ruN mysql40-server/pkg-plist mysql41-server/pkg-plist
--- mysql40-server/pkg-plist	Tue Mar 25 14:39:30 2003
+++ mysql41-server/pkg-plist	Fri Apr 11 12:35:02 2003
@@ -99,33 +99,33 @@
 share/mysql/Description.plist
 share/mysql/Info.plist
 share/mysql/StartupParameters.plist
-share/mysql/binary-configure
 share/mysql/postinstall
 share/mysql/preinstall
-share/mysql/charsets/Index
+share/mysql/charsets/Index.xml
 share/mysql/charsets/README
-share/mysql/charsets/cp1251.conf
-share/mysql/charsets/cp1257.conf
-share/mysql/charsets/croat.conf
-share/mysql/charsets/danish.conf
-share/mysql/charsets/dec8.conf
-share/mysql/charsets/dos.conf
-share/mysql/charsets/estonia.conf
-share/mysql/charsets/german1.conf
-share/mysql/charsets/greek.conf
-share/mysql/charsets/hebrew.conf
-share/mysql/charsets/hp8.conf
-share/mysql/charsets/hungarian.conf
-share/mysql/charsets/koi8_ru.conf
-share/mysql/charsets/koi8_ukr.conf
-share/mysql/charsets/latin1.conf
-share/mysql/charsets/latin2.conf
-share/mysql/charsets/latin5.conf
-share/mysql/charsets/swe7.conf
-share/mysql/charsets/usa7.conf
-share/mysql/charsets/win1250.conf
-share/mysql/charsets/win1251.conf
-share/mysql/charsets/win1251ukr.conf
+share/mysql/charsets/armscii8.xml
+share/mysql/charsets/ascii.xml
+share/mysql/charsets/cp1250.xml
+share/mysql/charsets/cp1251.xml
+share/mysql/charsets/cp1256.xml
+share/mysql/charsets/cp1257.xml
+share/mysql/charsets/cp850.xml
+share/mysql/charsets/cp852.xml
+share/mysql/charsets/cp866.xml
+share/mysql/charsets/dec8.xml
+share/mysql/charsets/greek.xml
+share/mysql/charsets/hebrew.xml
+share/mysql/charsets/hp8.xml
+share/mysql/charsets/keybcs2.xml
+share/mysql/charsets/koi8r.xml
+share/mysql/charsets/koi8u.xml
+share/mysql/charsets/latin1.xml
+share/mysql/charsets/latin2.xml
+share/mysql/charsets/latin5.xml
+share/mysql/charsets/latin7.xml
+share/mysql/charsets/macce.xml
+share/mysql/charsets/macroman.xml
+share/mysql/charsets/swe7.xml
 share/mysql/czech/errmsg.sys
 share/mysql/czech/errmsg.txt
 share/mysql/danish/errmsg.sys
@@ -136,6 +136,7 @@
 share/mysql/english/errmsg.txt
 share/mysql/estonian/errmsg.sys
 share/mysql/estonian/errmsg.txt
+share/mysql/fill_help_tables.sql
 share/mysql/french/errmsg.sys
 share/mysql/french/errmsg.txt
 share/mysql/german/errmsg.sys
@@ -150,7 +151,6 @@
 share/mysql/japanese/errmsg.txt
 share/mysql/korean/errmsg.sys
 share/mysql/korean/errmsg.txt
-share/mysql/make_binary_distribution
 share/mysql/mi_test_all
 share/mysql/mi_test_all.res
 share/mysql/my-huge.cnf
diff -ruN mysql40-server/pkg-plist.client mysql41-server/pkg-plist.client
--- mysql40-server/pkg-plist.client	Wed Mar 26 08:01:32 2003
+++ mysql41-server/pkg-plist.client	Fri Apr 11 12:16:13 2003
@@ -9,12 +9,12 @@
 bin/mysqlshow
 bin/mysqltest
 etc/rc.d/000.mysql-client.sh
-include/mysql/dbug.h
 include/mysql/errmsg.h
 include/mysql/m_ctype.h
 include/mysql/m_string.h
 include/mysql/my_alloc.h
 include/mysql/my_config.h
+include/mysql/my_dbug.h
 include/mysql/my_dir.h
 include/mysql/my_getopt.h
 include/mysql/my_global.h
@@ -24,6 +24,7 @@
 include/mysql/my_pthread.h
 include/mysql/my_semaphore.h
 include/mysql/my_sys.h
+include/mysql/my_xml.h
 include/mysql/mysql.h
 include/mysql/mysql_com.h
 include/mysql/mysql_embed.h
@@ -33,11 +34,12 @@
 include/mysql/sslopt-case.h
 include/mysql/sslopt-longopts.h
 include/mysql/sslopt-vars.h
+include/mysql/typelib.h
 lib/mysql/libmysqlclient.a
 lib/mysql/libmysqlclient.so
-lib/mysql/libmysqlclient.so.12
+lib/mysql/libmysqlclient.so.14
 lib/mysql/libmysqlclient_r.a
 lib/mysql/libmysqlclient_r.so
-lib/mysql/libmysqlclient_r.so.12
+lib/mysql/libmysqlclient_r.so.14
 @dirrm include/mysql
 @dirrm lib/mysql
diff -ruN mysql40-client/Makefile mysql41-client/Makefile
--- mysql40-client/Makefile	Sat Apr  5 08:02:24 2003
+++ mysql41-client/Makefile	Fri Apr 11 10:11:00 2003
@@ -1,15 +1,15 @@
 # New ports collection makefile for:    MySQL-client
-# Date created:         Sun Mar 3 12:20:35 CET 2002
+# Date created:         Fri Apr 11 10:06:26 CET 2003
 # Whom:                 Alex Dupre <sysadmin@alexdupre.com>
 #
-# $FreeBSD: ports/databases/mysql40-client/Makefile,v 1.85 2003/04/04 05:21:36 nork Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	mysql
-PORTREVISION=	2
+PORTREVISION=	0
 PKGNAMESUFFIX=	-client
 
-MASTERDIR=	${.CURDIR}/../mysql40-server
+MASTERDIR=	${.CURDIR}/../mysql41-server
 COMMENT=	Multithreaded SQL database (client)
 PKGINSTALL=	mustnotexist
 PLIST=		${PKGDIR}/pkg-plist.client
--- mysql41.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304111636.h3BGaJqJ080632>