mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
Add Berkeley DB 4.2.52 after repocopy from db41.
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. PR: ports/60943 Submitted by: Matthias Andree <matthias.andree@gmx.de>
This commit is contained in:
parent
59ef4c83ff
commit
1977d149f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97758
50 changed files with 662 additions and 7158 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Ports collection makefile for: db41-nocrypto
|
# Ports collection makefile for: db42-nocrypto
|
||||||
# Date created: 2003-02-13
|
# Date created: 2004-01-04
|
||||||
# Whom: matthias.andree@web.de
|
# Whom: matthias.andree@gmx.de
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,9 @@
|
||||||
PKGNAMESUFFIX= -nocrypto
|
PKGNAMESUFFIX= -nocrypto
|
||||||
DISTNAME= db-${PORTVERSION}.NC
|
DISTNAME= db-${PORTVERSION}.NC
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../db41
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
|
|
||||||
|
MASTERDIR= ${.CURDIR}/../db42
|
||||||
MD5_FILE= ${.CURDIR}/distinfo
|
MD5_FILE= ${.CURDIR}/distinfo
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
.include "${MASTERDIR}/Makefile"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.NC.tar.gz) = 9777891c1a21409a871286b7a64df2e0
|
MD5 (bdb/db-4.2.52.NC.tar.gz) = ca5c61bd4b9475b95f8e74e44d60f708
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db42/Makefile.db
Normal file
46
databases/db42/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db43/Makefile.db
Normal file
46
databases/db43/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db44/Makefile.db
Normal file
46
databases/db44/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db45/Makefile.db
Normal file
46
databases/db45/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db46/Makefile.db
Normal file
46
databases/db46/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +1,20 @@
|
||||||
# ports collection makefile for: Berkeley DB v4
|
# ports collection makefile for: Berkeley DB v4.2
|
||||||
# Date created: 2003-01-04
|
# Date created: 2003-11-26
|
||||||
# Whom: Matthias Andree <matthias.andree@web.de>
|
# Whom: Matthias Andree <matthias.andree@gmx.de>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= db41
|
PORTNAME= db42
|
||||||
PORTVERSION= 4.1.25
|
PORTVERSION= 4.2.52
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
|
||||||
PKGNAMESUFFIX?=
|
PKGNAMESUFFIX?=
|
||||||
DISTNAME?= db-${PORTVERSION}
|
|
||||||
DIST_SUBDIR= bdb
|
|
||||||
|
|
||||||
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
|
||||||
PATCHFILES= patch.${PORTVERSION}.1
|
PATCHFILES= patch.${PORTVERSION}.1
|
||||||
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= matthias.andree@gmx.de
|
MAINTAINER= matthias.andree@gmx.de
|
||||||
COMMENT= The Berkeley DB package, revision 4.1
|
COMMENT= The Berkeley DB package, revision 4.2
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
MASTERDIR?= ${.CURDIR}
|
||||||
|
|
||||||
USE_REINPLACE= yes
|
.include <${MASTERDIR}/Makefile.db>
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_SCRIPT= ../dist/configure
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
||||||
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
|
||||||
--enable-cxx --enable-dynamic \
|
|
||||||
--includedir=${PREFIX}/include/db41
|
|
||||||
INSTALLS_SHLIB= yes
|
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
INSTALL_TARGET= install install_docs
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -Ee \
|
|
||||||
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
|
||||||
|
|
46
databases/db47/Makefile.db
Normal file
46
databases/db47/Makefile.db
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
MASTER_SITES= http://www.sleepycat.com/update/snapshot/
|
||||||
|
DISTNAME?= db-${PORTVERSION}
|
||||||
|
DIST_SUBDIR= bdb
|
||||||
|
|
||||||
|
PATCH_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
|
||||||
|
PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
|
||||||
|
|
||||||
|
# Do not use GNU_CONFIGURE or USE_LIBTOOL, it adds a --prefix option
|
||||||
|
# we do not want in CONFIGURE_ARGS, and currently (2003-12-09) breaks
|
||||||
|
# with its non-standard ${CONFIGURE_SCRIPT}.
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
INSTALLS_SHLIB= yes
|
||||||
|
HAS_CONFIGURE= yes
|
||||||
|
CONFIGURE_SCRIPT= ../dist/configure
|
||||||
|
CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
BDBVER= ${PORTVERSION:R}
|
||||||
|
BDBMINOR= ${BDBVER:E:S/^\.//}
|
||||||
|
BDBDIR= BerkeleyDB.${BDBVER}
|
||||||
|
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
|
||||||
|
--enable-cxx --enable-dynamic \
|
||||||
|
--with-uniquename \
|
||||||
|
--includedir=${PREFIX}/include/${PORTNAME} \
|
||||||
|
--libdir=${PREFIX}/lib/${PORTNAME} \
|
||||||
|
--bindir=${PREFIX}/bin/${PORTNAME}
|
||||||
|
INSTALL_TARGET= install_include install_lib install_utilities
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
|
||||||
|
PORTDOCS= *
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.for i in libdb libdb_cxx
|
||||||
|
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.${BDBMINOR} ${PREFIX}/lib
|
||||||
|
.endfor
|
||||||
|
.if !defined(NOPORTDOCS)
|
||||||
|
@${RMDIR} ${DOCSDIR}/ref/splash 2>/dev/null || :
|
||||||
|
.endif
|
||||||
|
cd ${PREFIX}/bin/${PORTNAME} ; \
|
||||||
|
for i in * ; do ${LN} -s ${PORTNAME}/$$i ../$$i-${BDBVER} ; done
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (bdb/db-4.1.25.tar.gz) = df71961002b552c0e72c6e4e358f27e1
|
MD5 (bdb/db-4.2.52.tar.gz) = cbc77517c9278cdb47613ce8cb55779f
|
||||||
MD5 (bdb/patch.4.1.25.1) = 1e073d12cd89f9345e281ca07368f74b
|
MD5 (bdb/patch.4.2.52.1) = 1227f5f9ff43d48b5b1759e113a1c2d7
|
||||||
|
|
|
@ -1,144 +0,0 @@
|
||||||
--- ../dist/Makefile.in.orig Sat Aug 31 03:11:56 2002
|
|
||||||
+++ ../dist/Makefile.in Sat Dec 28 01:15:46 2002
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
bindir= @bindir@
|
|
||||||
includedir=@includedir@
|
|
||||||
libdir= @libdir@
|
|
||||||
-docdir= $(prefix)/docs
|
|
||||||
+docdir= $(prefix)/share/doc/db41
|
|
||||||
|
|
||||||
dmode= 755
|
|
||||||
emode= 555
|
|
||||||
@@ -45,6 +45,7 @@
|
|
||||||
SOLINK= @MAKEFILE_SOLINK@
|
|
||||||
SOFLAGS= @SOFLAGS@
|
|
||||||
SOMAJOR= @DB_VERSION_MAJOR@
|
|
||||||
+SOMINOR= @DB_VERSION_MINOR@
|
|
||||||
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
@@ -59,13 +60,13 @@
|
|
||||||
LIBS= @LIBS@
|
|
||||||
LIBSO_LIBS= @LIBSO_LIBS@
|
|
||||||
|
|
||||||
-libdb= libdb.a
|
|
||||||
-libso_base= libdb
|
|
||||||
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libso_static= $(libso_base)-$(SOVERSION).a
|
|
||||||
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
||||||
+libdb= libdb41.a
|
|
||||||
+libso_base= libdb41
|
|
||||||
+libso= $(libso_base).@SOSUFFIX@
|
|
||||||
+libso_static= $(libso_base).a
|
|
||||||
+libso_target= $(libso_base).la
|
|
||||||
libso_default= $(libso_base).@SOSUFFIX@
|
|
||||||
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# C++ API.
|
|
||||||
@@ -78,13 +79,13 @@
|
|
||||||
XSOLINK= @MAKEFILE_XSOLINK@
|
|
||||||
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
||||||
|
|
||||||
-libcxx= libdb_cxx.a
|
|
||||||
-libxso_base= libdb_cxx
|
|
||||||
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
||||||
-libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
||||||
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
||||||
+libcxx= libdb41_cxx.a
|
|
||||||
+libxso_base= libdb41_cxx
|
|
||||||
+libxso= $(libxso_base).@SOSUFFIX@
|
|
||||||
+libxso_static= $(libxso_base).a
|
|
||||||
+libxso_target= $(libxso_base).la
|
|
||||||
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
||||||
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
||||||
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMINOR)
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# Java API.
|
|
||||||
@@ -364,8 +365,8 @@
|
|
||||||
|
|
||||||
UTIL_PROGS=\
|
|
||||||
@ADDITIONAL_PROGS@ \
|
|
||||||
- db_archive db_checkpoint db_deadlock \
|
|
||||||
- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify
|
|
||||||
+ db41_archive db41_checkpoint db41_deadlock \
|
|
||||||
+ db41_dump db41_load db41_printlog db41_recover db41_stat db41_upgrade db41_verify
|
|
||||||
|
|
||||||
##################################################
|
|
||||||
# List of files installed into the library directory.
|
|
||||||
@@ -481,53 +482,53 @@
|
|
||||||
echo >> $@ exec java com.sleepycat.db.rpcserver.DbServer \$$@
|
|
||||||
chmod +x $@
|
|
||||||
|
|
||||||
-db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
+db41_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
|
|
||||||
-db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
+db41_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
||||||
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
||||||
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
||||||
$(POSTLINK) $@
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
# Library and standard utilities install.
|
|
||||||
##################################################
|
|
||||||
library_install: install_setup
|
|
||||||
-library_install: install_include install_lib install_utilities install_docs
|
|
||||||
+library_install: install_include install_lib install_utilities
|
|
||||||
|
|
||||||
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
||||||
|
|
|
@ -13,12 +13,3 @@
|
||||||
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
|
||||||
|
|
||||||
# Configure for shared libraries, static libraries, or both. If both are
|
# Configure for shared libraries, static libraries, or both. If both are
|
||||||
@@ -9511,7 +9511,7 @@
|
|
||||||
|
|
||||||
# Optional utilities.
|
|
||||||
if test "$db_cv_dump185" = "yes"; then
|
|
||||||
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
|
|
||||||
+ ADDITIONAL_PROGS="db41_dump185 $ADDITIONAL_PROGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checks for system/compiler characteristics.
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
|
|
||||||
+++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
|
|
||||||
@@ -1043,14 +1043,14 @@
|
|
||||||
# These systems don't actually have a C library (as such)
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc due to us having libc/libc_r.
|
|
||||||
test "X$arg" = "X-lc" && continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
elif test "X$arg" = "X-lc_r"; then
|
|
||||||
case $host in
|
|
||||||
- *-*-openbsd*)
|
|
||||||
+ *-*-openbsd* | *-*-freebsd*)
|
|
||||||
# Do not include libc_r directly, use -pthread flag.
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
@@ -4217,10 +4217,12 @@
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install the pseudo-library for information purposes.
|
|
||||||
+ if /usr/bin/false; then
|
|
||||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
||||||
instname="$dir/$name"i
|
|
||||||
$show "$install_prog $instname $destdir/$name"
|
|
||||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# Maybe install the static library, too.
|
|
||||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
|
|
@ -1,10 +1,16 @@
|
||||||
Version 4.1 of the Berkeley DB library. This version uses an incompatible
|
Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
|
||||||
underlying database format than revision 1 and a different standard API.
|
with optional concurrent access or transactions interface.
|
||||||
Utilities are included in the distribution to convert v1.85 databases to v4.1
|
|
||||||
|
Utilities are included in the distribution to convert v1.85 databases to v4.2
|
||||||
databases, and a backwards compatible API is provided to maintain
|
databases, and a backwards compatible API is provided to maintain
|
||||||
compatibility with programs using the v1.85 interface.
|
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:
|
For details on compatibility with other DB versions, see:
|
||||||
http://www.sleepycat.com/download/patchlogs.shtml
|
http://www.sleepycat.com/download/patchlogs.shtml
|
||||||
|
|
||||||
|
-- Matthias Andree
|
||||||
|
|
||||||
WWW: http://www.sleepycat.com/
|
WWW: http://www.sleepycat.com/
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue