aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-01-25 08:44:33 +0800
committerdirk <dirk@FreeBSD.org>2001-01-25 08:44:33 +0800
commit899c82f6d3e7a9efaaaa197d445896be05a9fd36 (patch)
treed5dc1cda52f7bcc9c161a8bd2bcadd2d718d6165 /databases
parent3cbbffb6a21a04a49116230c3a61fafef0a002e0 (diff)
downloadfreebsd-ports-gnome-899c82f6d3e7a9efaaaa197d445896be05a9fd36.tar.gz
freebsd-ports-gnome-899c82f6d3e7a9efaaaa197d445896be05a9fd36.tar.zst
freebsd-ports-gnome-899c82f6d3e7a9efaaaa197d445896be05a9fd36.zip
Add support for BerkeleyDB table type.
This type allows SQL transactions (COMMIT, ROLLBACK). Note: BerkeleyDB is build as part of mysql323-server since mysql needs a special version of it. Thus we can't depend on databases/db3 at the moment.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql323-client/Makefile1
-rw-r--r--databases/mysql323-server/Makefile20
-rw-r--r--databases/mysql323-server/distinfo1
-rw-r--r--databases/mysql40-client/Makefile1
-rw-r--r--databases/mysql40-server/Makefile20
-rw-r--r--databases/mysql40-server/distinfo1
-rw-r--r--databases/mysql41-client/Makefile1
-rw-r--r--databases/mysql41-server/Makefile20
-rw-r--r--databases/mysql41-server/distinfo1
-rw-r--r--databases/mysql50-client/Makefile1
-rw-r--r--databases/mysql50-server/Makefile20
-rw-r--r--databases/mysql50-server/distinfo1
-rw-r--r--databases/mysql51-client/Makefile1
-rw-r--r--databases/mysql51-server/Makefile20
-rw-r--r--databases/mysql51-server/distinfo1
-rw-r--r--databases/mysql54-client/Makefile1
-rw-r--r--databases/mysql54-server/Makefile20
-rw-r--r--databases/mysql54-server/distinfo1
-rw-r--r--databases/mysql55-client/Makefile1
-rw-r--r--databases/mysql55-server/Makefile20
-rw-r--r--databases/mysql55-server/distinfo1
-rw-r--r--databases/mysql60-client/Makefile1
-rw-r--r--databases/mysql60-server/Makefile20
-rw-r--r--databases/mysql60-server/distinfo1
-rw-r--r--databases/percona55-client/Makefile1
-rw-r--r--databases/percona55-server/Makefile20
-rw-r--r--databases/percona55-server/distinfo1
27 files changed, 153 insertions, 45 deletions
diff --git a/databases/mysql323-client/Makefile b/databases/mysql323-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql323-client/Makefile
+++ b/databases/mysql323-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql323-server/distinfo b/databases/mysql323-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql323-server/distinfo
+++ b/databases/mysql323-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql40-client/Makefile b/databases/mysql40-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql40-client/Makefile
+++ b/databases/mysql40-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql40-server/distinfo b/databases/mysql40-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql40-server/distinfo
+++ b/databases/mysql40-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql41-client/Makefile b/databases/mysql41-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql41-client/Makefile
+++ b/databases/mysql41-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql41-server/distinfo b/databases/mysql41-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql41-server/distinfo
+++ b/databases/mysql41-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql50-client/Makefile b/databases/mysql50-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql50-client/Makefile
+++ b/databases/mysql50-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql50-server/distinfo b/databases/mysql50-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql50-server/distinfo
+++ b/databases/mysql50-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql51-client/Makefile b/databases/mysql51-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql51-client/Makefile
+++ b/databases/mysql51-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql51-server/distinfo
+++ b/databases/mysql51-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql54-client/Makefile b/databases/mysql54-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql54-client/Makefile
+++ b/databases/mysql54-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql54-server/distinfo b/databases/mysql54-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql54-server/distinfo
+++ b/databases/mysql54-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql55-server/distinfo b/databases/mysql55-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql55-server/distinfo
+++ b/databases/mysql55-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/mysql60-client/Makefile b/databases/mysql60-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/mysql60-client/Makefile
+++ b/databases/mysql60-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/mysql60-server/distinfo b/databases/mysql60-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/mysql60-server/distinfo
+++ b/databases/mysql60-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53
diff --git a/databases/percona55-client/Makefile b/databases/percona55-client/Makefile
index 5d9cff333a25..03171ecb0cce 100644
--- a/databases/percona55-client/Makefile
+++ b/databases/percona55-client/Makefile
@@ -6,6 +6,7 @@
#
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
+PORTREVISION= 0
MASTERDIR= ${.CURDIR}/../mysql323-server
COMMENT= ${PKGDIR}/pkg-comment.client
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 86eefe6d71d0..b839c992d391 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -7,15 +7,18 @@
PORTNAME?= ${MASTERPORTNAME}
PORTVERSION= 3.23.32
+PORTREVISION?= 1
CATEGORIES= databases
-MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \
- http://www.mysql.net/Downloads/MySQL-3.23/ \
- http://mysql.he.net/Downloads/MySQL-3.23/ \
- ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/
-DISTNAME= mysql-${PORTVERSION}
+MASTER_SITES= http://www.kernelnotes.de/MySQL/Downloads/%SUBDIR%/ \
+ http://www.mysql.net/Downloads/%SUBDIR%/ \
+ http://mysql.he.net/Downloads/%SUBDIR%/ \
+ ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR= MySQL-3.23
+DISTFILES= mysql-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= dirk@FreeBSD.org
+WRKSRC= ${WRKDIR}/mysql-${PORTVERSION}
SLAVEDIRS= databases/mysql323-client
MASTERPORTNAME= mysql-server
DB_DIR?= /var/db/mysql
@@ -47,10 +50,17 @@ CXXFLAGS+= -fno-exceptions
# MySQL-Server part
.if !defined(CLIENT_ONLY)
+MASTER_SITE_SUBDIR+= db
+DISTFILES+= db-${BDBVERSION}${EXTRACT_SUFX}
+
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+BDBVERSION= 3.2.3h
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+pre-configure:
+ cd ${WRKSRC} && ${LN} -s ../db-${BDBVERSION}
+
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
diff --git a/databases/percona55-server/distinfo b/databases/percona55-server/distinfo
index 48b243b07213..17270ba3e33d 100644
--- a/databases/percona55-server/distinfo
+++ b/databases/percona55-server/distinfo
@@ -1 +1,2 @@
MD5 (mysql-3.23.32.tar.gz) = a25ee394377a9d8c14bb9fbd3f84fafa
+MD5 (db-3.2.3h.tar.gz) = 7a4a88daa29268eebb57ff2ed58dff53