- this is a repocopied port

- db45 introduced in ports tree

PR:		ports/114821
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
This commit is contained in:
Cheng-Lung Sung 2007-07-31 09:18:11 +00:00
parent 3256214775
commit 053544fbdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196800
13 changed files with 265 additions and 390 deletions

View file

@ -29,6 +29,7 @@
SUBDIR += db42-nocrypto SUBDIR += db42-nocrypto
SUBDIR += db43 SUBDIR += db43
SUBDIR += db44 SUBDIR += db44
SUBDIR += db45
SUBDIR += db4o-mono SUBDIR += db4o-mono
SUBDIR += dbXML SUBDIR += dbXML
SUBDIR += dbconnect SUBDIR += dbconnect

View file

@ -1,75 +1,48 @@
# ports collection makefile for: Berkeley DB v4.4 # New ports collection makefile for: db45
# Date created: 2005-11-21 # Date created: 2007-05-10
# Whom: Matthias Andree <matthias.andree@gmx.de> # Whom: Gea-Suan Lin <gslin@gslin.org>
# #
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= db44 PORTNAME= db45
PORTVERSION= 4.4.20.4 PORTVERSION= 4.5.20.0
CATEGORIES= databases CATEGORIES= databases
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \ MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \ http://download-east.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/ http://download-uk.oracle.com/berkeley-db/
PKGNAMESUFFIX?= PKGNAMEPREFIX?=
DISTNAME= db-4.4.20 DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb DIST_SUBDIR= bdb
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ # I allow matthias.andree@gmx.de and all freebsd committer to do changes
PATCHFILES= patch.4.4.20.1 patch.4.4.20.2 patch.4.4.20.3 patch.4.4.20.4 # to this package.
PATCH_DIST_STRIP= -d .. MAINTAINER= gslin@gslin.org
# * patch.4.4.20.1: ----------------------------------------------------------- COMMENT= The Berkeley DB package, revision 4.5
# Fix a bug that could cause a trap during recovery if multiple operations that
# could remove the same extent were recovered. [#14061]
# * patch.4.4.20.2: -----------------------------------------------------------
# Fix a bug that could cause traps or hangs if the DB_TXN->set_name function is
# used in a multithreaded application. [#14033]
# * patch.4.4.20.3: -----------------------------------------------------------
# Fix a bug where cursor lookups on secondary databases with off-page
# duplicates could fail. [#14240]
# * patch.4.4.20.4: -----------------------------------------------------------
# Fix a bug where cache buffer retrieval could race with a checkpoint
# call, potentially causing database environment recovery to fail. [#14657]
MAINTAINER= matthias.andree@gmx.de
COMMENT= The Berkeley DB package, revision 4.4
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
BDBVER= ${PORTVERSION:R:R} BDBVER= ${PORTVERSION:R:R}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \ CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
--enable-cxx --enable-dynamic \ --enable-dynamic --enable-rpc --enable-pthread_api \
--enable-rpc \
--includedir=${PREFIX}/include/${PORTNAME} \ --includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME} \ --libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME} --bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
GNU_CONFIGURE= yes
INSTALL_TARGET= install_include install_lib install_utilities INSTALL_TARGET= install_include install_lib install_utilities
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR} INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= * PORTDOCS= *
.endif .endif
pre-patch:
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:
@${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
post-install: post-install:
.for i in libdb libdb_cxx .for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
.endfor .endfor
.if !defined(NOPORTDOCS)
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
.endif
cd ${PREFIX}/bin/${PORTNAME} ; \ cd ${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done

View file

@ -1,15 +1,3 @@
MD5 (bdb/db-4.4.20.tar.gz) = d84dff288a19186b136b0daf7067ade3 MD5 (bdb/db-4.5.20.tar.gz) = b0f1c777708cb8e9d37fb47e7ed3312d
SHA256 (bdb/db-4.4.20.tar.gz) = 298ab78801f7502016aa2db033b65fab46f323533bdc08610d3dabd910d63b79 SHA256 (bdb/db-4.5.20.tar.gz) = f52cd5cea899823dd200d56556f70b33c55e48a33bb7b65ee128968dc10ca82d
SIZE (bdb/db-4.4.20.tar.gz) = 7952742 SIZE (bdb/db-4.5.20.tar.gz) = 9281894
MD5 (bdb/patch.4.4.20.1) = 66584d621355df055b6e05b4a02e9c3e
SHA256 (bdb/patch.4.4.20.1) = 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869
SIZE (bdb/patch.4.4.20.1) = 867
MD5 (bdb/patch.4.4.20.2) = 85df93a0867f6cace3501671cdeb6ed1
SHA256 (bdb/patch.4.4.20.2) = 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc
SIZE (bdb/patch.4.4.20.2) = 721
MD5 (bdb/patch.4.4.20.3) = 88ee91889ebf5498b22b2e7bed945d41
SHA256 (bdb/patch.4.4.20.3) = ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236
SIZE (bdb/patch.4.4.20.3) = 1366
MD5 (bdb/patch.4.4.20.4) = c2ef7b3e59460c35950fab5f2faa3fc0
SHA256 (bdb/patch.4.4.20.4) = 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59
SIZE (bdb/patch.4.4.20.4) = 837

View file

@ -1,15 +1,11 @@
Version 4.4 of the Berkeley Data Base library which offers (key/value) storage Oracle Berkeley DB is a family of open source embeddable databases
with optional concurrent access or transactions interface. that allows developers to incorporate within their applications a
fast, scalable, transactional database engine with industrial grade
reliability and availability. As a result, customers and end-users
will experience an application that simply works, reliably manages
data, can scale under extreme load, but requires no ongoing database
administration. As a developer, you can focus on your application and
be confident that Oracle Berkeley DB will manage your persistence
needs.
This port will install the AES (American Encryption Standard) enabled version. WWW: http://www.oracle.com/database/berkeley-db.html
Utilities are included in the distribution to convert v1.85 databases to v4.4
databases, and a backwards compatible API is provided to maintain compatibility
with programs using the v1.85 interface.
For details on compatibility with other DB versions, see:
http://dev.sleepycat.com/downloads/releasehistorybdb.html
-- Matthias Andree
WWW: http://www.sleepycat.com/products/bdb.html

View file

@ -1,50 +1,51 @@
bin/db44/berkeley_db_svc @comment $FreeBSD$
bin/db44/db_archive bin/berkeley_db_svc-4.5
bin/db44/db_checkpoint bin/db45/berkeley_db_svc
bin/db44/db_deadlock bin/db45/db_archive
bin/db44/db_dump bin/db45/db_checkpoint
bin/db44/db_dump185 bin/db45/db_deadlock
bin/db44/db_hotbackup bin/db45/db_dump
bin/db44/db_load bin/db45/db_dump185
bin/db44/db_printlog bin/db45/db_hotbackup
bin/db44/db_recover bin/db45/db_load
bin/db44/db_stat bin/db45/db_printlog
bin/db44/db_upgrade bin/db45/db_recover
bin/db44/db_verify bin/db45/db_stat
bin/berkeley_db_svc-4.4 bin/db45/db_upgrade
bin/db_archive-4.4 bin/db45/db_verify
bin/db_checkpoint-4.4 bin/db_archive-4.5
bin/db_deadlock-4.4 bin/db_checkpoint-4.5
bin/db_dump-4.4 bin/db_deadlock-4.5
bin/db_dump185-4.4 bin/db_dump-4.5
bin/db_hotbackup-4.4 bin/db_dump185-4.5
bin/db_load-4.4 bin/db_hotbackup-4.5
bin/db_printlog-4.4 bin/db_load-4.5
bin/db_recover-4.4 bin/db_printlog-4.5
bin/db_stat-4.4 bin/db_recover-4.5
bin/db_upgrade-4.4 bin/db_stat-4.5
bin/db_verify-4.4 bin/db_upgrade-4.5
include/db44/db.h bin/db_verify-4.5
include/db44/db_185.h include/db45/db.h
include/db44/db_cxx.h include/db45/db_185.h
lib/db44/libdb-4.4.a include/db45/db_cxx.h
lib/db44/libdb-4.4.la lib/db45/libdb-4.5.a
lib/db44/libdb-4.4.so lib/db45/libdb-4.5.la
lib/db44/libdb-4.4.so.0 lib/db45/libdb-4.5.so
lib/db44/libdb-4.so lib/db45/libdb-4.5.so.0
lib/db44/libdb.a lib/db45/libdb-4.so
lib/db44/libdb.so lib/db45/libdb.a
lib/db44/libdb_cxx-4.4.a lib/db45/libdb.so
lib/db44/libdb_cxx-4.4.la lib/db45/libdb_cxx-4.5.a
lib/db44/libdb_cxx-4.4.so lib/db45/libdb_cxx-4.5.la
lib/db44/libdb_cxx-4.4.so.0 lib/db45/libdb_cxx-4.5.so
lib/db44/libdb_cxx-4.so lib/db45/libdb_cxx-4.5.so.0
lib/db44/libdb_cxx.a lib/db45/libdb_cxx-4.so
lib/db44/libdb_cxx.so lib/db45/libdb_cxx.a
lib/libdb-4.4.so lib/db45/libdb_cxx.so
lib/libdb-4.4.so.0 lib/libdb-4.5.so
lib/libdb_cxx-4.4.so lib/libdb-4.5.so.0
lib/libdb_cxx-4.4.so.0 lib/libdb_cxx-4.5.so
@dirrm lib/db44 lib/libdb_cxx-4.5.so.0
@dirrm include/db44 @dirrmtry lib/db45
@dirrm bin/db44 @dirrmtry include/db45
@dirrmtry bin/db45

View file

@ -1,75 +1,48 @@
# ports collection makefile for: Berkeley DB v4.4 # New ports collection makefile for: db45
# Date created: 2005-11-21 # Date created: 2007-05-10
# Whom: Matthias Andree <matthias.andree@gmx.de> # Whom: Gea-Suan Lin <gslin@gslin.org>
# #
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= db44 PORTNAME= db45
PORTVERSION= 4.4.20.4 PORTVERSION= 4.5.20.0
CATEGORIES= databases CATEGORIES= databases
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \ MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \ http://download-east.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/ http://download-uk.oracle.com/berkeley-db/
PKGNAMESUFFIX?= PKGNAMEPREFIX?=
DISTNAME= db-4.4.20 DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb DIST_SUBDIR= bdb
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ # I allow matthias.andree@gmx.de and all freebsd committer to do changes
PATCHFILES= patch.4.4.20.1 patch.4.4.20.2 patch.4.4.20.3 patch.4.4.20.4 # to this package.
PATCH_DIST_STRIP= -d .. MAINTAINER= gslin@gslin.org
# * patch.4.4.20.1: ----------------------------------------------------------- COMMENT= The Berkeley DB package, revision 4.5
# Fix a bug that could cause a trap during recovery if multiple operations that
# could remove the same extent were recovered. [#14061]
# * patch.4.4.20.2: -----------------------------------------------------------
# Fix a bug that could cause traps or hangs if the DB_TXN->set_name function is
# used in a multithreaded application. [#14033]
# * patch.4.4.20.3: -----------------------------------------------------------
# Fix a bug where cursor lookups on secondary databases with off-page
# duplicates could fail. [#14240]
# * patch.4.4.20.4: -----------------------------------------------------------
# Fix a bug where cache buffer retrieval could race with a checkpoint
# call, potentially causing database environment recovery to fail. [#14657]
MAINTAINER= matthias.andree@gmx.de
COMMENT= The Berkeley DB package, revision 4.4
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
BDBVER= ${PORTVERSION:R:R} BDBVER= ${PORTVERSION:R:R}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \ CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
--enable-cxx --enable-dynamic \ --enable-dynamic --enable-rpc --enable-pthread_api \
--enable-rpc \
--includedir=${PREFIX}/include/${PORTNAME} \ --includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME} \ --libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME} --bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
GNU_CONFIGURE= yes
INSTALL_TARGET= install_include install_lib install_utilities INSTALL_TARGET= install_include install_lib install_utilities
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR} INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= * PORTDOCS= *
.endif .endif
pre-patch:
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:
@${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
post-install: post-install:
.for i in libdb libdb_cxx .for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
.endfor .endfor
.if !defined(NOPORTDOCS)
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
.endif
cd ${PREFIX}/bin/${PORTNAME} ; \ cd ${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done

View file

@ -1,15 +1,3 @@
MD5 (bdb/db-4.4.20.tar.gz) = d84dff288a19186b136b0daf7067ade3 MD5 (bdb/db-4.5.20.tar.gz) = b0f1c777708cb8e9d37fb47e7ed3312d
SHA256 (bdb/db-4.4.20.tar.gz) = 298ab78801f7502016aa2db033b65fab46f323533bdc08610d3dabd910d63b79 SHA256 (bdb/db-4.5.20.tar.gz) = f52cd5cea899823dd200d56556f70b33c55e48a33bb7b65ee128968dc10ca82d
SIZE (bdb/db-4.4.20.tar.gz) = 7952742 SIZE (bdb/db-4.5.20.tar.gz) = 9281894
MD5 (bdb/patch.4.4.20.1) = 66584d621355df055b6e05b4a02e9c3e
SHA256 (bdb/patch.4.4.20.1) = 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869
SIZE (bdb/patch.4.4.20.1) = 867
MD5 (bdb/patch.4.4.20.2) = 85df93a0867f6cace3501671cdeb6ed1
SHA256 (bdb/patch.4.4.20.2) = 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc
SIZE (bdb/patch.4.4.20.2) = 721
MD5 (bdb/patch.4.4.20.3) = 88ee91889ebf5498b22b2e7bed945d41
SHA256 (bdb/patch.4.4.20.3) = ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236
SIZE (bdb/patch.4.4.20.3) = 1366
MD5 (bdb/patch.4.4.20.4) = c2ef7b3e59460c35950fab5f2faa3fc0
SHA256 (bdb/patch.4.4.20.4) = 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59
SIZE (bdb/patch.4.4.20.4) = 837

View file

@ -1,15 +1,11 @@
Version 4.4 of the Berkeley Data Base library which offers (key/value) storage Oracle Berkeley DB is a family of open source embeddable databases
with optional concurrent access or transactions interface. that allows developers to incorporate within their applications a
fast, scalable, transactional database engine with industrial grade
reliability and availability. As a result, customers and end-users
will experience an application that simply works, reliably manages
data, can scale under extreme load, but requires no ongoing database
administration. As a developer, you can focus on your application and
be confident that Oracle Berkeley DB will manage your persistence
needs.
This port will install the AES (American Encryption Standard) enabled version. WWW: http://www.oracle.com/database/berkeley-db.html
Utilities are included in the distribution to convert v1.85 databases to v4.4
databases, and a backwards compatible API is provided to maintain compatibility
with programs using the v1.85 interface.
For details on compatibility with other DB versions, see:
http://dev.sleepycat.com/downloads/releasehistorybdb.html
-- Matthias Andree
WWW: http://www.sleepycat.com/products/bdb.html

View file

@ -1,50 +1,51 @@
bin/db44/berkeley_db_svc @comment $FreeBSD$
bin/db44/db_archive bin/berkeley_db_svc-4.5
bin/db44/db_checkpoint bin/db45/berkeley_db_svc
bin/db44/db_deadlock bin/db45/db_archive
bin/db44/db_dump bin/db45/db_checkpoint
bin/db44/db_dump185 bin/db45/db_deadlock
bin/db44/db_hotbackup bin/db45/db_dump
bin/db44/db_load bin/db45/db_dump185
bin/db44/db_printlog bin/db45/db_hotbackup
bin/db44/db_recover bin/db45/db_load
bin/db44/db_stat bin/db45/db_printlog
bin/db44/db_upgrade bin/db45/db_recover
bin/db44/db_verify bin/db45/db_stat
bin/berkeley_db_svc-4.4 bin/db45/db_upgrade
bin/db_archive-4.4 bin/db45/db_verify
bin/db_checkpoint-4.4 bin/db_archive-4.5
bin/db_deadlock-4.4 bin/db_checkpoint-4.5
bin/db_dump-4.4 bin/db_deadlock-4.5
bin/db_dump185-4.4 bin/db_dump-4.5
bin/db_hotbackup-4.4 bin/db_dump185-4.5
bin/db_load-4.4 bin/db_hotbackup-4.5
bin/db_printlog-4.4 bin/db_load-4.5
bin/db_recover-4.4 bin/db_printlog-4.5
bin/db_stat-4.4 bin/db_recover-4.5
bin/db_upgrade-4.4 bin/db_stat-4.5
bin/db_verify-4.4 bin/db_upgrade-4.5
include/db44/db.h bin/db_verify-4.5
include/db44/db_185.h include/db45/db.h
include/db44/db_cxx.h include/db45/db_185.h
lib/db44/libdb-4.4.a include/db45/db_cxx.h
lib/db44/libdb-4.4.la lib/db45/libdb-4.5.a
lib/db44/libdb-4.4.so lib/db45/libdb-4.5.la
lib/db44/libdb-4.4.so.0 lib/db45/libdb-4.5.so
lib/db44/libdb-4.so lib/db45/libdb-4.5.so.0
lib/db44/libdb.a lib/db45/libdb-4.so
lib/db44/libdb.so lib/db45/libdb.a
lib/db44/libdb_cxx-4.4.a lib/db45/libdb.so
lib/db44/libdb_cxx-4.4.la lib/db45/libdb_cxx-4.5.a
lib/db44/libdb_cxx-4.4.so lib/db45/libdb_cxx-4.5.la
lib/db44/libdb_cxx-4.4.so.0 lib/db45/libdb_cxx-4.5.so
lib/db44/libdb_cxx-4.so lib/db45/libdb_cxx-4.5.so.0
lib/db44/libdb_cxx.a lib/db45/libdb_cxx-4.so
lib/db44/libdb_cxx.so lib/db45/libdb_cxx.a
lib/libdb-4.4.so lib/db45/libdb_cxx.so
lib/libdb-4.4.so.0 lib/libdb-4.5.so
lib/libdb_cxx-4.4.so lib/libdb-4.5.so.0
lib/libdb_cxx-4.4.so.0 lib/libdb_cxx-4.5.so
@dirrm lib/db44 lib/libdb_cxx-4.5.so.0
@dirrm include/db44 @dirrmtry lib/db45
@dirrm bin/db44 @dirrmtry include/db45
@dirrmtry bin/db45

View file

@ -1,75 +1,48 @@
# ports collection makefile for: Berkeley DB v4.4 # New ports collection makefile for: db45
# Date created: 2005-11-21 # Date created: 2007-05-10
# Whom: Matthias Andree <matthias.andree@gmx.de> # Whom: Gea-Suan Lin <gslin@gslin.org>
# #
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= db44 PORTNAME= db45
PORTVERSION= 4.4.20.4 PORTVERSION= 4.5.20.0
CATEGORIES= databases CATEGORIES= databases
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \ MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \ http://download-east.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/ http://download-uk.oracle.com/berkeley-db/
PKGNAMESUFFIX?= PKGNAMEPREFIX?=
DISTNAME= db-4.4.20 DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb DIST_SUBDIR= bdb
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/ # I allow matthias.andree@gmx.de and all freebsd committer to do changes
PATCHFILES= patch.4.4.20.1 patch.4.4.20.2 patch.4.4.20.3 patch.4.4.20.4 # to this package.
PATCH_DIST_STRIP= -d .. MAINTAINER= gslin@gslin.org
# * patch.4.4.20.1: ----------------------------------------------------------- COMMENT= The Berkeley DB package, revision 4.5
# Fix a bug that could cause a trap during recovery if multiple operations that
# could remove the same extent were recovered. [#14061]
# * patch.4.4.20.2: -----------------------------------------------------------
# Fix a bug that could cause traps or hangs if the DB_TXN->set_name function is
# used in a multithreaded application. [#14033]
# * patch.4.4.20.3: -----------------------------------------------------------
# Fix a bug where cursor lookups on secondary databases with off-page
# duplicates could fail. [#14240]
# * patch.4.4.20.4: -----------------------------------------------------------
# Fix a bug where cache buffer retrieval could race with a checkpoint
# call, potentially causing database environment recovery to fail. [#14657]
MAINTAINER= matthias.andree@gmx.de
COMMENT= The Berkeley DB package, revision 4.4
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
BDBVER= ${PORTVERSION:R:R} BDBVER= ${PORTVERSION:R:R}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \ CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
--enable-cxx --enable-dynamic \ --enable-dynamic --enable-rpc --enable-pthread_api \
--enable-rpc \
--includedir=${PREFIX}/include/${PORTNAME} \ --includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME} \ --libdir=${PREFIX}/lib/${PORTNAME} \
--bindir=${PREFIX}/bin/${PORTNAME} --bindir=${PREFIX}/bin/${PORTNAME}
CONFIGURE_SCRIPT= ../dist/configure
GNU_CONFIGURE= yes
INSTALL_TARGET= install_include install_lib install_utilities INSTALL_TARGET= install_include install_lib install_utilities
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR} INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= * PORTDOCS= *
.endif .endif
pre-patch:
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:
@${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
post-install: post-install:
.for i in libdb libdb_cxx .for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so ${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
.endfor .endfor
.if !defined(NOPORTDOCS)
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
.endif
cd ${PREFIX}/bin/${PORTNAME} ; \ cd ${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done

View file

@ -1,15 +1,3 @@
MD5 (bdb/db-4.4.20.tar.gz) = d84dff288a19186b136b0daf7067ade3 MD5 (bdb/db-4.5.20.tar.gz) = b0f1c777708cb8e9d37fb47e7ed3312d
SHA256 (bdb/db-4.4.20.tar.gz) = 298ab78801f7502016aa2db033b65fab46f323533bdc08610d3dabd910d63b79 SHA256 (bdb/db-4.5.20.tar.gz) = f52cd5cea899823dd200d56556f70b33c55e48a33bb7b65ee128968dc10ca82d
SIZE (bdb/db-4.4.20.tar.gz) = 7952742 SIZE (bdb/db-4.5.20.tar.gz) = 9281894
MD5 (bdb/patch.4.4.20.1) = 66584d621355df055b6e05b4a02e9c3e
SHA256 (bdb/patch.4.4.20.1) = 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869
SIZE (bdb/patch.4.4.20.1) = 867
MD5 (bdb/patch.4.4.20.2) = 85df93a0867f6cace3501671cdeb6ed1
SHA256 (bdb/patch.4.4.20.2) = 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc
SIZE (bdb/patch.4.4.20.2) = 721
MD5 (bdb/patch.4.4.20.3) = 88ee91889ebf5498b22b2e7bed945d41
SHA256 (bdb/patch.4.4.20.3) = ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236
SIZE (bdb/patch.4.4.20.3) = 1366
MD5 (bdb/patch.4.4.20.4) = c2ef7b3e59460c35950fab5f2faa3fc0
SHA256 (bdb/patch.4.4.20.4) = 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59
SIZE (bdb/patch.4.4.20.4) = 837

View file

@ -1,15 +1,11 @@
Version 4.4 of the Berkeley Data Base library which offers (key/value) storage Oracle Berkeley DB is a family of open source embeddable databases
with optional concurrent access or transactions interface. that allows developers to incorporate within their applications a
fast, scalable, transactional database engine with industrial grade
reliability and availability. As a result, customers and end-users
will experience an application that simply works, reliably manages
data, can scale under extreme load, but requires no ongoing database
administration. As a developer, you can focus on your application and
be confident that Oracle Berkeley DB will manage your persistence
needs.
This port will install the AES (American Encryption Standard) enabled version. WWW: http://www.oracle.com/database/berkeley-db.html
Utilities are included in the distribution to convert v1.85 databases to v4.4
databases, and a backwards compatible API is provided to maintain compatibility
with programs using the v1.85 interface.
For details on compatibility with other DB versions, see:
http://dev.sleepycat.com/downloads/releasehistorybdb.html
-- Matthias Andree
WWW: http://www.sleepycat.com/products/bdb.html

View file

@ -1,50 +1,51 @@
bin/db44/berkeley_db_svc @comment $FreeBSD$
bin/db44/db_archive bin/berkeley_db_svc-4.5
bin/db44/db_checkpoint bin/db45/berkeley_db_svc
bin/db44/db_deadlock bin/db45/db_archive
bin/db44/db_dump bin/db45/db_checkpoint
bin/db44/db_dump185 bin/db45/db_deadlock
bin/db44/db_hotbackup bin/db45/db_dump
bin/db44/db_load bin/db45/db_dump185
bin/db44/db_printlog bin/db45/db_hotbackup
bin/db44/db_recover bin/db45/db_load
bin/db44/db_stat bin/db45/db_printlog
bin/db44/db_upgrade bin/db45/db_recover
bin/db44/db_verify bin/db45/db_stat
bin/berkeley_db_svc-4.4 bin/db45/db_upgrade
bin/db_archive-4.4 bin/db45/db_verify
bin/db_checkpoint-4.4 bin/db_archive-4.5
bin/db_deadlock-4.4 bin/db_checkpoint-4.5
bin/db_dump-4.4 bin/db_deadlock-4.5
bin/db_dump185-4.4 bin/db_dump-4.5
bin/db_hotbackup-4.4 bin/db_dump185-4.5
bin/db_load-4.4 bin/db_hotbackup-4.5
bin/db_printlog-4.4 bin/db_load-4.5
bin/db_recover-4.4 bin/db_printlog-4.5
bin/db_stat-4.4 bin/db_recover-4.5
bin/db_upgrade-4.4 bin/db_stat-4.5
bin/db_verify-4.4 bin/db_upgrade-4.5
include/db44/db.h bin/db_verify-4.5
include/db44/db_185.h include/db45/db.h
include/db44/db_cxx.h include/db45/db_185.h
lib/db44/libdb-4.4.a include/db45/db_cxx.h
lib/db44/libdb-4.4.la lib/db45/libdb-4.5.a
lib/db44/libdb-4.4.so lib/db45/libdb-4.5.la
lib/db44/libdb-4.4.so.0 lib/db45/libdb-4.5.so
lib/db44/libdb-4.so lib/db45/libdb-4.5.so.0
lib/db44/libdb.a lib/db45/libdb-4.so
lib/db44/libdb.so lib/db45/libdb.a
lib/db44/libdb_cxx-4.4.a lib/db45/libdb.so
lib/db44/libdb_cxx-4.4.la lib/db45/libdb_cxx-4.5.a
lib/db44/libdb_cxx-4.4.so lib/db45/libdb_cxx-4.5.la
lib/db44/libdb_cxx-4.4.so.0 lib/db45/libdb_cxx-4.5.so
lib/db44/libdb_cxx-4.so lib/db45/libdb_cxx-4.5.so.0
lib/db44/libdb_cxx.a lib/db45/libdb_cxx-4.so
lib/db44/libdb_cxx.so lib/db45/libdb_cxx.a
lib/libdb-4.4.so lib/db45/libdb_cxx.so
lib/libdb-4.4.so.0 lib/libdb-4.5.so
lib/libdb_cxx-4.4.so lib/libdb-4.5.so.0
lib/libdb_cxx-4.4.so.0 lib/libdb_cxx-4.5.so
@dirrm lib/db44 lib/libdb_cxx-4.5.so.0
@dirrm include/db44 @dirrmtry lib/db45
@dirrm bin/db44 @dirrmtry include/db45
@dirrmtry bin/db45