Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

23
databases/db/DESCR Normal file
View File

@@ -0,0 +1,23 @@
Berkeley DB is an embeddable database system that supports keyed access to
data. The software is distributed in source code form, and developers can
compile and link the source code into a single library for inclusion
directly in their applications.
Developers may choose to store data in any of several different storage
structures to satisfy the requirements of a particular application. In
database terminology, these storage structures and the code that operates on
them are called access methods. The library includes support for the
following access methods:
* B+tree: Stores keys in sorted order, using either a programmer-supplied
ordering function or a default function that does lexicographical
ordering of keys. Applications may perform equality or range searches.
* Hashing: Stores records in a hash table for fast searches based on
strict equality. Extended Linear Hashing modifies the hash function
used by the table as new records are inserted, in order to keep buckets
underfull in the steady state.
* Fixed and Variable-Length Records: Stores fixed- or variable-length
records in sequential order. Record numbers may be immutable or
mutable, i.e., permitting new records to be inserted between existing
records or requiring that new records be added only at the end of the
database.

27
databases/db/Makefile Normal file
View File

@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.33 2012/12/13 00:58:38 gdt Exp $
DISTNAME= db-2.7.7
PKGREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.oracle.com/database/berkeley-db.html
COMMENT= Sleepycat Software's Berkeley DB version 2
LICENSE= sleepycat-license # minus ASM stanza
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS+= --program-transform-name=s,db_,db2_,
CONFIGURE_ARGS+= --enable-compat185
INSTALLATION_DIRS= bin include/db2 lib share/doc/db2
post-install:
${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/doc/db2
.include "../../mk/bsd.pkg.mk"

464
databases/db/PLIST Normal file
View File

@@ -0,0 +1,464 @@
@comment $NetBSD: PLIST,v 1.10 2009/06/14 18:36:19 joerg Exp $
bin/db2_archive
bin/db2_checkpoint
bin/db2_deadlock
bin/db2_dump
bin/db2_load
bin/db2_printlog
bin/db2_recover
bin/db2_stat
include/db2/db.h
include/db2/db_185.h
include/db2/db_cxx.h
lib/libdb2.la
share/doc/db2/api_c/Db/close.html
share/doc/db2/api_c/Db/cursor.html
share/doc/db2/api_c/Db/del.html
share/doc/db2/api_c/Db/fd.html
share/doc/db2/api_c/Db/get.html
share/doc/db2/api_c/Db/join.html
share/doc/db2/api_c/Db/open.html
share/doc/db2/api_c/Db/put.html
share/doc/db2/api_c/Db/stat.html
share/doc/db2/api_c/Db/sync.html
share/doc/db2/api_c/DbEnv/appexit.html
share/doc/db2/api_c/DbEnv/appinit.html
share/doc/db2/api_c/DbEnv/env.html
share/doc/db2/api_c/DbEnv/version.html
share/doc/db2/api_c/DbInfo/info.html
share/doc/db2/api_c/DbLock/put.html
share/doc/db2/api_c/DbLockTab/close.html
share/doc/db2/api_c/DbLockTab/detect.html
share/doc/db2/api_c/DbLockTab/get.html
share/doc/db2/api_c/DbLockTab/id.html
share/doc/db2/api_c/DbLockTab/open.html
share/doc/db2/api_c/DbLockTab/stat.html
share/doc/db2/api_c/DbLockTab/unlink.html
share/doc/db2/api_c/DbLockTab/vec.html
share/doc/db2/api_c/DbLog/archive.html
share/doc/db2/api_c/DbLog/close.html
share/doc/db2/api_c/DbLog/compare.html
share/doc/db2/api_c/DbLog/db_register.html
share/doc/db2/api_c/DbLog/db_unregister.html
share/doc/db2/api_c/DbLog/file.html
share/doc/db2/api_c/DbLog/flush.html
share/doc/db2/api_c/DbLog/get.html
share/doc/db2/api_c/DbLog/lsn.html
share/doc/db2/api_c/DbLog/open.html
share/doc/db2/api_c/DbLog/put.html
share/doc/db2/api_c/DbLog/stat.html
share/doc/db2/api_c/DbLog/unlink.html
share/doc/db2/api_c/DbMpool/close.html
share/doc/db2/api_c/DbMpool/db_register.html
share/doc/db2/api_c/DbMpool/open.html
share/doc/db2/api_c/DbMpool/stat.html
share/doc/db2/api_c/DbMpool/sync.html
share/doc/db2/api_c/DbMpool/trickle.html
share/doc/db2/api_c/DbMpool/unlink.html
share/doc/db2/api_c/DbMpoolFile/close.html
share/doc/db2/api_c/DbMpoolFile/get.html
share/doc/db2/api_c/DbMpoolFile/open.html
share/doc/db2/api_c/DbMpoolFile/put.html
share/doc/db2/api_c/DbMpoolFile/set.html
share/doc/db2/api_c/DbMpoolFile/sync.html
share/doc/db2/api_c/DbTxn/abort.html
share/doc/db2/api_c/DbTxn/commit.html
share/doc/db2/api_c/DbTxn/id.html
share/doc/db2/api_c/DbTxn/prepare.html
share/doc/db2/api_c/DbTxnMgr/begin.html
share/doc/db2/api_c/DbTxnMgr/checkpoint.html
share/doc/db2/api_c/DbTxnMgr/close.html
share/doc/db2/api_c/DbTxnMgr/open.html
share/doc/db2/api_c/DbTxnMgr/stat.html
share/doc/db2/api_c/DbTxnMgr/unlink.html
share/doc/db2/api_c/Dbc/close.html
share/doc/db2/api_c/Dbc/del.html
share/doc/db2/api_c/Dbc/get.html
share/doc/db2/api_c/Dbc/put.html
share/doc/db2/api_c/Dbt/dbt.html
share/doc/db2/api_c/historic/dbm.html
share/doc/db2/api_c/historic/hsearch.html
share/doc/db2/api_c/index/flags.html
share/doc/db2/api_c/index/function.html
share/doc/db2/api_c/index/structure.html
share/doc/db2/api_c/internal/db_jump_set.html
share/doc/db2/api_c/internal/db_value_set.html
share/doc/db2/api_cxx/Db/class.html
share/doc/db2/api_cxx/Db/close.html
share/doc/db2/api_cxx/Db/cursor.html
share/doc/db2/api_cxx/Db/del.html
share/doc/db2/api_cxx/Db/fd.html
share/doc/db2/api_cxx/Db/get.html
share/doc/db2/api_cxx/Db/get_byteswapped.html
share/doc/db2/api_cxx/Db/get_type.html
share/doc/db2/api_cxx/Db/join.html
share/doc/db2/api_cxx/Db/open.html
share/doc/db2/api_cxx/Db/put.html
share/doc/db2/api_cxx/Db/stat.html
share/doc/db2/api_cxx/Db/sync.html
share/doc/db2/api_cxx/DbEnv/appexit.html
share/doc/db2/api_cxx/DbEnv/appinit.html
share/doc/db2/api_cxx/DbEnv/class.html
share/doc/db2/api_cxx/DbEnv/get_lg_info.html
share/doc/db2/api_cxx/DbEnv/get_lk_info.html
share/doc/db2/api_cxx/DbEnv/get_mp_info.html
share/doc/db2/api_cxx/DbEnv/get_tx_info.html
share/doc/db2/api_cxx/DbEnv/set_errcall.html
share/doc/db2/api_cxx/DbEnv/set_errfile.html
share/doc/db2/api_cxx/DbEnv/set_error_model.html
share/doc/db2/api_cxx/DbEnv/set_error_stream.html
share/doc/db2/api_cxx/DbEnv/set_errpfx.html
share/doc/db2/api_cxx/DbEnv/set_lg_max.html
share/doc/db2/api_cxx/DbEnv/set_lk_conflicts.html
share/doc/db2/api_cxx/DbEnv/set_lk_detect.html
share/doc/db2/api_cxx/DbEnv/set_lk_max.html
share/doc/db2/api_cxx/DbEnv/set_lk_modes.html
share/doc/db2/api_cxx/DbEnv/set_lorder.html
share/doc/db2/api_cxx/DbEnv/set_mp_mmapsize.html
share/doc/db2/api_cxx/DbEnv/set_mp_size.html
share/doc/db2/api_cxx/DbEnv/set_tx_max.html
share/doc/db2/api_cxx/DbEnv/set_tx_recover.html
share/doc/db2/api_cxx/DbEnv/set_verbose.html
share/doc/db2/api_cxx/DbEnv/version.html
share/doc/db2/api_cxx/DbException/class.html
share/doc/db2/api_cxx/DbException/get_errno.html
share/doc/db2/api_cxx/DbException/what.html
share/doc/db2/api_cxx/DbInfo/class.html
share/doc/db2/api_cxx/DbInfo/set_bt_compare.html
share/doc/db2/api_cxx/DbInfo/set_bt_maxkey.html
share/doc/db2/api_cxx/DbInfo/set_bt_minkey.html
share/doc/db2/api_cxx/DbInfo/set_bt_prefix.html
share/doc/db2/api_cxx/DbInfo/set_cachesize.html
share/doc/db2/api_cxx/DbInfo/set_compare.html
share/doc/db2/api_cxx/DbInfo/set_flags.html
share/doc/db2/api_cxx/DbInfo/set_h_ffactor.html
share/doc/db2/api_cxx/DbInfo/set_h_hash.html
share/doc/db2/api_cxx/DbInfo/set_h_nelem.html
share/doc/db2/api_cxx/DbInfo/set_lorder.html
share/doc/db2/api_cxx/DbInfo/set_malloc.html
share/doc/db2/api_cxx/DbInfo/set_pagesize.html
share/doc/db2/api_cxx/DbInfo/set_re_delim.html
share/doc/db2/api_cxx/DbInfo/set_re_len.html
share/doc/db2/api_cxx/DbInfo/set_re_pad.html
share/doc/db2/api_cxx/DbInfo/set_re_source.html
share/doc/db2/api_cxx/DbLock/class.html
share/doc/db2/api_cxx/DbLock/put.html
share/doc/db2/api_cxx/DbLockTab/class.html
share/doc/db2/api_cxx/DbLockTab/close.html
share/doc/db2/api_cxx/DbLockTab/detect.html
share/doc/db2/api_cxx/DbLockTab/get.html
share/doc/db2/api_cxx/DbLockTab/id.html
share/doc/db2/api_cxx/DbLockTab/open.html
share/doc/db2/api_cxx/DbLockTab/stat.html
share/doc/db2/api_cxx/DbLockTab/unlink.html
share/doc/db2/api_cxx/DbLockTab/vec.html
share/doc/db2/api_cxx/DbLog/archive.html
share/doc/db2/api_cxx/DbLog/class.html
share/doc/db2/api_cxx/DbLog/close.html
share/doc/db2/api_cxx/DbLog/compare.html
share/doc/db2/api_cxx/DbLog/db_register.html
share/doc/db2/api_cxx/DbLog/db_unregister.html
share/doc/db2/api_cxx/DbLog/file.html
share/doc/db2/api_cxx/DbLog/flush.html
share/doc/db2/api_cxx/DbLog/get.html
share/doc/db2/api_cxx/DbLog/open.html
share/doc/db2/api_cxx/DbLog/put.html
share/doc/db2/api_cxx/DbLog/stat.html
share/doc/db2/api_cxx/DbLog/unlink.html
share/doc/db2/api_cxx/DbLsn/class.html
share/doc/db2/api_cxx/DbMpool/class.html
share/doc/db2/api_cxx/DbMpool/close.html
share/doc/db2/api_cxx/DbMpool/db_register.html
share/doc/db2/api_cxx/DbMpool/open.html
share/doc/db2/api_cxx/DbMpool/stat.html
share/doc/db2/api_cxx/DbMpool/sync.html
share/doc/db2/api_cxx/DbMpool/trickle.html
share/doc/db2/api_cxx/DbMpool/unlink.html
share/doc/db2/api_cxx/DbMpoolFile/class.html
share/doc/db2/api_cxx/DbMpoolFile/close.html
share/doc/db2/api_cxx/DbMpoolFile/get.html
share/doc/db2/api_cxx/DbMpoolFile/open.html
share/doc/db2/api_cxx/DbMpoolFile/put.html
share/doc/db2/api_cxx/DbMpoolFile/set.html
share/doc/db2/api_cxx/DbMpoolFile/sync.html
share/doc/db2/api_cxx/DbTxn/abort.html
share/doc/db2/api_cxx/DbTxn/class.html
share/doc/db2/api_cxx/DbTxn/commit.html
share/doc/db2/api_cxx/DbTxn/id.html
share/doc/db2/api_cxx/DbTxn/prepare.html
share/doc/db2/api_cxx/DbTxnMgr/begin.html
share/doc/db2/api_cxx/DbTxnMgr/checkpoint.html
share/doc/db2/api_cxx/DbTxnMgr/class.html
share/doc/db2/api_cxx/DbTxnMgr/close.html
share/doc/db2/api_cxx/DbTxnMgr/open.html
share/doc/db2/api_cxx/DbTxnMgr/stat.html
share/doc/db2/api_cxx/DbTxnMgr/unlink.html
share/doc/db2/api_cxx/Dbc/class.html
share/doc/db2/api_cxx/Dbc/close.html
share/doc/db2/api_cxx/Dbc/del.html
share/doc/db2/api_cxx/Dbc/get.html
share/doc/db2/api_cxx/Dbc/put.html
share/doc/db2/api_cxx/Dbt/class.html
share/doc/db2/api_cxx/index/class.html
share/doc/db2/api_java/Db/class.html
share/doc/db2/api_java/Db/close.html
share/doc/db2/api_java/Db/cursor.html
share/doc/db2/api_java/Db/del.html
share/doc/db2/api_java/Db/fd.html
share/doc/db2/api_java/Db/get.html
share/doc/db2/api_java/Db/get_byteswapped.html
share/doc/db2/api_java/Db/get_type.html
share/doc/db2/api_java/Db/join.html
share/doc/db2/api_java/Db/open.html
share/doc/db2/api_java/Db/put.html
share/doc/db2/api_java/Db/stat.html
share/doc/db2/api_java/Db/sync.html
share/doc/db2/api_java/DbEnv/appexit.html
share/doc/db2/api_java/DbEnv/appinit.html
share/doc/db2/api_java/DbEnv/class.html
share/doc/db2/api_java/DbEnv/get_lg_info.html
share/doc/db2/api_java/DbEnv/get_lk_info.html
share/doc/db2/api_java/DbEnv/get_mp_info.html
share/doc/db2/api_java/DbEnv/get_tx_info.html
share/doc/db2/api_java/DbEnv/set_errcall.html
share/doc/db2/api_java/DbEnv/set_error_stream.html
share/doc/db2/api_java/DbEnv/set_errpfx.html
share/doc/db2/api_java/DbEnv/set_lg_max.html
share/doc/db2/api_java/DbEnv/set_lk_conflicts.html
share/doc/db2/api_java/DbEnv/set_lk_detect.html
share/doc/db2/api_java/DbEnv/set_lk_max.html
share/doc/db2/api_java/DbEnv/set_lk_modes.html
share/doc/db2/api_java/DbEnv/set_lorder.html
share/doc/db2/api_java/DbEnv/set_mp_mmapsize.html
share/doc/db2/api_java/DbEnv/set_mp_size.html
share/doc/db2/api_java/DbEnv/set_tx_max.html
share/doc/db2/api_java/DbEnv/set_verbose.html
share/doc/db2/api_java/DbEnv/version.html
share/doc/db2/api_java/DbException/class.html
share/doc/db2/api_java/DbException/get_errno.html
share/doc/db2/api_java/DbInfo/class.html
share/doc/db2/api_java/DbInfo/set_bt_compare.html
share/doc/db2/api_java/DbInfo/set_bt_maxkey.html
share/doc/db2/api_java/DbInfo/set_bt_minkey.html
share/doc/db2/api_java/DbInfo/set_bt_prefix.html
share/doc/db2/api_java/DbInfo/set_cachesize.html
share/doc/db2/api_java/DbInfo/set_compare.html
share/doc/db2/api_java/DbInfo/set_flags.html
share/doc/db2/api_java/DbInfo/set_h_ffactor.html
share/doc/db2/api_java/DbInfo/set_h_hash.html
share/doc/db2/api_java/DbInfo/set_h_nelem.html
share/doc/db2/api_java/DbInfo/set_lorder.html
share/doc/db2/api_java/DbInfo/set_malloc.html
share/doc/db2/api_java/DbInfo/set_pagesize.html
share/doc/db2/api_java/DbInfo/set_re_delim.html
share/doc/db2/api_java/DbInfo/set_re_len.html
share/doc/db2/api_java/DbInfo/set_re_pad.html
share/doc/db2/api_java/DbInfo/set_re_source.html
share/doc/db2/api_java/DbLock/class.html
share/doc/db2/api_java/DbLock/put.html
share/doc/db2/api_java/DbLockTab/class.html
share/doc/db2/api_java/DbLockTab/close.html
share/doc/db2/api_java/DbLockTab/detect.html
share/doc/db2/api_java/DbLockTab/get.html
share/doc/db2/api_java/DbLockTab/id.html
share/doc/db2/api_java/DbLockTab/open.html
share/doc/db2/api_java/DbLockTab/stat.html
share/doc/db2/api_java/DbLockTab/unlink.html
share/doc/db2/api_java/DbLockTab/vec.html
share/doc/db2/api_java/DbLog/archive.html
share/doc/db2/api_java/DbLog/class.html
share/doc/db2/api_java/DbLog/close.html
share/doc/db2/api_java/DbLog/compare.html
share/doc/db2/api_java/DbLog/db_register.html
share/doc/db2/api_java/DbLog/db_unregister.html
share/doc/db2/api_java/DbLog/file.html
share/doc/db2/api_java/DbLog/flush.html
share/doc/db2/api_java/DbLog/get.html
share/doc/db2/api_java/DbLog/open.html
share/doc/db2/api_java/DbLog/put.html
share/doc/db2/api_java/DbLog/stat.html
share/doc/db2/api_java/DbLog/unlink.html
share/doc/db2/api_java/DbLsn/class.html
share/doc/db2/api_java/DbMpool/class.html
share/doc/db2/api_java/DbMpool/close.html
share/doc/db2/api_java/DbMpool/db_register.html
share/doc/db2/api_java/DbMpool/open.html
share/doc/db2/api_java/DbMpool/stat.html
share/doc/db2/api_java/DbMpool/sync.html
share/doc/db2/api_java/DbMpool/trickle.html
share/doc/db2/api_java/DbMpool/unlink.html
share/doc/db2/api_java/DbMpoolFile/class.html
share/doc/db2/api_java/DbMpoolFile/close.html
share/doc/db2/api_java/DbMpoolFile/get.html
share/doc/db2/api_java/DbMpoolFile/open.html
share/doc/db2/api_java/DbMpoolFile/put.html
share/doc/db2/api_java/DbMpoolFile/set.html
share/doc/db2/api_java/DbMpoolFile/sync.html
share/doc/db2/api_java/DbRunRecoveryException/class.html
share/doc/db2/api_java/DbTxn/abort.html
share/doc/db2/api_java/DbTxn/class.html
share/doc/db2/api_java/DbTxn/commit.html
share/doc/db2/api_java/DbTxn/id.html
share/doc/db2/api_java/DbTxn/prepare.html
share/doc/db2/api_java/DbTxnMgr/begin.html
share/doc/db2/api_java/DbTxnMgr/checkpoint.html
share/doc/db2/api_java/DbTxnMgr/class.html
share/doc/db2/api_java/DbTxnMgr/close.html
share/doc/db2/api_java/DbTxnMgr/open.html
share/doc/db2/api_java/DbTxnMgr/stat.html
share/doc/db2/api_java/DbTxnMgr/unlink.html
share/doc/db2/api_java/Dbc/class.html
share/doc/db2/api_java/Dbc/close.html
share/doc/db2/api_java/Dbc/del.html
share/doc/db2/api_java/Dbc/get.html
share/doc/db2/api_java/Dbc/put.html
share/doc/db2/api_java/Dbt/class.html
share/doc/db2/api_java/index/class.html
share/doc/db2/build/java.html
share/doc/db2/build/shared.html
share/doc/db2/build/shared_gcc.html
share/doc/db2/build/shared_hp.html
share/doc/db2/build/unix.html
share/doc/db2/build/unix_faq.html
share/doc/db2/build/win16.html
share/doc/db2/build/win32.html
share/doc/db2/build/win_faq.html
share/doc/db2/distrib/layout.html
share/doc/db2/images/folder.gif
share/doc/db2/images/folder_open.gif
share/doc/db2/images/next.gif
share/doc/db2/images/prev.gif
share/doc/db2/images/ps.gif
share/doc/db2/images/sleepycat.gif
share/doc/db2/images/toc.gif
share/doc/db2/index.html
share/doc/db2/packages/hash_usenix.ps
share/doc/db2/packages/index.html
share/doc/db2/packages/libtp_usenix.ps
share/doc/db2/packages/witold.html
share/doc/db2/ref/am/bt_compare.html
share/doc/db2/ref/am/bt_dup.html
share/doc/db2/ref/am/bt_maxkey.html
share/doc/db2/ref/am/bt_minkey.html
share/doc/db2/ref/am/bt_prefix.html
share/doc/db2/ref/am/bt_recnum.html
share/doc/db2/ref/am/byteorder.html
share/doc/db2/ref/am/cachesize.html
share/doc/db2/ref/am/close.html
share/doc/db2/ref/am/compare.html
share/doc/db2/ref/am/curclose.html
share/doc/db2/ref/am/curdel.html
share/doc/db2/ref/am/curget.html
share/doc/db2/ref/am/curput.html
share/doc/db2/ref/am/cursor.html
share/doc/db2/ref/am/delete.html
share/doc/db2/ref/am/get.html
share/doc/db2/ref/am/h_dup.html
share/doc/db2/ref/am/h_ffactor.html
share/doc/db2/ref/am/h_hash.html
share/doc/db2/ref/am/h_nelem.html
share/doc/db2/ref/am/intro.html
share/doc/db2/ref/am/join.html
share/doc/db2/ref/am/logrec.html
share/doc/db2/ref/am/malloc.html
share/doc/db2/ref/am/ops.html
share/doc/db2/ref/am/pagesize.html
share/doc/db2/ref/am/partial.html
share/doc/db2/ref/am/put.html
share/doc/db2/ref/am/re_delim.html
share/doc/db2/ref/am/re_len.html
share/doc/db2/ref/am/re_pad.html
share/doc/db2/ref/am/re_source.html
share/doc/db2/ref/am/renumber.html
share/doc/db2/ref/am/select.html
share/doc/db2/ref/am/stat.html
share/doc/db2/ref/am/sync.html
share/doc/db2/ref/arch/apis.html
share/doc/db2/ref/arch/bigpic.gif
share/doc/db2/ref/arch/bigpic.html
share/doc/db2/ref/arch/env.html
share/doc/db2/ref/arch/extending.html
share/doc/db2/ref/arch/progmodel.html
share/doc/db2/ref/arch/script.html
share/doc/db2/ref/arch/smallpic.gif
share/doc/db2/ref/arch/subsystem.html
share/doc/db2/ref/arch/utilities.html
share/doc/db2/ref/cam/intro.html
share/doc/db2/ref/debug/runtime.html
share/doc/db2/ref/dumpload/format.html
share/doc/db2/ref/dumpload/text.html
share/doc/db2/ref/dumpload/utility.html
share/doc/db2/ref/env/create.html
share/doc/db2/ref/env/naming.html
share/doc/db2/ref/env/open.html
share/doc/db2/ref/env/region.html
share/doc/db2/ref/env/security.html
share/doc/db2/ref/install/file.html
share/doc/db2/ref/install/magic.s5.be.txt
share/doc/db2/ref/install/magic.s5.le.txt
share/doc/db2/ref/install/magic.txt
share/doc/db2/ref/intro/distrib.html
share/doc/db2/ref/intro/do.html
share/doc/db2/ref/intro/what.html
share/doc/db2/ref/intro/where.html
share/doc/db2/ref/lock/stdmode.html
share/doc/db2/ref/log/config.html
share/doc/db2/ref/log/intro.html
share/doc/db2/ref/log/limits.html
share/doc/db2/ref/mp/config.html
share/doc/db2/ref/mp/intro.html
share/doc/db2/ref/perl/intro.html
share/doc/db2/ref/program/appsignals.html
share/doc/db2/ref/program/byteorder.html
share/doc/db2/ref/program/compatible.html
share/doc/db2/ref/program/convert.html
share/doc/db2/ref/program/dbsizes.html
share/doc/db2/ref/program/environ.html
share/doc/db2/ref/program/errorret.html
share/doc/db2/ref/program/java.html
share/doc/db2/ref/program/runtime.html
share/doc/db2/ref/program/solaris.txt
share/doc/db2/ref/program/thread.html
share/doc/db2/ref/program/version.html
share/doc/db2/ref/sendmail/intro.html
share/doc/db2/ref/simple_tut/close.html
share/doc/db2/ref/simple_tut/del.html
share/doc/db2/ref/simple_tut/errors.html
share/doc/db2/ref/simple_tut/example.txt
share/doc/db2/ref/simple_tut/get.html
share/doc/db2/ref/simple_tut/intro.html
share/doc/db2/ref/simple_tut/keydata.html
share/doc/db2/ref/simple_tut/open.html
share/doc/db2/ref/simple_tut/put.html
share/doc/db2/ref/toc.html
share/doc/db2/ref/transapp/admin.html
share/doc/db2/ref/transapp/apps.html
share/doc/db2/ref/transapp/archival.html
share/doc/db2/ref/transapp/checkpoint.html
share/doc/db2/ref/transapp/deadlock.html
share/doc/db2/ref/transapp/filesys.html
share/doc/db2/ref/transapp/intro.html
share/doc/db2/ref/transapp/recovery.html
share/doc/db2/ref/transapp/throughput.html
share/doc/db2/ref/transapp/writetest.txt
share/doc/db2/ref/txn/config.html
share/doc/db2/ref/txn/limits.html
share/doc/db2/ref/txn/other.html
share/doc/db2/ref/txn/stability.html
share/doc/db2/sleepycat/contact.html
share/doc/db2/test/build.html
share/doc/db2/test/build_faq.html
share/doc/db2/test/run.html
share/doc/db2/test/debug.html
share/doc/db2/sleepycat/products.html
share/doc/db2/utility/index.html
share/doc/db2/utility/db_checkpoint.html
share/doc/db2/utility/db_deadlock.html
share/doc/db2/utility/db_dump.html
share/doc/db2/utility/db_load.html
share/doc/db2/utility/db_recover.html
share/doc/db2/utility/db_stat.html
share/doc/db2/utility/db_archive.html
@pkgdir share/doc/db2/api_java/special
@pkgdir share/doc/db2/api_cxx/special
@pkgdir share/doc/db2/api_c/special

View File

@@ -0,0 +1,21 @@
# $NetBSD: buildlink3.mk,v 1.27 2012/02/05 12:16:56 obache Exp $
BUILDLINK_TREE+= db2
.if !defined(DB_BUILDLINK3_MK)
DB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.db2+= db>=2.7.3
BUILDLINK_ABI_DEPENDS.db2+= db>=2.7.7nb2
BUILDLINK_PKGSRCDIR.db2?= ../../databases/db
BUILDLINK_INCDIRS.db2?= include/db2
BUILDLINK_LDADD.db2= -ldb2
. include "../../mk/bsd.fast.prefs.mk"
. if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
#BUILDLINK_LIBS.db2= ${BUILDLINK_LDADD.db2}
BUILDLINK_TRANSFORM+= l:db:db2
. endif
.endif # DB_BUILDLINK3_MK
BUILDLINK_TREE+= -db2

8
databases/db/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.8 2009/09/09 16:58:52 joerg Exp $
SHA1 (db-2.7.7.tar.gz) = 786e7f1be5f8d2dbdfa205a22ae9a5d1ead85701
RMD160 (db-2.7.7.tar.gz) = 703dcddb69884c749637e07d592c4d1850981fd1
Size (db-2.7.7.tar.gz) = 1112976 bytes
SHA1 (patch-aa) = e0e5208de80ae3c3227934bc59788d9ab4ede9d9
SHA1 (patch-ab) = f524ff9a01813c4384b830a860e32db24bf502f3
SHA1 (patch-ac) = 69e50962de9f400d771fc6fc3a4556ebf04a2ee2

View File

@@ -0,0 +1,183 @@
$NetBSD: patch-aa,v 1.7 2009/09/09 16:58:52 joerg Exp $
--- ../dist/Makefile.in.orig 1998-12-07 20:05:59.000000000 +0100
+++ ../dist/Makefile.in
@@ -3,9 +3,9 @@
srcdir= @srcdir@/..
CPPFLAGS=-I. -I$(srcdir)/include @CPPFLAGS@
CFLAGS= -c @CFLAGS@ $(CPPFLAGS)
-CC= @CC@
+CC= $(LIBTOOL) --mode=compile @CC@
CXXFLAGS=-c @CXXFLAGS@ $(CPPFLAGS)
-CXX= @CXX@
+CXX= $(LIBTOOL) --mode=compile @CXX@
LDFLAGS=@LDFLAGS@
LIBS= @LIBS@
@@ -43,85 +43,83 @@ PROGS= @build_additional@ db_archive db_
LOBJS= @LIBOBJS@
POBJS= err.o getlong.o
-libdb= libdb.a
+libdb= libdb2.la
all: $(libdb) $(PROGS)
$(libdb): db.h $(OBJS) $(LOBJS)
- $(rm) -f $@
- $(ar) $@ $(OBJS) $(LOBJS)
- test ! -f $(ranlib) || $(ranlib) $@
+ $(LIBTOOL) --mode=link @CC@ @CFLAGS@ -rpath $(prefix)/lib -version-info 2:7 -o $@ $(OBJS:.o=.lo) $(LOBJS:.o=.lo)
DBA= db_archive.o $(POBJS)
db_archive: $(DBA) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBA) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBA) $(libdb) $(LIBS)
DBB= db_checkpoint.o $(POBJS)
db_checkpoint: $(DBB) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBB) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBB) $(libdb) $(LIBS)
DBC= db_deadlock.o $(POBJS)
db_deadlock: $(DBC) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBC) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBC) $(libdb) $(LIBS)
DBD= db_dump.o $(POBJS)
db_dump: $(DBD) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBD) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBD) $(libdb) $(LIBS)
DBE= db_dump185.o $(POBJS)
db_dump185: $(DBE)
- $(CC) -o $@ $(LDFLAGS) $(DBE) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBE) $(LIBS)
DBF= db_load.o $(POBJS)
db_load: $(DBF) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBF) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBF) $(libdb) $(LIBS)
DBG= db_printlog.o $(POBJS)
db_printlog: $(DBG) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBG) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBG) $(libdb) $(LIBS)
DBH= db_recover.o $(POBJS)
db_recover: $(DBH) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBH) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBH) $(libdb) $(LIBS)
DBI= db_stat.o $(POBJS)
db_stat: $(DBI) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBI) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBI) $(libdb) $(LIBS)
EPROGS= ex_access ex_appinit ex_btrec ex_lock ex_mpool ex_thread ex_tpcb
DBJ= ex_access.o
ex_access: $(DBJ) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBJ) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBJ) $(libdb) $(LIBS)
DBK= ex_appinit.o
ex_appinit: $(DBK) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBK) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBK) $(libdb) $(LIBS)
DBL= ex_btrec.o
ex_btrec: $(DBL) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBL) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBL) $(libdb) $(LIBS)
DBM= ex_lock.o $(POBJS)
ex_lock: $(DBM) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBM) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBM) $(libdb) $(LIBS)
DBN= ex_mpool.o
ex_mpool: $(DBN) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBN) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBN) $(libdb) $(LIBS)
DBO= ex_thread.o
ex_thread: $(DBO) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBO) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBO) $(libdb) $(LIBS)
DBP= ex_tpcb.o $(POBJS)
ex_tpcb: $(DBP) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBP) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBP) $(libdb) $(LIBS)
DBT= tclAppInit.o tcl_dbm.o tcl_hsearch.o tcl_lock.o tcl_log.o tcl_mpool.o \
tcl_mutex.o tcl_ndbm.o tcl_txn.o utils.o $(POBJS)
dbtest: .dbtestrc
dbtest: $(DBT) $(libdb)
- $(CC) -o $@ $(LDFLAGS) $(DBT) $(libdb) $(LIBS)
+ $(LIBTOOL) --mode=link @CC@ -o $@ $(LDFLAGS) $(DBT) $(libdb) $(LIBS)
AOBJS= err.o getcwd.o getlong.o getopt.o memcmp.o memcpy.o memmove.o \
raise.o snprintf.o strerror.o strsep.o vsnprintf.o
@@ -141,11 +139,11 @@ realclean distclean: clean
$(rm) -f confdefs.h db.h db_int.h db_185.h include.tcl
prefix= @prefix@
-bindir= $(prefix)/BerkeleyDB/bin
-datadir=$(prefix)/BerkeleyDB/share
-includedir=$(prefix)/BerkeleyDB/include
-libdir= $(prefix)/BerkeleyDB/lib
-mandir= $(prefix)/BerkeleyDB/docs
+bindir= $(prefix)/bin
+datadir=$(prefix)/share/db2
+includedir=$(prefix)/include/db2
+libdir= $(prefix)/lib
+mandir= $(prefix)/share/doc/db2
dmode= 755
emode= 555
@@ -159,28 +157,25 @@ install: all
@test -f $(mkdir) || (echo 'mkdir not found.'; exit 1)
@test -f $(rm) || (echo 'rm not found.'; exit 1)
@echo "Installing DB include files: $(includedir) ..."
- @test -d $(includedir) || \
- ($(mkdir) -p $(includedir) && $(chmod) $(dmode) $(includedir))
- @cd $(includedir) && $(rm) -f db.h db_185.h db_cxx.h
- @$(cp) -p db.h db_185.h $(srcdir)/include/db_cxx.h $(includedir)
- @cd $(includedir) && $(chmod) $(fmode) db.h db_185.h db_cxx.h
+ @test -d $(DESTDIR)$(includedir) || \
+ ($(mkdir) -p $(DESTDIR)$(includedir) && $(chmod) $(dmode) $(DESTDIR)$(includedir))
+ @$(BSD_INSTALL_DATA) db.h db_185.h $(srcdir)/include/db_cxx.h $(DESTDIR)$(includedir)
+ @cd $(DESTDIR)$(includedir) && $(chmod) $(fmode) db.h db_185.h db_cxx.h
@echo "Installing DB library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f $(libdb)
- @$(cp) -p $(libdb) $(libdir)
- @cd $(libdir) && $(chmod) $(fmode) $(libdb)
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @$(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $(libdb) $(DESTDIR)$(libdir)
@echo "Installing DB utilities: $(bindir) ..."
- @test -d $(bindir) || \
- ($(mkdir) -p $(bindir) && $(chmod) $(dmode) $(bindir))
- @cd $(bindir) && $(rm) -f $(PROGS)
- @$(cp) -p $(PROGS) $(bindir)
- @cd $(bindir) && (test ! -f $(strip) || $(strip) $(PROGS))
- @cd $(bindir) && $(chmod) $(emode) $(PROGS)
+ @test -d $(DESTDIR)$(bindir) || \
+ ($(mkdir) -p $(DESTDIR)$(bindir) && $(chmod) $(dmode) $(DESTDIR)$(bindir))
+ @for prog in $(PROGS); do \
+ db2prog=`echo $$prog | sed $(transform)`; \
+ $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir)/$$db2prog; \
+ done
@echo "Installing documentation: $(mandir) ..."
- @test -d $(mandir) || \
- ($(mkdir) -p $(mandir) && $(chmod) $(dmode) $(mandir))
- @cd $(srcdir)/docs && $(cp) -pr * $(mandir)/
+ @test -d $(DESTDIR)$(mandir) || \
+ ($(mkdir) -p $(DESTDIR)$(mandir) && $(chmod) $(dmode) $(DESTDIR)$(mandir))
+ @cd $(srcdir)/docs && $(cp) -pr * $(DESTDIR)$(mandir)/
uninstall:
-cd $(bindir) && $(rm) -f $(PROGS)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1 2005/02/27 21:42:42 jschauma Exp $
--- ../include/db_185.h.orig Sun Feb 27 16:27:52 2005
+++ ../include/db_185.h Sun Feb 27 16:28:05 2005
@@ -76,7 +76,7 @@
* XXX
* SGI/IRIX already has a pgno_t.
*/
-#ifdef sgi
+#ifdef __sgi
#define pgno_t db_pgno_t
#endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1 2005/03/15 16:13:58 tron Exp $
--- ../include/log.h.dist 1999-08-31 18:45:43.000000000 +0100
+++ ../include/log.h 2003-11-28 12:35:27.000000000 +0000
@@ -145,7 +145,7 @@
LOGP persist; /* Persistent information. */
- SH_TAILQ_HEAD(__fq) fq; /* List of file names. */
+ SH_TAILQ_HEAD(__fnq) fq; /* List of file names. */
/*
* The lsn LSN is the file offset that we're about to write and which