diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2014-08-21 22:50:29 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2014-08-21 22:50:29 +0000 |
commit | b50a4b0708948c5766fb92a70bfc082efa53857b (patch) | |
tree | 5f9e6219e9207f083ae5e2fff1302ed5967538ef /databases/db42 | |
parent | 6724089b21de676c367bbc41cca5651958d1b0f3 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=365599
Diffstat (limited to 'databases/db42')
-rw-r--r-- | databases/db42/Makefile | 32 | ||||
-rw-r--r-- | databases/db42/Makefile.db | 44 | ||||
-rw-r--r-- | databases/db42/distinfo | 12 | ||||
-rw-r--r-- | databases/db42/files/patch-dist__configure | 15 | ||||
-rw-r--r-- | databases/db42/pkg-descr | 14 | ||||
-rw-r--r-- | databases/db42/pkg-plist | 48 |
6 files changed, 0 insertions, 165 deletions
diff --git a/databases/db42/Makefile b/databases/db42/Makefile deleted file mode 100644 index 18c74d7c0dba..000000000000 --- a/databases/db42/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# Created by: Matthias Andree <matthias.andree@gmx.de> -# $FreeBSD$ - -PORTNAME= db42 -PORTVERSION= 4.2.52 -PORTREVISION= 5 -CATEGORIES= databases -PKGNAMESUFFIX?= - -PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2 \ - patch.${PORTVERSION}.3 patch.${PORTVERSION}.4 \ - patch.${PORTVERSION}.5 - -MAINTAINER= mandree@FreeBSD.org -COMMENT= The Berkeley DB package, revision 4.2 - -DEPRECATED= Please use databases/db5 or db6 for new installs. - -CONFLICTS?= db42-nocrypto-4* - -MASTERDIR?= ${.CURDIR} - -SLAVE_PORT= no - -.include <${MASTERDIR}/Makefile.db> -.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/db42/Makefile.db b/databases/db42/Makefile.db deleted file mode 100644 index 59c7b94f0a4b..000000000000 --- a/databases/db42/Makefile.db +++ /dev/null @@ -1,44 +0,0 @@ -# $FreeBSD$ - -MASTER_SITES= http://download.oracle.com/berkeley-db/ -DISTNAME?= db-${PORTVERSION} -DIST_SUBDIR= bdb - -PATCH_SITES= http://download.oracle.com/berkeley-db/patches/db/${PORTVERSION}/ -PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME} - -WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix - -USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool -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 \ - --with-uniquename \ - --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= * - -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-install: -.for i in libdb libdb_cxx - ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${STAGEDIR}${PREFIX}/lib - ${LN} -s -f ${i}-${BDBVER}.so.${BDBMINOR} ${STAGEDIR}${PREFIX}/lib/${i}-${BDBVER}.so -.endfor - @${RMDIR} ${STAGEDIR}${DOCSDIR}/ref/splash 2>/dev/null || : - cd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ; \ - for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done diff --git a/databases/db42/distinfo b/databases/db42/distinfo deleted file mode 100644 index da19aa6d2e82..000000000000 --- a/databases/db42/distinfo +++ /dev/null @@ -1,12 +0,0 @@ -SHA256 (bdb/db-4.2.52.tar.gz) = f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c -SIZE (bdb/db-4.2.52.tar.gz) = 3919271 -SHA256 (bdb/patch.4.2.52.1) = 98b7580916459ee931b9c7e06dcb9da980732672fe0811714933f366ad97dfa5 -SIZE (bdb/patch.4.2.52.1) = 988 -SHA256 (bdb/patch.4.2.52.2) = c9b132bcc8f1c12e03baaf47abd3801f2adf24ffbd56f35a27617fec12654f32 -SIZE (bdb/patch.4.2.52.2) = 1433 -SHA256 (bdb/patch.4.2.52.3) = ca5245d2e1c7a40df5ec57cbabee8bf0106292c69a37eb0ca275d1aa59061907 -SIZE (bdb/patch.4.2.52.3) = 8672 -SHA256 (bdb/patch.4.2.52.4) = c15c82071c02ce1a10024c572e2e9fd72006089007141a01fdd37b889411b973 -SIZE (bdb/patch.4.2.52.4) = 1311 -SHA256 (bdb/patch.4.2.52.5) = 242f1a9c3efdd61a2b738c12617175849dbc73df6a2bf7cff61c814b13905e06 -SIZE (bdb/patch.4.2.52.5) = 839 diff --git a/databases/db42/files/patch-dist__configure b/databases/db42/files/patch-dist__configure deleted file mode 100644 index f5fd795067be..000000000000 --- a/databases/db42/files/patch-dist__configure +++ /dev/null @@ -1,15 +0,0 @@ ---- ../dist/configure.orig Wed Dec 5 13:14:02 2001 -+++ ../dist/configure Wed Dec 5 13:24:01 2001 -@@ -8794,10 +8794,10 @@ - INSTALLER="\$(LIBTOOL) --mode=install cp" - - 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 ${DB_VERSION_MINOR}" - 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 ${DB_VERSION_MINOR}" - MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}" - - # Configure for shared libraries, static libraries, or both. If both are diff --git a/databases/db42/pkg-descr b/databases/db42/pkg-descr deleted file mode 100644 index 17fd91e7493a..000000000000 --- a/databases/db42/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -Version 4.2 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.2 -databases, and a backwards compatible API is provided to maintain -compatibility with programs using the v1.85 interface. - -Note that this port has a different layout than the 3.3, 4.0 and 4.1 ports, -it does not rename libraries. - -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/db42/pkg-plist b/databases/db42/pkg-plist deleted file mode 100644 index d52927a1e023..000000000000 --- a/databases/db42/pkg-plist +++ /dev/null @@ -1,48 +0,0 @@ -bin/db42/berkeley_db_svc -bin/db42/db_archive -bin/db42/db_checkpoint -bin/db42/db_deadlock -bin/db42/db_dump -bin/db42/db_dump185 -bin/db42/db_load -bin/db42/db_printlog -bin/db42/db_recover -bin/db42/db_stat -bin/db42/db_upgrade -bin/db42/db_verify -bin/berkeley_db_svc-4.2 -bin/db_archive-4.2 -bin/db_checkpoint-4.2 -bin/db_deadlock-4.2 -bin/db_dump-4.2 -bin/db_dump185-4.2 -bin/db_load-4.2 -bin/db_printlog-4.2 -bin/db_recover-4.2 -bin/db_stat-4.2 -bin/db_upgrade-4.2 -bin/db_verify-4.2 -include/db42/db.h -include/db42/db_185.h -include/db42/db_cxx.h -lib/db42/libdb-4.2.a -lib/db42/libdb-4.2.la -lib/db42/libdb-4.2.so -lib/db42/libdb-4.2.so.2 -lib/db42/libdb-4.so -lib/db42/libdb.a -lib/db42/libdb.so -lib/db42/libdb_cxx-4.2.a -lib/db42/libdb_cxx-4.2.la -lib/db42/libdb_cxx-4.2.so -lib/db42/libdb_cxx-4.2.so.2 -lib/db42/libdb_cxx-4.so -lib/db42/libdb_cxx.a -lib/db42/libdb_cxx.so -lib/libdb-4.2.so -lib/libdb-4.2.so.2 -lib/libdb_cxx-4.2.so -lib/libdb_cxx-4.2.so.2 -@dirrm lib/db42 -@dirrm include/db42 -@dirrm bin/db42 |