diff options
author | dirk <dirk@FreeBSD.org> | 2001-01-25 08:44:33 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-01-25 08:44:33 +0800 |
commit | 899c82f6d3e7a9efaaaa197d445896be05a9fd36 (patch) | |
tree | d5dc1cda52f7bcc9c161a8bd2bcadd2d718d6165 /databases/mysql54-server | |
parent | 3cbbffb6a21a04a49116230c3a61fafef0a002e0 (diff) | |
download | freebsd-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/mysql54-server')
-rw-r--r-- | databases/mysql54-server/Makefile | 20 | ||||
-rw-r--r-- | databases/mysql54-server/distinfo | 1 |
2 files changed, 16 insertions, 5 deletions
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 |