From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 26 07:30:41 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCF4316A4CE for ; Wed, 26 Nov 2003 07:30:41 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51A4F43F3F for ; Wed, 26 Nov 2003 07:30:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAQFURFY078841 for ; Wed, 26 Nov 2003 07:30:27 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAQFURiI078840; Wed, 26 Nov 2003 07:30:27 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 26 Nov 2003 07:30:27 -0800 (PST) Resent-Message-Id: <200311261530.hAQFURiI078840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A24CE16A4CF; Wed, 26 Nov 2003 07:22:10 -0800 (PST) Received: from nx5.hrz.uni-dortmund.de (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C4643FA3; Wed, 26 Nov 2003 07:22:05 -0800 (PST) (envelope-from matthias.andree@web.de) Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by nx5.hrz.uni-dortmund.de (Postfix) with ESMTP id D87EA4AB477; Wed, 26 Nov 2003 16:22:03 +0100 (MET) Received: from m2a2.myip.org (f4hzrhsbuskanqt6@pD951FE76.dip.t-dialin.net [217.81.254.118]) (authenticated (0 bits))hAQFLJf7003128; Wed, 26 Nov 2003 16:21:32 +0100 (MET) Received: by merlin.emma.line.org (Postfix, from userid 1001) id 5FDCB1B929; Wed, 26 Nov 2003 16:21:18 +0100 (CET) Message-Id: <20031126152118.5FDCB1B929@merlin.emma.line.org> Date: Wed, 26 Nov 2003 16:21:18 +0100 (CET) From: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Ying-Chieh Liao cc: eik@FreeBSD.org Subject: ports/59711: [NEW PORT] databases/db42: BerkeleyDB 4.2.50; supersedes: PR #59694 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 15:30:41 -0000 >Number: 59711 >Category: ports >Synopsis: [NEW PORT] databases/db42: BerkeleyDB 4.2.50; supersedes: PR #59694 >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 26 07:30:27 PST 2003 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 5.2-BETA i386 >Organization: FreeBSD BerkeleyDB Ports Heavy Duty Vacuum Cleaners >Environment: System: FreeBSD merlin.emma.line.org 5.2-BETA FreeBSD 5.2-BETA #1: Tue Nov 25 22:59:05 CET 2003 >Description: SUPERSEDES: PR #59694. Oliver Eikemeier offered maintainership to me in a private mail. Let's start with a fresh layout that doesn't require the awful libdb renaming patches all over the /usr/ports tree. We have ELF today and BerkeleyDB has set proper SONAME for ages. PLEASE DO NOT REPOCOPY FROM OTHER db* PORTS! This is a fresh port that is not remotely similar to the previous db* ports and should be handled as such: make a fresh directory. Please either commit as is or contact the originator (Matthias Andree) if you think it's inadequate. This port layout is a balance between the canonical BerkeleyDB layout and hier(7), with maximum compatibility with ported and native applications in mind. See also http://mandree.home.pages.de/freebsd-db-reform/ for background information. >How-To-Repeat: >Fix: # 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: # # db42 # db42/Makefile # db42/distinfo # db42/files # db42/files/patch-dist::configure # db42/pkg-descr # db42/pkg-plist # db42/Makefile.db # echo c - db42 mkdir -p db42 > /dev/null 2>&1 echo x - db42/Makefile sed 's/^X//' >db42/Makefile << 'END-of-db42/Makefile' X# ports collection makefile for: Berkeley DB v4.2 X# Date created: 2003-11-26 X# Whom: Matthias Andree X# X# $FreeBSD$ X# X XPORTNAME= db42 XPORTVERSION= 4.2.50 XPORTREVISION= 0 XCATEGORIES= databases XPKGNAMESUFFIX?= X XPATCHFILES= X XMAINTAINER= matthias.andree@gmx.de XCOMMENT= The Berkeley DB package, revision 4.2 X X.include END-of-db42/Makefile echo x - db42/distinfo sed 's/^X//' >db42/distinfo << 'END-of-db42/distinfo' XMD5 (bdb/db-4.2.50.tar.gz) = 644522fe89c565ec10c6d2e2d010227b END-of-db42/distinfo echo c - db42/files mkdir -p db42/files > /dev/null 2>&1 echo x - db42/files/patch-dist::configure sed 's/^X//' >db42/files/patch-dist::configure << 'END-of-db42/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 ${DB_VERSION_MINOR}" 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 ${DB_VERSION_MINOR}" X MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}" X X # Configure for shared libraries, static libraries, or both. If both are END-of-db42/files/patch-dist::configure echo x - db42/pkg-descr sed 's/^X//' >db42/pkg-descr << 'END-of-db42/pkg-descr' XVersion 4.2 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.2 Xdatabases, and a backwards compatible API is provided to maintain Xcompatibility with programs using the v1.85 interface. X XNote that this port has a layout that is much friendlier and requires less Xpatches to applications than the traditional FreeBSD DB* ports. 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-db42/pkg-descr echo x - db42/pkg-plist sed 's/^X//' >db42/pkg-plist << 'END-of-db42/pkg-plist' XBerkeleyDB.4.2/bin/db_archive XBerkeleyDB.4.2/bin/db_checkpoint XBerkeleyDB.4.2/bin/db_deadlock XBerkeleyDB.4.2/bin/db_dump XBerkeleyDB.4.2/bin/db_dump185 XBerkeleyDB.4.2/bin/db_load XBerkeleyDB.4.2/bin/db_printlog XBerkeleyDB.4.2/bin/db_recover XBerkeleyDB.4.2/bin/db_stat XBerkeleyDB.4.2/bin/db_upgrade XBerkeleyDB.4.2/bin/db_verify X%%PORTDOCS%%BerkeleyDB.4.2/docs XBerkeleyDB.4.2/include/db.h XBerkeleyDB.4.2/include/db_185.h XBerkeleyDB.4.2/include/db_cxx.h XBerkeleyDB.4.2/lib/libdb-4.2.a XBerkeleyDB.4.2/lib/libdb-4.2.la XBerkeleyDB.4.2/lib/libdb-4.2.so XBerkeleyDB.4.2/lib/libdb-4.2.so.2 XBerkeleyDB.4.2/lib/libdb-4.so XBerkeleyDB.4.2/lib/libdb.a XBerkeleyDB.4.2/lib/libdb.so XBerkeleyDB.4.2/lib/libdb_cxx-4.2.a XBerkeleyDB.4.2/lib/libdb_cxx-4.2.la XBerkeleyDB.4.2/lib/libdb_cxx-4.2.so XBerkeleyDB.4.2/lib/libdb_cxx-4.2.so.2 XBerkeleyDB.4.2/lib/libdb_cxx-4.so XBerkeleyDB.4.2/lib/libdb_cxx.a XBerkeleyDB.4.2/lib/libdb_cxx.so Xlib/libdb-4.2.so.2 Xlib/libdb_cxx-4.2.so.2 X@dirrm BerkeleyDB.4.2/lib X@dirrm BerkeleyDB.4.2/include X@dirrm BerkeleyDB.4.2/bin X@dirrm BerkeleyDB.4.2 END-of-db42/pkg-plist echo x - db42/Makefile.db sed 's/^X//' >db42/Makefile.db << 'END-of-db42/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 X# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds some options X# we do not want in CONFIGURE_ARGS! XUSE_REINPLACE= yes XINSTALLS_SHLIB= yes XHAS_CONFIGURE= yes XCONFIGURE_SCRIPT= ../dist/configure 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 --prefix=${PREFIX}/${BDBDIR} \ X --with-uniquename 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 Xpost-install: X.for i in libdb libdb_cxx X ${LN} -s -f ../${BDBDIR}/lib/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib X.endfor X.if !defined(NOPORTDOCS) X ${RM} -f ${PREFIX}/${BDBDIR}/docs X ${LN} -s -f ${DOCSDIR} ${PREFIX}/${BDBDIR}/docs X @${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || : X.endif X X.include END-of-db42/Makefile.db exit >Release-Note: >Audit-Trail: >Unformatted: