ports/73790: [NEW PORT] databases/db43: The Berkeley DB package, revision 4.3

Matthias Andree matthias.andree at gmx.de
Wed Nov 10 20:40:32 UTC 2004


>Number:         73790
>Category:       ports
>Synopsis:       [NEW PORT] databases/db43: The Berkeley DB package, revision 4.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 20:40:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD sigma.emma.line.org 5.3-STABLE FreeBSD 5.3-STABLE #4: Wed Nov 10 20:13:54 CET 2004
>Description:
Version 4.3 of the Berkeley Data Base library which offers (key/value) storage
with optional concurrent access or transactions interface.

PLEASE REPOCOPY FROM ports/databases/db42!

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

-- Matthias Andree
  
WWW: http://www.sleepycat.com/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- db43-4.3.21.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	db43
#	db43/files
#	db43/files/patch-dist::configure
#	db43/Makefile
#	db43/Makefile.db
#	db43/distinfo
#	db43/pkg-descr
#	db43/pkg-plist
#
echo c - db43
mkdir -p db43 > /dev/null 2>&1
echo c - db43/files
mkdir -p db43/files > /dev/null 2>&1
echo x - db43/files/patch-dist::configure
sed 's/^X//' >db43/files/patch-dist::configure << 'END-of-db43/files/patch-dist::configure'
X--- ../dist/configure.orig	Wed Dec  5 13:14:02 2001
X+++ ../dist/configure	Wed Dec  5 13:24:01 2001
X@@ -8794,10 +8794,10 @@
X INSTALLER="\$(LIBTOOL) --mode=install cp"
X 
X MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
X-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
X+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -version-info 0:0:0"
X MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
X MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
X-MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
X+MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -version-info 0:0:0"
X MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
X 
X # Configure for shared libraries, static libraries, or both.  If both are
END-of-db43/files/patch-dist::configure
echo x - db43/Makefile
sed 's/^X//' >db43/Makefile << 'END-of-db43/Makefile'
X# ports collection makefile for:	Berkeley DB v4.3
X# Date created:				2004-11-10
X# Whom:					Matthias Andree <matthias.andree at gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	db43
XPORTVERSION=	4.3.21
XCATEGORIES=	databases
XPKGNAMESUFFIX?=
X
XMAINTAINER=	matthias.andree at gmx.de
XCOMMENT=	The Berkeley DB package, revision 4.3
X
XMASTERDIR?=	${.CURDIR}
X
X.include <${MASTERDIR}/Makefile.db>
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} == amd64
XCONFIGURE_ARGS+=	--with-mutex=x86/gcc-assembly
X.endif
X
X.include <bsd.port.post.mk>
END-of-db43/Makefile
echo x - db43/Makefile.db
sed 's/^X//' >db43/Makefile.db << 'END-of-db43/Makefile.db'
XMASTER_SITES=	http://www.sleepycat.com/update/snapshot/
XDISTNAME?=	db-${PORTVERSION}
XDIST_SUBDIR=	bdb
X
XPATCH_SITES=	http://www.sleepycat.com/update/${PORTVERSION}/
XPATCH_DIST_STRIP=	-d ${WRKDIR}/${DISTNAME}
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/build_unix
X
XUSE_REINPLACE=		yes
XINSTALLS_SHLIB=		yes
XUSE_LIBTOOL_VER=	15
XCONFIGURE_SCRIPT=	../dist/configure
XLIBTOOLFILES=		${CONFIGURE_SCRIPT}
XCONFIGURE_TARGET=	--target=${ARCH}-portbld-freebsd${OSREL}
XBDBVER=			${PORTVERSION:R}
XBDBMINOR=		${BDBVER:E:S/^\.//}
XBDBDIR=			BerkeleyDB.${BDBVER}
XCONFIGURE_ARGS=		--enable-compat185 --enable-dump185 \
X			--enable-cxx --enable-dynamic \
X			--enable-rpc \
X			--includedir=${PREFIX}/include/${PORTNAME} \
X			--libdir=${PREFIX}/lib/${PORTNAME} \
X			--bindir=${PREFIX}/bin/${PORTNAME}
XINSTALL_TARGET=		install_include install_lib install_utilities
X.if !defined(NOPORTDOCS)
XINSTALL_TARGET+=	install_docs docdir=${DOCSDIR}
XPORTDOCS=		*
X.endif
X
Xpre-patch:
X	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
X
Xpre-configure:
X	${CHMOD} u+w ${WRKSRC}/../dist/configure
X
Xpost-install:
X.for i in libdb libdb_cxx
X	${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
X	${LN} -s -f ${i}-${BDBVER}.so.0 ${PREFIX}/lib/${i}-${BDBVER}.so
X.endfor
X.if !defined(NOPORTDOCS)
X	@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
X.endif
X	cd ${PREFIX}/bin/${PORTNAME} ; \
X	for i in * ; do ${LN} -s -f ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
END-of-db43/Makefile.db
echo x - db43/distinfo
sed 's/^X//' >db43/distinfo << 'END-of-db43/distinfo'
XMD5 (bdb/db-4.3.21.tar.gz) = 014950aaadd531f6f9064c81a2018423
XSIZE (bdb/db-4.3.21.tar.gz) = 5916550
END-of-db43/distinfo
echo x - db43/pkg-descr
sed 's/^X//' >db43/pkg-descr << 'END-of-db43/pkg-descr'
XVersion 4.3 of the Berkeley Data Base library which offers (key/value) storage
Xwith optional concurrent access or transactions interface.
X
XUtilities are included in the distribution to convert v1.85 databases to v4.3
Xdatabases, and a backwards compatible API is provided to maintain
Xcompatibility with programs using the v1.85 interface.
X
XFor details on compatibility with other DB versions, see:
Xhttp://www.sleepycat.com/download/patchlogs.shtml
X
X-- Matthias Andree
X  
XWWW: http://www.sleepycat.com/
END-of-db43/pkg-descr
echo x - db43/pkg-plist
sed 's/^X//' >db43/pkg-plist << 'END-of-db43/pkg-plist'
Xbin/db43/berkeley_db_svc
Xbin/db43/db_archive
Xbin/db43/db_checkpoint
Xbin/db43/db_deadlock
Xbin/db43/db_dump
Xbin/db43/db_dump185
Xbin/db43/db_load
Xbin/db43/db_printlog
Xbin/db43/db_recover
Xbin/db43/db_stat
Xbin/db43/db_upgrade
Xbin/db43/db_verify
Xbin/berkeley_db_svc-4.3
Xbin/db_archive-4.3
Xbin/db_checkpoint-4.3
Xbin/db_deadlock-4.3
Xbin/db_dump-4.3
Xbin/db_dump185-4.3
Xbin/db_load-4.3
Xbin/db_printlog-4.3
Xbin/db_recover-4.3
Xbin/db_stat-4.3
Xbin/db_upgrade-4.3
Xbin/db_verify-4.3
Xinclude/db43/db.h
Xinclude/db43/db_185.h
Xinclude/db43/db_cxx.h
Xlib/db43/libdb-4.3.a
Xlib/db43/libdb-4.3.la
Xlib/db43/libdb-4.3.so
Xlib/db43/libdb-4.3.so.0
Xlib/db43/libdb-4.so
Xlib/db43/libdb.a
Xlib/db43/libdb.so
Xlib/db43/libdb_cxx-4.3.a
Xlib/db43/libdb_cxx-4.3.la
Xlib/db43/libdb_cxx-4.3.so
Xlib/db43/libdb_cxx-4.3.so.0
Xlib/db43/libdb_cxx-4.so
Xlib/db43/libdb_cxx.a
Xlib/db43/libdb_cxx.so
Xlib/libdb-4.3.so
Xlib/libdb-4.3.so.0
Xlib/libdb_cxx-4.3.so
Xlib/libdb_cxx-4.3.so.0
X at dirrm lib/db43
X at dirrm include/db43
X at dirrm bin/db43
END-of-db43/pkg-plist
exit
--- db43-4.3.21.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list