From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 5 09:03:18 2004 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 4225216A4CE for ; Mon, 5 Jan 2004 09:03:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87C8D43D75 for ; Mon, 5 Jan 2004 09:01:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i05H0bFR002392 for ; Mon, 5 Jan 2004 09:00:37 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i05H0bfV002391; Mon, 5 Jan 2004 09:00:37 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 5 Jan 2004 09:00:37 -0800 (PST) Resent-Message-Id: <200401051700.i05H0bfV002391@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@gmx.de Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27D1A16A4FB; Mon, 5 Jan 2004 08:53:08 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8561943D45; Mon, 5 Jan 2004 08:53:05 -0800 (PST) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])888CD15DF0; Mon, 5 Jan 2004 17:53:04 +0100 (CET) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id 375579A16A; Mon, 5 Jan 2004 17:53:03 +0100 (CET) Received: from emma by libertas.emma.line.org with local (Exim 4.24; FreeBSD) id 1AdXyQ-0000Ho-Ul; Mon, 05 Jan 2004 17:53:02 +0100 Message-Id: Date: Mon, 05 Jan 2004 17:53:02 +0100 From: matthias.andree@gmx.de Sender: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: pav@FreeBSD.org cc: esn@x123.info Subject: ports/60943: MAINTAINER: new ports: databases/db42, db42-nocrypto 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: Mon, 05 Jan 2004 17:03:18 -0000 >Number: 60943 >Category: ports >Synopsis: MAINTAINER: new ports: databases/db42, db42-nocrypto >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: Mon Jan 05 09:00:36 PST 2004 >Closed-Date: >Last-Modified: >Originator: Bourne-again Superuser >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.9-STABLE FreeBSD 4.9-STABLE #70: Sat Jan 3 13:14:20 CET 2004 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386 >Description: Supersedes: PR #60098 (upstream outdated, maintainer timeout) Supersedes: PR #60904 (uses too long pkg-plist, renames libraries without need) The shar below adds the much-desired db42 and db42-nocrypto ports. Since the 60098 submission, the -nocrypto port and the 4.2.52.1 patch have been added. This PR has been tested and approved by Sebastian Yepes, originator of PR #60904. He needs this port committed to support subversion. Note to other porters who want their port to depend on this one: Use LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42-nocrypto Usually, setting CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42" LDFLAGS="-L${LOCALBASE}/lib/db42" LIBS="-ldb-4.2" will then work to get the right DB library. At run time, the proper library will be looked up by its SONAME, which is "libdb-4.2.so.2" and resides in /usr/local/lib. >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/files # db42/files/patch-dist::configure # db42/Makefile # db42/Makefile.db # db42/distinfo # db42/pkg-descr # db42/pkg-plist # db42-nocrypto # db42-nocrypto/Makefile # db42-nocrypto/distinfo # echo c - db42 mkdir -p db42 > /dev/null 2>&1 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/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.52 XCATEGORIES= databases XPKGNAMESUFFIX?= X XPATCHFILES= patch.${PORTVERSION}.1 X XMAINTAINER= matthias.andree@gmx.de XCOMMENT= The Berkeley DB package, revision 4.2 X XMASTERDIR?= ${.CURDIR} X X.include <${MASTERDIR}/Makefile.db> END-of-db42/Makefile 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 a --prefix option X# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks X# with its non-standard ${CONFIGURE_SCRIPT}. 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 --with-uniquename \ 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 Xpost-install: X.for i in libdb libdb_cxx X ${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib 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 ${PORTNAME}/$$i ../$$i-${BDBVER} ; done X X.include END-of-db42/Makefile.db echo x - db42/distinfo sed 's/^X//' >db42/distinfo << 'END-of-db42/distinfo' XMD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f XMD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7 END-of-db42/distinfo 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 different layout than the 3.3, 4.0 and 4.1 ports, Xit does not rename libraries. 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' Xbin/db42/db_archive Xbin/db42/db_checkpoint Xbin/db42/db_deadlock Xbin/db42/db_dump Xbin/db42/db_dump185 Xbin/db42/db_load Xbin/db42/db_printlog Xbin/db42/db_recover Xbin/db42/db_stat Xbin/db42/db_upgrade Xbin/db42/db_verify Xbin/db_archive-4.2 Xbin/db_checkpoint-4.2 Xbin/db_deadlock-4.2 Xbin/db_dump-4.2 Xbin/db_dump185-4.2 Xbin/db_load-4.2 Xbin/db_printlog-4.2 Xbin/db_recover-4.2 Xbin/db_stat-4.2 Xbin/db_upgrade-4.2 Xbin/db_verify-4.2 Xinclude/db42/db.h Xinclude/db42/db_185.h Xinclude/db42/db_cxx.h Xlib/db42/libdb-4.2.a Xlib/db42/libdb-4.2.la Xlib/db42/libdb-4.2.so Xlib/db42/libdb-4.2.so.2 Xlib/db42/libdb-4.so Xlib/db42/libdb.a Xlib/db42/libdb.so Xlib/db42/libdb_cxx-4.2.a Xlib/db42/libdb_cxx-4.2.la Xlib/db42/libdb_cxx-4.2.so Xlib/db42/libdb_cxx-4.2.so.2 Xlib/db42/libdb_cxx-4.so Xlib/db42/libdb_cxx.a Xlib/db42/libdb_cxx.so Xlib/libdb-4.2.so.2 Xlib/libdb_cxx-4.2.so.2 X@dirrm lib/db42 X@dirrm include/db42 X@dirrm bin/db42 END-of-db42/pkg-plist echo c - db42-nocrypto mkdir -p db42-nocrypto > /dev/null 2>&1 echo x - db42-nocrypto/Makefile sed 's/^X//' >db42-nocrypto/Makefile << 'END-of-db42-nocrypto/Makefile' X# Ports collection makefile for: db42-nocrypto X# Date created: 2004-01-04 X# Whom: matthias.andree@gmx.de X# X# $FreeBSD$ X# X XPKGNAMESUFFIX= -nocrypto XDISTNAME= db-${PORTVERSION}.NC X XMAINTAINER= matthias.andree@gmx.de X XMASTERDIR= ${.CURDIR}/../db42 XMD5_FILE= ${.CURDIR}/distinfo X X.include "${MASTERDIR}/Makefile" END-of-db42-nocrypto/Makefile echo x - db42-nocrypto/distinfo sed 's/^X//' >db42-nocrypto/distinfo << 'END-of-db42-nocrypto/distinfo' XMD5 (bdb/db-4.2.52.NC.tar.gz) = ca5c61bd4b9475b95f8e74e44d60f708 XMD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7 END-of-db42-nocrypto/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: