aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db43
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2014-08-22 06:50:29 +0800
committermandree <mandree@FreeBSD.org>2014-08-22 06:50:29 +0800
commitb0113421712e3e2543fa9e1e0726502ef475e372 (patch)
tree5f9e6219e9207f083ae5e2fff1302ed5967538ef /databases/db43
parentcd3ab2c3333aee48d376be65b1751fff66ee393b (diff)
downloadfreebsd-ports-gnome-b0113421712e3e2543fa9e1e0726502ef475e372.tar.gz
freebsd-ports-gnome-b0113421712e3e2543fa9e1e0726502ef475e372.tar.zst
freebsd-ports-gnome-b0113421712e3e2543fa9e1e0726502ef475e372.zip
Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
Diffstat (limited to 'databases/db43')
-rw-r--r--databases/db43/Makefile66
-rw-r--r--databases/db43/distinfo2
-rw-r--r--databases/db43/files/patch-dist__configure13
-rw-r--r--databases/db43/files/patch-upstream.4.3.29.124
-rw-r--r--databases/db43/pkg-descr11
-rw-r--r--databases/db43/pkg-plist48
6 files changed, 0 insertions, 164 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile
deleted file mode 100644
index bc01d82c0331..000000000000
--- a/databases/db43/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-# Created by: Matthias Andree <matthias.andree@gmx.de>
-# $FreeBSD$
-
-PORTNAME= db43
-PORTVERSION= 4.3.29
-PORTREVISION= 1
-CATEGORIES= databases
-MASTER_SITES= http://download.oracle.com/berkeley-db/
-DISTNAME= db-${PORTVERSION}
-DIST_SUBDIR= bdb
-
-MAINTAINER= mandree@FreeBSD.org
-COMMENT= The Berkeley DB package, revision 4.3
-
-WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
-
-DEPRECATED= Please use databases/db5 or db6 for new installs.
-
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_SCRIPT= ../dist/configure
-LIBTOOLFILES= ${CONFIGURE_SCRIPT}
-BDBVER= ${PORTVERSION:R}
-BDBMINOR= ${BDBVER:E:S/^\.//}
-BDBDIR= BerkeleyDB.${BDBVER}
-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
-
-INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
-
-pre-patch:
- ${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g; s,/usr/bin/objformat \|\| echo aout,/usr/bin/objformat || echo elf,' ${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 ${STAGEDIR}${PREFIX}/lib
- ${LN} -s -f ${i}-${BDBVER}.so.0 ${STAGEDIR}${PREFIX}/lib/${i}-${BDBVER}.so
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
-.endif
- cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ; \
- for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == amd64
-CONFIGURE_ARGS+= --with-mutex=x86/gcc-assembly
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/databases/db43/distinfo b/databases/db43/distinfo
deleted file mode 100644
index 0fb30e66976d..000000000000
--- a/databases/db43/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bdb/db-4.3.29.tar.gz) = a1fa714482f25a67a19490303a0164326ac63bd7653ae3f4664c2536b14f3337
-SIZE (bdb/db-4.3.29.tar.gz) = 5942547
diff --git a/databases/db43/files/patch-dist__configure b/databases/db43/files/patch-dist__configure
deleted file mode 100644
index 2dac99fc909d..000000000000
--- a/databases/db43/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
-@@ -20867,8 +20867,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/db43/files/patch-upstream.4.3.29.1 b/databases/db43/files/patch-upstream.4.3.29.1
deleted file mode 100644
index 2bec8e0200bb..000000000000
--- a/databases/db43/files/patch-upstream.4.3.29.1
+++ /dev/null
@@ -1,24 +0,0 @@
-*** ../mp/mp_fget.c.orig 2006-05-30 20:44:11.000000000 -0700
---- ../mp/mp_fget.c 2006-05-30 20:44:22.000000000 -0700
-***************
-*** 577,584 ****
- */
- 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_FIRST(&hp->hash_bucket, __bh)->priority;
- }
---- 577,587 ----
- */
- 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_FIRST(&hp->hash_bucket, __bh)->priority;
- }
diff --git a/databases/db43/pkg-descr b/databases/db43/pkg-descr
deleted file mode 100644
index 66b08222b8aa..000000000000
--- a/databases/db43/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-Version 4.3 of the Berkeley Data Base library which offers (key/value) storage
-with optional concurrent access or transactions interface.
-
-Utilities are included in the distribution to convert v1.85 databases to v4.3
-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://www.sleepycat.com/download/patchlogs.shtml
-
-WWW: http://www.oracle.com/us/products/database/berkeley-db/db/
diff --git a/databases/db43/pkg-plist b/databases/db43/pkg-plist
deleted file mode 100644
index 8d51f88a0b49..000000000000
--- a/databases/db43/pkg-plist
+++ /dev/null
@@ -1,48 +0,0 @@
-bin/db43/berkeley_db_svc
-bin/db43/db_archive
-bin/db43/db_checkpoint
-bin/db43/db_deadlock
-bin/db43/db_dump
-bin/db43/db_dump185
-bin/db43/db_load
-bin/db43/db_printlog
-bin/db43/db_recover
-bin/db43/db_stat
-bin/db43/db_upgrade
-bin/db43/db_verify
-bin/berkeley_db_svc-4.3
-bin/db_archive-4.3
-bin/db_checkpoint-4.3
-bin/db_deadlock-4.3
-bin/db_dump-4.3
-bin/db_dump185-4.3
-bin/db_load-4.3
-bin/db_printlog-4.3
-bin/db_recover-4.3
-bin/db_stat-4.3
-bin/db_upgrade-4.3
-bin/db_verify-4.3
-include/db43/db.h
-include/db43/db_185.h
-include/db43/db_cxx.h
-lib/db43/libdb-4.3.a
-lib/db43/libdb-4.3.la
-lib/db43/libdb-4.3.so
-lib/db43/libdb-4.3.so.0
-lib/db43/libdb-4.so
-lib/db43/libdb.a
-lib/db43/libdb.so
-lib/db43/libdb_cxx-4.3.a
-lib/db43/libdb_cxx-4.3.la
-lib/db43/libdb_cxx-4.3.so
-lib/db43/libdb_cxx-4.3.so.0
-lib/db43/libdb_cxx-4.so
-lib/db43/libdb_cxx.a
-lib/db43/libdb_cxx.so
-lib/libdb-4.3.so
-lib/libdb-4.3.so.0
-lib/libdb_cxx-4.3.so
-lib/libdb_cxx-4.3.so.0
-@dirrm lib/db43
-@dirrm include/db43
-@dirrm bin/db43