summaryrefslogtreecommitdiff
path: root/databases/db47
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-07-31 09:18:11 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-07-31 09:18:11 +0000
commit053544fbdcef1c1dc8e33d79c7a42f50e392fb97 (patch)
tree49f03702b4a09ef040f80a7d887eaaa12a59b24a /databases/db47
parent- Update for new python infrastructure (diff)
- this is a repocopied port
- db45 introduced in ports tree PR: ports/114821 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Notes
Notes: svn path=/head/; revision=196800
Diffstat (limited to 'databases/db47')
-rw-r--r--databases/db47/Makefile75
-rw-r--r--databases/db47/distinfo18
-rw-r--r--databases/db47/pkg-descr26
-rw-r--r--databases/db47/pkg-plist101
4 files changed, 89 insertions, 131 deletions
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index 8525e6c68f72..9441dad04f78 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/Makefile
@@ -1,75 +1,48 @@
-# ports collection makefile for: Berkeley DB v4.4
-# Date created: 2005-11-21
-# Whom: Matthias Andree <matthias.andree@gmx.de>
+# New ports collection makefile for: db45
+# Date created: 2007-05-10
+# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
-PORTNAME= db44
-PORTVERSION= 4.4.20.4
+PORTNAME= db45
+PORTVERSION= 4.5.20.0
CATEGORIES= databases
MASTER_SITES= http://download-west.oracle.com/berkeley-db/ \
http://download-east.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/
-PKGNAMESUFFIX?=
-DISTNAME= db-4.4.20
+PKGNAMEPREFIX?=
+DISTNAME= db-${PORTVERSION:R}
DIST_SUBDIR= bdb
-PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/
-PATCHFILES= patch.4.4.20.1 patch.4.4.20.2 patch.4.4.20.3 patch.4.4.20.4
-PATCH_DIST_STRIP= -d ..
-# * patch.4.4.20.1: -----------------------------------------------------------
-# 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
-
+# I allow matthias.andree@gmx.de and all freebsd committer to do changes
+# to this package.
+MAINTAINER= gslin@gslin.org
+COMMENT= The Berkeley DB package, revision 4.5
+
+BDBVER= ${PORTVERSION:R:R}
+CONFIGURE_ARGS= --enable-compat185 --enable-dump185 --enable-cxx \
+ --enable-dynamic --enable-rpc --enable-pthread_api \
+ --includedir=${PREFIX}/include/${PORTNAME} \
+ --libdir=${PREFIX}/lib/${PORTNAME} \
+ --bindir=${PREFIX}/bin/${PORTNAME}
+CONFIGURE_SCRIPT= ../dist/configure
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install_include install_lib install_utilities
+LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
+USE_LDCONFIG= yes
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../dist/configure
-LIBTOOLFILES= ${CONFIGURE_SCRIPT}
-BDBVER= ${PORTVERSION:R:R}
-CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
- --enable-cxx --enable-dynamic \
- --enable-rpc \
- --includedir=${PREFIX}/include/${PORTNAME} \
- --libdir=${PREFIX}/lib/${PORTNAME} \
- --bindir=${PREFIX}/bin/${PORTNAME}
-INSTALL_TARGET= install_include install_lib install_utilities
.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
-PORTDOCS= *
+PORTDOCS= *
.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:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
.endfor
-.if !defined(NOPORTDOCS)
- @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
-.endif
cd ${PREFIX}/bin/${PORTNAME} ; \
for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
diff --git a/databases/db47/distinfo b/databases/db47/distinfo
index 8c8ad6618a43..114935942b29 100644
--- a/databases/db47/distinfo
+++ b/databases/db47/distinfo
@@ -1,15 +1,3 @@
-MD5 (bdb/db-4.4.20.tar.gz) = d84dff288a19186b136b0daf7067ade3
-SHA256 (bdb/db-4.4.20.tar.gz) = 298ab78801f7502016aa2db033b65fab46f323533bdc08610d3dabd910d63b79
-SIZE (bdb/db-4.4.20.tar.gz) = 7952742
-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
+MD5 (bdb/db-4.5.20.tar.gz) = b0f1c777708cb8e9d37fb47e7ed3312d
+SHA256 (bdb/db-4.5.20.tar.gz) = f52cd5cea899823dd200d56556f70b33c55e48a33bb7b65ee128968dc10ca82d
+SIZE (bdb/db-4.5.20.tar.gz) = 9281894
diff --git a/databases/db47/pkg-descr b/databases/db47/pkg-descr
index d388abec8c4f..d6092ec69764 100644
--- a/databases/db47/pkg-descr
+++ b/databases/db47/pkg-descr
@@ -1,15 +1,11 @@
-Version 4.4 of the Berkeley Data Base library which offers (key/value) storage
-with optional concurrent access or transactions interface.
-
-This port will install the AES (American Encryption Standard) enabled version.
-
-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
+Oracle Berkeley DB is a family of open source embeddable databases
+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.
+
+WWW: http://www.oracle.com/database/berkeley-db.html
diff --git a/databases/db47/pkg-plist b/databases/db47/pkg-plist
index 554ddbac3237..0d48e00043d3 100644
--- a/databases/db47/pkg-plist
+++ b/databases/db47/pkg-plist
@@ -1,50 +1,51 @@
-bin/db44/berkeley_db_svc
-bin/db44/db_archive
-bin/db44/db_checkpoint
-bin/db44/db_deadlock
-bin/db44/db_dump
-bin/db44/db_dump185
-bin/db44/db_hotbackup
-bin/db44/db_load
-bin/db44/db_printlog
-bin/db44/db_recover
-bin/db44/db_stat
-bin/db44/db_upgrade
-bin/db44/db_verify
-bin/berkeley_db_svc-4.4
-bin/db_archive-4.4
-bin/db_checkpoint-4.4
-bin/db_deadlock-4.4
-bin/db_dump-4.4
-bin/db_dump185-4.4
-bin/db_hotbackup-4.4
-bin/db_load-4.4
-bin/db_printlog-4.4
-bin/db_recover-4.4
-bin/db_stat-4.4
-bin/db_upgrade-4.4
-bin/db_verify-4.4
-include/db44/db.h
-include/db44/db_185.h
-include/db44/db_cxx.h
-lib/db44/libdb-4.4.a
-lib/db44/libdb-4.4.la
-lib/db44/libdb-4.4.so
-lib/db44/libdb-4.4.so.0
-lib/db44/libdb-4.so
-lib/db44/libdb.a
-lib/db44/libdb.so
-lib/db44/libdb_cxx-4.4.a
-lib/db44/libdb_cxx-4.4.la
-lib/db44/libdb_cxx-4.4.so
-lib/db44/libdb_cxx-4.4.so.0
-lib/db44/libdb_cxx-4.so
-lib/db44/libdb_cxx.a
-lib/db44/libdb_cxx.so
-lib/libdb-4.4.so
-lib/libdb-4.4.so.0
-lib/libdb_cxx-4.4.so
-lib/libdb_cxx-4.4.so.0
-@dirrm lib/db44
-@dirrm include/db44
-@dirrm bin/db44
+@comment $FreeBSD$
+bin/berkeley_db_svc-4.5
+bin/db45/berkeley_db_svc
+bin/db45/db_archive
+bin/db45/db_checkpoint
+bin/db45/db_deadlock
+bin/db45/db_dump
+bin/db45/db_dump185
+bin/db45/db_hotbackup
+bin/db45/db_load
+bin/db45/db_printlog
+bin/db45/db_recover
+bin/db45/db_stat
+bin/db45/db_upgrade
+bin/db45/db_verify
+bin/db_archive-4.5
+bin/db_checkpoint-4.5
+bin/db_deadlock-4.5
+bin/db_dump-4.5
+bin/db_dump185-4.5
+bin/db_hotbackup-4.5
+bin/db_load-4.5
+bin/db_printlog-4.5
+bin/db_recover-4.5
+bin/db_stat-4.5
+bin/db_upgrade-4.5
+bin/db_verify-4.5
+include/db45/db.h
+include/db45/db_185.h
+include/db45/db_cxx.h
+lib/db45/libdb-4.5.a
+lib/db45/libdb-4.5.la
+lib/db45/libdb-4.5.so
+lib/db45/libdb-4.5.so.0
+lib/db45/libdb-4.so
+lib/db45/libdb.a
+lib/db45/libdb.so
+lib/db45/libdb_cxx-4.5.a
+lib/db45/libdb_cxx-4.5.la
+lib/db45/libdb_cxx-4.5.so
+lib/db45/libdb_cxx-4.5.so.0
+lib/db45/libdb_cxx-4.so
+lib/db45/libdb_cxx.a
+lib/db45/libdb_cxx.so
+lib/libdb-4.5.so
+lib/libdb-4.5.so.0
+lib/libdb_cxx-4.5.so
+lib/libdb_cxx-4.5.so.0
+@dirrmtry lib/db45
+@dirrmtry include/db45
+@dirrmtry bin/db45