aboutsummaryrefslogtreecommitdiff
path: root/databases/db44
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db44')
-rw-r--r--databases/db44/Makefile62
-rw-r--r--databases/db44/distinfo10
-rw-r--r--databases/db44/files/patch-dist__configure13
-rw-r--r--databases/db44/files/patch-upstream.4.4.20.127
-rw-r--r--databases/db44/files/patch-upstream.4.4.20.229
-rw-r--r--databases/db44/files/patch-upstream.4.4.20.349
-rw-r--r--databases/db44/files/patch-upstream.4.4.20.424
-rw-r--r--databases/db44/pkg-descr13
-rw-r--r--databases/db44/pkg-plist50
9 files changed, 0 insertions, 277 deletions
diff --git a/databases/db44/Makefile b/databases/db44/Makefile
deleted file mode 100644
index 39903bccda03..000000000000
--- a/databases/db44/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# Created by: Matthias Andree <matthias.andree@gmx.de>
-# $FreeBSD$
-
-PORTNAME= db44
-PORTVERSION= 4.4.20.4
-CATEGORIES= databases
-MASTER_SITES= http://download.oracle.com/berkeley-db/
-PKGNAMESUFFIX?=
-DISTNAME= db-4.4.20
-DIST_SUBDIR= bdb
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= The Berkeley DB package, revision 4.4
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
-
-DEPRECATED= Please use databases/db5 or db6 for new installs.
-
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-DEBUG_FLAGS= -g -O1 # need -O1 for inline assembly
-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
-
-OPTIONS_DEFINE= DOCS
-
-DOCS_INSTALL_TARGET= install_docs docdir=${DOCSDIR}
-PORTDOCS= *
-
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
-
-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 ${PORT_OPTIONS:MDOCS}
- @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
-.endif
- cd ${PREFIX}/bin/${PORTNAME} ; \
- for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
-
-.include <bsd.port.mk>
diff --git a/databases/db44/distinfo b/databases/db44/distinfo
deleted file mode 100644
index 5741c6d90d1e..000000000000
--- a/databases/db44/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-SHA256 (bdb/db-4.4.20.tar.gz) = 298ab78801f7502016aa2db033b65fab46f323533bdc08610d3dabd910d63b79
-SIZE (bdb/db-4.4.20.tar.gz) = 7952742
-SHA256 (bdb/patch.4.4.20.1) = 4eeb18450b88703282251c386405bf7c9efa053a42d1dda97603ee8039ee5869
-SIZE (bdb/patch.4.4.20.1) = 867
-SHA256 (bdb/patch.4.4.20.2) = 45949e288482736bbc27bd62c854a99fad4b3e55103897eafd62bce1d5629bbc
-SIZE (bdb/patch.4.4.20.2) = 721
-SHA256 (bdb/patch.4.4.20.3) = ae54bb752a31655a1a945f12900b740fad397c3e2ddab792ecfd4660d3e6e236
-SIZE (bdb/patch.4.4.20.3) = 1366
-SHA256 (bdb/patch.4.4.20.4) = 7018f74e5184451809f6864172132472e91d95e2bec97ce6124afb67f0d65e59
-SIZE (bdb/patch.4.4.20.4) = 837
diff --git a/databases/db44/files/patch-dist__configure b/databases/db44/files/patch-dist__configure
deleted file mode 100644
index 5aceb834b77d..000000000000
--- a/databases/db44/files/patch-dist__configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- ../dist/configure.orig Wed Dec 5 13:14:02 2001
-+++ ../dist/configure Wed Dec 5 13:24:01 2001
-@@ -21657,8 +21657,8 @@
-
- MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
--MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
-+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -version-info 0:0:0"
- MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
- MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
--MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
-+MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -version-info 0:0:0"
- MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
-
diff --git a/databases/db44/files/patch-upstream.4.4.20.1 b/databases/db44/files/patch-upstream.4.4.20.1
deleted file mode 100644
index bd7334747039..000000000000
--- a/databases/db44/files/patch-upstream.4.4.20.1
+++ /dev/null
@@ -1,27 +0,0 @@
-*** ../qam/qam_files.c.orig 2005-10-20 11:57:12.000000000 -0700
---- ../qam/qam_files.c 2006-01-27 13:38:38.000000000 -0800
-***************
-*** 411,416 ****
---- 411,422 ----
- DB_APP_DATA, buf, 0, NULL, &real_name)) != 0)
- goto err;
- #endif
-+
-+ mpf = array->mpfarray[offset].mpf;
-+ /* This extent my already be marked for delete and closed. */
-+ if (mpf == NULL)
-+ goto err;
-+
- /*
- * The log must be flushed before the file is deleted. We depend on
- * the log record of the last delete to recreate the file if we crash.
-***************
-*** 418,424 ****
- if (LOGGING_ON(dbenv) && (ret = __log_flush(dbenv, NULL)) != 0)
- goto err;
-
-- mpf = array->mpfarray[offset].mpf;
- (void)__memp_set_flags(mpf, DB_MPOOL_UNLINK, 1);
- /* Someone could be real slow, let them close it down. */
- if (array->mpfarray[offset].pinref != 0)
---- 424,429 ----
diff --git a/databases/db44/files/patch-upstream.4.4.20.2 b/databases/db44/files/patch-upstream.4.4.20.2
deleted file mode 100644
index dbcd69962bda..000000000000
--- a/databases/db44/files/patch-upstream.4.4.20.2
+++ /dev/null
@@ -1,29 +0,0 @@
-*** ../txn/txn.c.orig Tue Nov 1 06:50:03 2005
---- ../txn/txn.c Tue Jan 31 15:05:13 2006
-***************
-*** 1049,1060 ****
---- 1049,1062 ----
- return (ret);
- memcpy(txn->name, name, len);
-
-+ TXN_SYSTEM_LOCK(dbenv);
- if (td->name != INVALID_ROFF) {
- __db_shalloc_free(
- &mgr->reginfo, R_ADDR(&mgr->reginfo, td->name));
- td->name = INVALID_ROFF;
- }
- if ((ret = __db_shalloc(&mgr->reginfo, len, 0, &p)) != 0) {
-+ TXN_SYSTEM_UNLOCK(dbenv);
- __db_err(dbenv,
- "Unable to allocate memory for transaction name");
-
-***************
-*** 1063,1068 ****
---- 1065,1071 ----
-
- return (ret);
- }
-+ TXN_SYSTEM_UNLOCK(dbenv);
- td->name = R_OFFSET(&mgr->reginfo, p);
- memcpy(p, name, len);
-
diff --git a/databases/db44/files/patch-upstream.4.4.20.3 b/databases/db44/files/patch-upstream.4.4.20.3
deleted file mode 100644
index d859c42a44c1..000000000000
--- a/databases/db44/files/patch-upstream.4.4.20.3
+++ /dev/null
@@ -1,49 +0,0 @@
-*** ../db/db_cam.c.orig 2006-01-11 03:19:21.000000000 +1100
---- ../db/db_cam.c 2006-03-01 13:59:01.000000000 +1100
-***************
-*** 579,589 ****
- flags == DB_NEXT || flags == DB_NEXT_DUP || flags == DB_PREV)) {
- if (tmp_rmw && (ret = dbc_arg->c_am_writelock(dbc_arg)) != 0)
- return (ret);
-! if ((ret = __db_c_idup(cp->opd, &opd, DB_POSITION)) != 0)
- return (ret);
-
-! switch (ret =
-! opd->c_am_get(opd, key, data, flags, NULL)) {
- case 0:
- goto done;
- case DB_NOTFOUND:
---- 579,590 ----
- flags == DB_NEXT || flags == DB_NEXT_DUP || flags == DB_PREV)) {
- if (tmp_rmw && (ret = dbc_arg->c_am_writelock(dbc_arg)) != 0)
- return (ret);
-! if (F_ISSET(dbc_arg, DBC_TRANSIENT))
-! opd = cp->opd;
-! else if ((ret = __db_c_idup(cp->opd, &opd, DB_POSITION)) != 0)
- return (ret);
-
-! switch (ret = opd->c_am_get(opd, key, data, flags, NULL)) {
- case 0:
- goto done;
- case DB_NOTFOUND:
-***************
-*** 596,607 ****
---- 597,614 ----
- if ((ret = __db_c_close(opd)) != 0)
- goto err;
- opd = NULL;
-+ if (F_ISSET(dbc_arg, DBC_TRANSIENT))
-+ cp->opd = NULL;
- break;
- }
- goto err;
- default:
- goto err;
- }
-+ } else if (cp->opd != NULL && F_ISSET(dbc_arg, DBC_TRANSIENT)) {
-+ if ((ret = __db_c_close(cp->opd)) != 0)
-+ goto err;
-+ cp->opd = NULL;
- }
-
- /*
diff --git a/databases/db44/files/patch-upstream.4.4.20.4 b/databases/db44/files/patch-upstream.4.4.20.4
deleted file mode 100644
index d6ee29d12d6a..000000000000
--- a/databases/db44/files/patch-upstream.4.4.20.4
+++ /dev/null
@@ -1,24 +0,0 @@
-*** ../mp/mp_fget.c.orig 2005-10-12 10:53:36.000000000 -0700
---- ../mp/mp_fget.c 2006-05-30 20:48:10.000000000 -0700
-***************
-*** 587,594 ****
- */
- if (state != SECOND_MISS && bhp->ref == 1) {
- bhp->priority = UINT32_MAX;
-! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
-! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
- hp->hash_priority =
- SH_TAILQ_FIRSTP(&hp->hash_bucket, __bh)->priority;
- }
---- 587,597 ----
- */
- if (state != SECOND_MISS && bhp->ref == 1) {
- bhp->priority = UINT32_MAX;
-! if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) !=
-! SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
-! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
-! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
-! }
- hp->hash_priority =
- SH_TAILQ_FIRSTP(&hp->hash_bucket, __bh)->priority;
- }
diff --git a/databases/db44/pkg-descr b/databases/db44/pkg-descr
deleted file mode 100644
index d16e0ce757c6..000000000000
--- a/databases/db44/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-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
-
-WWW: http://www.oracle.com/us/products/database/berkeley-db/db/
diff --git a/databases/db44/pkg-plist b/databases/db44/pkg-plist
deleted file mode 100644
index 554ddbac3237..000000000000
--- a/databases/db44/pkg-plist
+++ /dev/null
@@ -1,50 +0,0 @@
-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