diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-01-25 00:44:33 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-01-25 00:44:33 +0000 |
commit | d296dcf10c6834b452eb547550852ceaa2438921 (patch) | |
tree | 1a3e95c14a7f5019791cf5431ae660b8348e13d7 /databases/mysql323-server | |
parent | Bug fixes and paranoia: (diff) |
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/mysql323-server')
-rw-r--r-- | databases/mysql323-server/Makefile | 20 | ||||
-rw-r--r-- | databases/mysql323-server/distinfo | 1 |
2 files changed, 16 insertions, 5 deletions
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 |