diff --git a/databases/db/Makefile b/databases/db/Makefile new file mode 100644 index 00000000000..698b4e3d87f --- /dev/null +++ b/databases/db/Makefile @@ -0,0 +1,43 @@ +# OpenBSD makefile for: Berkeley DB +# Version required: 2.3.12 +# Date created: 26 Nov 1997 +# Whom: Stanislav Grozev +# +# $OpenBSD: Makefile,v 1.1.1.1 1997/11/26 13:11:17 tacho Exp $ +# + +DISTNAME= db-2.3.12 +CATEGORIES= databases +MASTER_SITES= http://www.sleepycat.com/packages/ + +MAINTAINER= tacho@openbsd.org + +WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix + +GNU_CONFIGURE= YES +CONFIGURE_SCRIPT= ../dist/configure +CONFIGURE_ARGS= --host=${ARCH}-unknown-openbsd --prefix=${PREFIX}\ + --enable-compat185 --enable-dump185 --enable-cxx + +MAN1= db_archive.1 db_checkpoint.1 db_deadlock.1 db_dump.1 db_load.1 \ + db_recover.1 db_stat.1 +MAN3= db_appinit.3 db_cursor.3 db_dbm.3 db_hsearch.3 db_intro.3 db_lock.3 \ + db_log.3 db_mpool.3 db_open.3 db_txn.3 \ + Db.3 DbEnv.3 DbException.3 DbInfo.3 DbLock.3 DbLockTab.3 DbLog.3 \ + DbLsn.3 DbMpool.3 DbMpoolFile.3 DbTxn.3 DbTxnMgr.3 Dbc.3 Dbt.3 + +post-install: + ${MKDIR} ${PREFIX}/share/doc/db +.for doc in hash.usenix.ps libtp.usenix.ps + ${INSTALL_DATA} ${WRKSRC}/../docs/${doc} ${PREFIX}/share/doc/db + gzip -9 ${PREFIX}/share/doc/db/${doc} +.endfor + ${MKDIR} ${PREFIX}/share/examples/db +.for example in README ex_access.c ex_appinit.c ex_btrec.c ex_lock.c ex_mpool.c ex_tpcb.c ex_tpcb.h + ${INSTALL_DATA} ${WRKSRC}/../examples/${example} ${PREFIX}/share/examples/db +.endfor +.for example in AccessExample.cpp AppinitExample.cpp LockExample.cpp MpoolExample.cpp TpcbExample.cpp + ${INSTALL_DATA} ${WRKSRC}/../examples_cxx/${example} ${PREFIX}/share/examples/db +.endfor + +.include diff --git a/databases/db/files/md5 b/databases/db/files/md5 new file mode 100644 index 00000000000..9eb2454f197 --- /dev/null +++ b/databases/db/files/md5 @@ -0,0 +1 @@ +MD5 (db-2.3.12.tar.gz) = 6ad6cb464897552f707a5240743bd35d diff --git a/databases/db/pkg/COMMENT b/databases/db/pkg/COMMENT new file mode 100644 index 00000000000..d7a805a7c31 --- /dev/null +++ b/databases/db/pkg/COMMENT @@ -0,0 +1 @@ +the Berkeley DB package, revision 2 diff --git a/databases/db/pkg/DESCR b/databases/db/pkg/DESCR new file mode 100644 index 00000000000..c3fb1b61485 --- /dev/null +++ b/databases/db/pkg/DESCR @@ -0,0 +1,5 @@ +Version 2.3.12 of the Berkeley DB library. This version uses an incompatible +underlying database than v1.85 and a different API. Utilities are included in +the distribution to convert v1.85 databases to v2.3.12 + +For more information, refer to http://www.sleepycat.com diff --git a/databases/db/pkg/PLIST b/databases/db/pkg/PLIST new file mode 100644 index 00000000000..703276f2c7b --- /dev/null +++ b/databases/db/pkg/PLIST @@ -0,0 +1,88 @@ +include/db.h +include/db_cxx.h +include/db_185.h +lib/libdb.a +bin/db_archive +bin/db_checkpoint +bin/db_deadlock +bin/db_dump +bin/db_load +bin/db_recover +bin/db_stat +bin/db_dump185 +man/cat3/db_appinit.0 +man/cat3/db_cursor.0 +man/cat3/db_dbm.0 +man/cat3/db_hsearch.0 +man/cat3/db_intro.0 +man/cat3/db_lock.0 +man/cat3/db_log.0 +man/cat3/db_mpool.0 +man/cat3/db_open.0 +man/cat3/db_txn.0 +man/cat3/Db.0 +man/cat3/DbEnv.0 +man/cat3/DbException.0 +man/cat3/DbInfo.0 +man/cat3/DbLock.0 +man/cat3/DbLockTab.0 +man/cat3/DbLog.0 +man/cat3/DbLsn.0 +man/cat3/DbMpool.0 +man/cat3/DbMpoolFile.0 +man/cat3/DbTxn.0 +man/cat3/DbTxnMgr.0 +man/cat3/Dbc.0 +man/cat3/Dbt.0 +man/cat1/db_archive.0 +man/cat1/db_checkpoint.0 +man/cat1/db_deadlock.0 +man/cat1/db_dump.0 +man/cat1/db_load.0 +man/cat1/db_recover.0 +man/cat1/db_stat.0 +man/man3/db_appinit.3.gz +man/man3/db_cursor.3.gz +man/man3/db_dbm.3.gz +man/man3/db_hsearch.3.gz +man/man3/db_intro.3.gz +man/man3/db_lock.3.gz +man/man3/db_log.3.gz +man/man3/db_mpool.3.gz +man/man3/db_open.3.gz +man/man3/db_txn.3.gz +man/man3/Db.3.gz +man/man3/DbEnv.3.gz +man/man3/DbException.3.gz +man/man3/DbInfo.3.gz +man/man3/DbLock.3.gz +man/man3/DbLockTab.3.gz +man/man3/DbLog.3.gz +man/man3/DbLsn.3.gz +man/man3/DbMpool.3.gz +man/man3/DbMpoolFile.3.gz +man/man3/DbTxn.3.gz +man/man3/DbTxnMgr.3.gz +man/man3/Dbc.3.gz +man/man3/Dbt.3.gz +man/man1/db_archive.1.gz +man/man1/db_checkpoint.1.gz +man/man1/db_deadlock.1.gz +man/man1/db_dump.1.gz +man/man1/db_load.1.gz +man/man1/db_recover.1.gz +man/man1/db_stat.1.gz +share/doc/db/hash.usenix.ps.gz +share/doc/db/libtp.usenix.ps.gz +share/examples/db/ex_access.c +share/examples/db/ex_appinit.c +share/examples/db/ex_btrec.c +share/examples/db/ex_lock.c +share/examples/db/ex_mpool.c +share/examples/db/ex_tpcb.c +share/examples/db/ex_tpcb.h +share/examples/db/AccessExample.cpp +share/examples/db/AppinitExample.cpp +share/examples/db/LockExample.cpp +share/examples/db/MpoolExample.cpp +share/examples/db/TpcbExample.cpp