From 899c82f6d3e7a9efaaaa197d445896be05a9fd36 Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 25 Jan 2001 00:44:33 +0000 Subject: 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. --- databases/mysql55-server/Makefile | 20 +++++++++++++++----- databases/mysql55-server/distinfo | 1 + 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'databases/mysql55-server') 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 -- cgit