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/db3/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.

45
databases/db3/Makefile Normal file
View File

@@ -0,0 +1,45 @@
# $NetBSD: Makefile,v 1.39 2012/12/13 00:59:47 gdt Exp $
DISTNAME= db-3.3.11
PKGNAME= db3-3.11.2
PKGREVISION= 4
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 3
LICENSE= sleepycat-license # minus ASM stanza
PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/3.3.11/
PATCHFILES= patch.3.3.11.1 patch.3.3.11.2
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -p0
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
CONFIG_SUB_OVERRIDE+= ../dist/config.sub
CONFIG_GUESS_OVERRIDE+= ../dist/config.guess
CONFIGURE_ARGS+= --program-transform-name=s,db_,db3_,
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db3
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-compat185
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5.3*)
CONFIGURE_ENV+= ac_cv_header_inttypes_h=no
.endif
post-install:
${CHOWN} -R ${BINOWN}:${BINGRP} ${DESTDIR}${PREFIX}/share/doc/db3
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

789
databases/db3/PLIST Normal file
View File

@@ -0,0 +1,789 @@
@comment $NetBSD: PLIST,v 1.11 2009/06/14 18:36:19 joerg Exp $
bin/db3_archive
bin/db3_checkpoint
bin/db3_deadlock
bin/db3_dump
bin/db3_load
bin/db3_printlog
bin/db3_recover
bin/db3_stat
bin/db3_upgrade
bin/db3_verify
include/db3/cxx_common.h
include/db3/cxx_except.h
include/db3/db.h
include/db3/db_185.h
include/db3/db_cxx.h
lib/libdb3.la
lib/libdb3_cxx.la
share/doc/db3/api_c/c_index.html
share/doc/db3/api_c/c_pindex.html
share/doc/db3/api_c/db_associate.html
share/doc/db3/api_c/db_close.html
share/doc/db3/api_c/db_create.html
share/doc/db3/api_c/db_cursor.html
share/doc/db3/api_c/db_del.html
share/doc/db3/api_c/db_err.html
share/doc/db3/api_c/db_fd.html
share/doc/db3/api_c/db_get.html
share/doc/db3/api_c/db_get_byteswapped.html
share/doc/db3/api_c/db_get_type.html
share/doc/db3/api_c/db_join.html
share/doc/db3/api_c/db_key_range.html
share/doc/db3/api_c/db_lsn.html
share/doc/db3/api_c/db_open.html
share/doc/db3/api_c/db_put.html
share/doc/db3/api_c/db_remove.html
share/doc/db3/api_c/db_rename.html
share/doc/db3/api_c/db_set_alloc.html
share/doc/db3/api_c/db_set_append_recno.html
share/doc/db3/api_c/db_set_bt_compare.html
share/doc/db3/api_c/db_set_bt_minkey.html
share/doc/db3/api_c/db_set_bt_prefix.html
share/doc/db3/api_c/db_set_cachesize.html
share/doc/db3/api_c/db_set_dup_compare.html
share/doc/db3/api_c/db_set_errcall.html
share/doc/db3/api_c/db_set_errfile.html
share/doc/db3/api_c/db_set_errpfx.html
share/doc/db3/api_c/db_set_feedback.html
share/doc/db3/api_c/db_set_flags.html
share/doc/db3/api_c/db_set_h_ffactor.html
share/doc/db3/api_c/db_set_h_hash.html
share/doc/db3/api_c/db_set_h_nelem.html
share/doc/db3/api_c/db_set_lorder.html
share/doc/db3/api_c/db_set_pagesize.html
share/doc/db3/api_c/db_set_paniccall.html
share/doc/db3/api_c/db_set_q_extentsize.html
share/doc/db3/api_c/db_set_re_delim.html
share/doc/db3/api_c/db_set_re_len.html
share/doc/db3/api_c/db_set_re_pad.html
share/doc/db3/api_c/db_set_re_source.html
share/doc/db3/api_c/db_stat.html
share/doc/db3/api_c/db_sync.html
share/doc/db3/api_c/db_truncate.html
share/doc/db3/api_c/db_upgrade.html
share/doc/db3/api_c/db_verify.html
share/doc/db3/api_c/dbc_close.html
share/doc/db3/api_c/dbc_count.html
share/doc/db3/api_c/dbc_del.html
share/doc/db3/api_c/dbc_dup.html
share/doc/db3/api_c/dbc_get.html
share/doc/db3/api_c/dbc_put.html
share/doc/db3/api_c/dbm.html
share/doc/db3/api_c/dbt.html
share/doc/db3/api_c/dbt_bulk.html
share/doc/db3/api_c/env_close.html
share/doc/db3/api_c/env_create.html
share/doc/db3/api_c/env_err.html
share/doc/db3/api_c/env_open.html
share/doc/db3/api_c/env_remove.html
share/doc/db3/api_c/env_set_alloc.html
share/doc/db3/api_c/env_set_cachesize.html
share/doc/db3/api_c/env_set_data_dir.html
share/doc/db3/api_c/env_set_errcall.html
share/doc/db3/api_c/env_set_errfile.html
share/doc/db3/api_c/env_set_errpfx.html
share/doc/db3/api_c/env_set_feedback.html
share/doc/db3/api_c/env_set_flags.html
share/doc/db3/api_c/env_set_lg_bsize.html
share/doc/db3/api_c/env_set_lg_dir.html
share/doc/db3/api_c/env_set_lg_max.html
share/doc/db3/api_c/env_set_lg_regionmax.html
share/doc/db3/api_c/env_set_lk_conflicts.html
share/doc/db3/api_c/env_set_lk_detect.html
share/doc/db3/api_c/env_set_lk_max.html
share/doc/db3/api_c/env_set_lk_max_lockers.html
share/doc/db3/api_c/env_set_lk_max_locks.html
share/doc/db3/api_c/env_set_lk_max_objects.html
share/doc/db3/api_c/env_set_mp_mmapsize.html
share/doc/db3/api_c/env_set_mutexlocks.html
share/doc/db3/api_c/env_set_pageyield.html
share/doc/db3/api_c/env_set_paniccall.html
share/doc/db3/api_c/env_set_panicstate.html
share/doc/db3/api_c/env_set_rec_init.html
share/doc/db3/api_c/env_set_region_init.html
share/doc/db3/api_c/env_set_rpc_server.html
share/doc/db3/api_c/env_set_shm_key.html
share/doc/db3/api_c/env_set_tas_spins.html
share/doc/db3/api_c/env_set_tmp_dir.html
share/doc/db3/api_c/env_set_tx_max.html
share/doc/db3/api_c/env_set_tx_recover.html
share/doc/db3/api_c/env_set_tx_timestamp.html
share/doc/db3/api_c/env_set_verbose.html
share/doc/db3/api_c/env_strerror.html
share/doc/db3/api_c/env_version.html
share/doc/db3/api_c/hsearch.html
share/doc/db3/api_c/lock_detect.html
share/doc/db3/api_c/lock_get.html
share/doc/db3/api_c/lock_id.html
share/doc/db3/api_c/lock_put.html
share/doc/db3/api_c/lock_stat.html
share/doc/db3/api_c/lock_vec.html
share/doc/db3/api_c/log_archive.html
share/doc/db3/api_c/log_compare.html
share/doc/db3/api_c/log_file.html
share/doc/db3/api_c/log_flush.html
share/doc/db3/api_c/log_get.html
share/doc/db3/api_c/log_put.html
share/doc/db3/api_c/log_register.html
share/doc/db3/api_c/log_stat.html
share/doc/db3/api_c/log_unregister.html
share/doc/db3/api_c/memp_fclose.html
share/doc/db3/api_c/memp_fget.html
share/doc/db3/api_c/memp_fopen.html
share/doc/db3/api_c/memp_fput.html
share/doc/db3/api_c/memp_fset.html
share/doc/db3/api_c/memp_fsync.html
share/doc/db3/api_c/memp_register.html
share/doc/db3/api_c/memp_stat.html
share/doc/db3/api_c/memp_sync.html
share/doc/db3/api_c/memp_trickle.html
share/doc/db3/api_c/pindex.src
share/doc/db3/api_c/set_func_close.html
share/doc/db3/api_c/set_func_dirfree.html
share/doc/db3/api_c/set_func_dirlist.html
share/doc/db3/api_c/set_func_exists.html
share/doc/db3/api_c/set_func_free.html
share/doc/db3/api_c/set_func_fsync.html
share/doc/db3/api_c/set_func_ioinfo.html
share/doc/db3/api_c/set_func_malloc.html
share/doc/db3/api_c/set_func_map.html
share/doc/db3/api_c/set_func_open.html
share/doc/db3/api_c/set_func_read.html
share/doc/db3/api_c/set_func_realloc.html
share/doc/db3/api_c/set_func_rename.html
share/doc/db3/api_c/set_func_seek.html
share/doc/db3/api_c/set_func_sleep.html
share/doc/db3/api_c/set_func_unlink.html
share/doc/db3/api_c/set_func_unmap.html
share/doc/db3/api_c/set_func_write.html
share/doc/db3/api_c/set_func_yield.html
share/doc/db3/api_c/txn_abort.html
share/doc/db3/api_c/txn_begin.html
share/doc/db3/api_c/txn_checkpoint.html
share/doc/db3/api_c/txn_commit.html
share/doc/db3/api_c/txn_discard.html
share/doc/db3/api_c/txn_id.html
share/doc/db3/api_c/txn_prepare.html
share/doc/db3/api_c/txn_recover.html
share/doc/db3/api_c/txn_stat.html
share/doc/db3/api_cxx/cxx_index.html
share/doc/db3/api_cxx/cxx_pindex.html
share/doc/db3/api_cxx/db_associate.html
share/doc/db3/api_cxx/db_class.html
share/doc/db3/api_cxx/db_close.html
share/doc/db3/api_cxx/db_cursor.html
share/doc/db3/api_cxx/db_del.html
share/doc/db3/api_cxx/db_err.html
share/doc/db3/api_cxx/db_fd.html
share/doc/db3/api_cxx/db_get.html
share/doc/db3/api_cxx/db_get_byteswapped.html
share/doc/db3/api_cxx/db_get_type.html
share/doc/db3/api_cxx/db_join.html
share/doc/db3/api_cxx/db_key_range.html
share/doc/db3/api_cxx/db_open.html
share/doc/db3/api_cxx/db_put.html
share/doc/db3/api_cxx/db_remove.html
share/doc/db3/api_cxx/db_rename.html
share/doc/db3/api_cxx/db_set_alloc.html
share/doc/db3/api_cxx/db_set_append_recno.html
share/doc/db3/api_cxx/db_set_bt_compare.html
share/doc/db3/api_cxx/db_set_bt_minkey.html
share/doc/db3/api_cxx/db_set_bt_prefix.html
share/doc/db3/api_cxx/db_set_cachesize.html
share/doc/db3/api_cxx/db_set_dup_compare.html
share/doc/db3/api_cxx/db_set_errcall.html
share/doc/db3/api_cxx/db_set_errfile.html
share/doc/db3/api_cxx/db_set_errpfx.html
share/doc/db3/api_cxx/db_set_feedback.html
share/doc/db3/api_cxx/db_set_flags.html
share/doc/db3/api_cxx/db_set_h_ffactor.html
share/doc/db3/api_cxx/db_set_h_hash.html
share/doc/db3/api_cxx/db_set_h_nelem.html
share/doc/db3/api_cxx/db_set_lorder.html
share/doc/db3/api_cxx/db_set_pagesize.html
share/doc/db3/api_cxx/db_set_paniccall.html
share/doc/db3/api_cxx/db_set_q_extentsize.html
share/doc/db3/api_cxx/db_set_re_delim.html
share/doc/db3/api_cxx/db_set_re_len.html
share/doc/db3/api_cxx/db_set_re_pad.html
share/doc/db3/api_cxx/db_set_re_source.html
share/doc/db3/api_cxx/db_stat.html
share/doc/db3/api_cxx/db_sync.html
share/doc/db3/api_cxx/db_truncate.html
share/doc/db3/api_cxx/db_upgrade.html
share/doc/db3/api_cxx/db_verify.html
share/doc/db3/api_cxx/dbc_class.html
share/doc/db3/api_cxx/dbc_close.html
share/doc/db3/api_cxx/dbc_count.html
share/doc/db3/api_cxx/dbc_del.html
share/doc/db3/api_cxx/dbc_dup.html
share/doc/db3/api_cxx/dbc_get.html
share/doc/db3/api_cxx/dbc_put.html
share/doc/db3/api_cxx/dbenv_class.html
share/doc/db3/api_cxx/dbt_bulk.html
share/doc/db3/api_cxx/dbt_class.html
share/doc/db3/api_cxx/env_close.html
share/doc/db3/api_cxx/env_err.html
share/doc/db3/api_cxx/env_open.html
share/doc/db3/api_cxx/env_remove.html
share/doc/db3/api_cxx/env_set_alloc.html
share/doc/db3/api_cxx/env_set_cachesize.html
share/doc/db3/api_cxx/env_set_data_dir.html
share/doc/db3/api_cxx/env_set_errcall.html
share/doc/db3/api_cxx/env_set_errfile.html
share/doc/db3/api_cxx/env_set_error_stream.html
share/doc/db3/api_cxx/env_set_errpfx.html
share/doc/db3/api_cxx/env_set_feedback.html
share/doc/db3/api_cxx/env_set_flags.html
share/doc/db3/api_cxx/env_set_lg_bsize.html
share/doc/db3/api_cxx/env_set_lg_dir.html
share/doc/db3/api_cxx/env_set_lg_max.html
share/doc/db3/api_cxx/env_set_lg_regionmax.html
share/doc/db3/api_cxx/env_set_lk_conflicts.html
share/doc/db3/api_cxx/env_set_lk_detect.html
share/doc/db3/api_cxx/env_set_lk_max.html
share/doc/db3/api_cxx/env_set_lk_max_lockers.html
share/doc/db3/api_cxx/env_set_lk_max_locks.html
share/doc/db3/api_cxx/env_set_lk_max_objects.html
share/doc/db3/api_cxx/env_set_mp_mmapsize.html
share/doc/db3/api_cxx/env_set_mutexlocks.html
share/doc/db3/api_cxx/env_set_pageyield.html
share/doc/db3/api_cxx/env_set_paniccall.html
share/doc/db3/api_cxx/env_set_panicstate.html
share/doc/db3/api_cxx/env_set_rec_init.html
share/doc/db3/api_cxx/env_set_region_init.html
share/doc/db3/api_cxx/env_set_rpc_server.html
share/doc/db3/api_cxx/env_set_shm_key.html
share/doc/db3/api_cxx/env_set_tas_spins.html
share/doc/db3/api_cxx/env_set_tmp_dir.html
share/doc/db3/api_cxx/env_set_tx_max.html
share/doc/db3/api_cxx/env_set_tx_recover.html
share/doc/db3/api_cxx/env_set_tx_timestamp.html
share/doc/db3/api_cxx/env_set_verbose.html
share/doc/db3/api_cxx/env_strerror.html
share/doc/db3/api_cxx/env_version.html
share/doc/db3/api_cxx/except_class.html
share/doc/db3/api_cxx/get_dbt.html
share/doc/db3/api_cxx/get_errno.html
share/doc/db3/api_cxx/lock_class.html
share/doc/db3/api_cxx/lock_detect.html
share/doc/db3/api_cxx/lock_get.html
share/doc/db3/api_cxx/lock_id.html
share/doc/db3/api_cxx/lock_put.html
share/doc/db3/api_cxx/lock_stat.html
share/doc/db3/api_cxx/lock_vec.html
share/doc/db3/api_cxx/log_archive.html
share/doc/db3/api_cxx/log_compare.html
share/doc/db3/api_cxx/log_file.html
share/doc/db3/api_cxx/log_flush.html
share/doc/db3/api_cxx/log_get.html
share/doc/db3/api_cxx/log_put.html
share/doc/db3/api_cxx/log_register.html
share/doc/db3/api_cxx/log_stat.html
share/doc/db3/api_cxx/log_unregister.html
share/doc/db3/api_cxx/lsn_class.html
share/doc/db3/api_cxx/mem_class.html
share/doc/db3/api_cxx/memp_fclose.html
share/doc/db3/api_cxx/memp_fget.html
share/doc/db3/api_cxx/memp_fopen.html
share/doc/db3/api_cxx/memp_fput.html
share/doc/db3/api_cxx/memp_fset.html
share/doc/db3/api_cxx/memp_fsync.html
share/doc/db3/api_cxx/memp_register.html
share/doc/db3/api_cxx/memp_stat.html
share/doc/db3/api_cxx/memp_sync.html
share/doc/db3/api_cxx/memp_trickle.html
share/doc/db3/api_cxx/mempfile_class.html
share/doc/db3/api_cxx/pindex.src
share/doc/db3/api_cxx/txn_abort.html
share/doc/db3/api_cxx/txn_begin.html
share/doc/db3/api_cxx/txn_checkpoint.html
share/doc/db3/api_cxx/txn_class.html
share/doc/db3/api_cxx/txn_commit.html
share/doc/db3/api_cxx/txn_discard.html
share/doc/db3/api_cxx/txn_id.html
share/doc/db3/api_cxx/txn_prepare.html
share/doc/db3/api_cxx/txn_recover.html
share/doc/db3/api_cxx/txn_stat.html
share/doc/db3/api_cxx/what.html
share/doc/db3/api_java/db_associate.html
share/doc/db3/api_java/db_class.html
share/doc/db3/api_java/db_close.html
share/doc/db3/api_java/db_cursor.html
share/doc/db3/api_java/db_del.html
share/doc/db3/api_java/db_fd.html
share/doc/db3/api_java/db_get.html
share/doc/db3/api_java/db_get_byteswapped.html
share/doc/db3/api_java/db_get_type.html
share/doc/db3/api_java/db_join.html
share/doc/db3/api_java/db_key_range.html
share/doc/db3/api_java/db_open.html
share/doc/db3/api_java/db_put.html
share/doc/db3/api_java/db_remove.html
share/doc/db3/api_java/db_rename.html
share/doc/db3/api_java/db_set_append_recno.html
share/doc/db3/api_java/db_set_bt_compare.html
share/doc/db3/api_java/db_set_bt_minkey.html
share/doc/db3/api_java/db_set_bt_prefix.html
share/doc/db3/api_java/db_set_cachesize.html
share/doc/db3/api_java/db_set_dup_compare.html
share/doc/db3/api_java/db_set_errcall.html
share/doc/db3/api_java/db_set_errpfx.html
share/doc/db3/api_java/db_set_feedback.html
share/doc/db3/api_java/db_set_flags.html
share/doc/db3/api_java/db_set_h_ffactor.html
share/doc/db3/api_java/db_set_h_hash.html
share/doc/db3/api_java/db_set_h_nelem.html
share/doc/db3/api_java/db_set_lorder.html
share/doc/db3/api_java/db_set_pagesize.html
share/doc/db3/api_java/db_set_q_extentsize.html
share/doc/db3/api_java/db_set_re_delim.html
share/doc/db3/api_java/db_set_re_len.html
share/doc/db3/api_java/db_set_re_pad.html
share/doc/db3/api_java/db_set_re_source.html
share/doc/db3/api_java/db_stat.html
share/doc/db3/api_java/db_sync.html
share/doc/db3/api_java/db_truncate.html
share/doc/db3/api_java/db_upgrade.html
share/doc/db3/api_java/db_verify.html
share/doc/db3/api_java/dbc_class.html
share/doc/db3/api_java/dbc_close.html
share/doc/db3/api_java/dbc_count.html
share/doc/db3/api_java/dbc_del.html
share/doc/db3/api_java/dbc_dup.html
share/doc/db3/api_java/dbc_get.html
share/doc/db3/api_java/dbc_put.html
share/doc/db3/api_java/dbenv_class.html
share/doc/db3/api_java/dbt_bulk_class.html
share/doc/db3/api_java/dbt_class.html
share/doc/db3/api_java/deadlock_class.html
share/doc/db3/api_java/env_close.html
share/doc/db3/api_java/env_open.html
share/doc/db3/api_java/env_remove.html
share/doc/db3/api_java/env_set_cachesize.html
share/doc/db3/api_java/env_set_data_dir.html
share/doc/db3/api_java/env_set_errcall.html
share/doc/db3/api_java/env_set_error_stream.html
share/doc/db3/api_java/env_set_errpfx.html
share/doc/db3/api_java/env_set_feedback.html
share/doc/db3/api_java/env_set_flags.html
share/doc/db3/api_java/env_set_lg_bsize.html
share/doc/db3/api_java/env_set_lg_dir.html
share/doc/db3/api_java/env_set_lg_max.html
share/doc/db3/api_java/env_set_lg_regionmax.html
share/doc/db3/api_java/env_set_lk_conflicts.html
share/doc/db3/api_java/env_set_lk_detect.html
share/doc/db3/api_java/env_set_lk_max.html
share/doc/db3/api_java/env_set_lk_max_lockers.html
share/doc/db3/api_java/env_set_lk_max_locks.html
share/doc/db3/api_java/env_set_lk_max_objects.html
share/doc/db3/api_java/env_set_mp_mmapsize.html
share/doc/db3/api_java/env_set_mutexlocks.html
share/doc/db3/api_java/env_set_pageyield.html
share/doc/db3/api_java/env_set_panicstate.html
share/doc/db3/api_java/env_set_rec_init.html
share/doc/db3/api_java/env_set_region_init.html
share/doc/db3/api_java/env_set_rpc_server.html
share/doc/db3/api_java/env_set_shm_key.html
share/doc/db3/api_java/env_set_tas_spins.html
share/doc/db3/api_java/env_set_tmp_dir.html
share/doc/db3/api_java/env_set_tx_max.html
share/doc/db3/api_java/env_set_tx_recover.html
share/doc/db3/api_java/env_set_tx_timestamp.html
share/doc/db3/api_java/env_set_verbose.html
share/doc/db3/api_java/env_strerror.html
share/doc/db3/api_java/env_version.html
share/doc/db3/api_java/except_class.html
share/doc/db3/api_java/get_dbt.html
share/doc/db3/api_java/get_errno.html
share/doc/db3/api_java/java_index.html
share/doc/db3/api_java/java_pindex.html
share/doc/db3/api_java/lock_class.html
share/doc/db3/api_java/lock_detect.html
share/doc/db3/api_java/lock_get.html
share/doc/db3/api_java/lock_id.html
share/doc/db3/api_java/lock_put.html
share/doc/db3/api_java/lock_stat.html
share/doc/db3/api_java/lock_vec.html
share/doc/db3/api_java/log_archive.html
share/doc/db3/api_java/log_compare.html
share/doc/db3/api_java/log_file.html
share/doc/db3/api_java/log_flush.html
share/doc/db3/api_java/log_get.html
share/doc/db3/api_java/log_put.html
share/doc/db3/api_java/log_register.html
share/doc/db3/api_java/log_stat.html
share/doc/db3/api_java/log_unregister.html
share/doc/db3/api_java/lsn_class.html
share/doc/db3/api_java/mem_class.html
share/doc/db3/api_java/memp_fclose.html
share/doc/db3/api_java/memp_fget.html
share/doc/db3/api_java/memp_fopen.html
share/doc/db3/api_java/memp_fput.html
share/doc/db3/api_java/memp_fset.html
share/doc/db3/api_java/memp_fsync.html
share/doc/db3/api_java/memp_register.html
share/doc/db3/api_java/memp_stat.html
share/doc/db3/api_java/memp_sync.html
share/doc/db3/api_java/memp_trickle.html
share/doc/db3/api_java/pindex.src
share/doc/db3/api_java/runrec_class.html
share/doc/db3/api_java/txn_abort.html
share/doc/db3/api_java/txn_begin.html
share/doc/db3/api_java/txn_checkpoint.html
share/doc/db3/api_java/txn_class.html
share/doc/db3/api_java/txn_commit.html
share/doc/db3/api_java/txn_discard.html
share/doc/db3/api_java/txn_id.html
share/doc/db3/api_java/txn_prepare.html
share/doc/db3/api_java/txn_recover.html
share/doc/db3/api_java/txn_stat.html
share/doc/db3/api_tcl/db_close.html
share/doc/db3/api_tcl/db_count.html
share/doc/db3/api_tcl/db_cursor.html
share/doc/db3/api_tcl/db_del.html
share/doc/db3/api_tcl/db_get.html
share/doc/db3/api_tcl/db_get_join.html
share/doc/db3/api_tcl/db_get_type.html
share/doc/db3/api_tcl/db_is_byteswapped.html
share/doc/db3/api_tcl/db_join.html
share/doc/db3/api_tcl/db_open.html
share/doc/db3/api_tcl/db_put.html
share/doc/db3/api_tcl/db_remove.html
share/doc/db3/api_tcl/db_rename.html
share/doc/db3/api_tcl/db_stat.html
share/doc/db3/api_tcl/db_sync.html
share/doc/db3/api_tcl/db_truncate.html
share/doc/db3/api_tcl/dbc_close.html
share/doc/db3/api_tcl/dbc_del.html
share/doc/db3/api_tcl/dbc_dup.html
share/doc/db3/api_tcl/dbc_get.html
share/doc/db3/api_tcl/dbc_put.html
share/doc/db3/api_tcl/env_close.html
share/doc/db3/api_tcl/env_open.html
share/doc/db3/api_tcl/env_remove.html
share/doc/db3/api_tcl/pindex.src
share/doc/db3/api_tcl/tcl_index.html
share/doc/db3/api_tcl/tcl_pindex.html
share/doc/db3/api_tcl/txn.html
share/doc/db3/api_tcl/txn_abort.html
share/doc/db3/api_tcl/txn_commit.html
share/doc/db3/api_tcl/version.html
share/doc/db3/images/api.gif
share/doc/db3/images/next.gif
share/doc/db3/images/prev.gif
share/doc/db3/images/ps.gif
share/doc/db3/images/ref.gif
share/doc/db3/images/sleepycat.gif
share/doc/db3/index.html
share/doc/db3/ref/am/close.html
share/doc/db3/ref/am/count.html
share/doc/db3/ref/am/curclose.html
share/doc/db3/ref/am/curdel.html
share/doc/db3/ref/am/curdup.html
share/doc/db3/ref/am/curget.html
share/doc/db3/ref/am/curput.html
share/doc/db3/ref/am/cursor.html
share/doc/db3/ref/am/delete.html
share/doc/db3/ref/am/get.html
share/doc/db3/ref/am/join.html
share/doc/db3/ref/am/open.html
share/doc/db3/ref/am/opensub.html
share/doc/db3/ref/am/ops.html
share/doc/db3/ref/am/put.html
share/doc/db3/ref/am/second.html
share/doc/db3/ref/am/stat.html
share/doc/db3/ref/am/sync.html
share/doc/db3/ref/am/truncate.html
share/doc/db3/ref/am/upgrade.html
share/doc/db3/ref/am/verify.html
share/doc/db3/ref/am_conf/bt_compare.html
share/doc/db3/ref/am_conf/bt_minkey.html
share/doc/db3/ref/am_conf/bt_prefix.html
share/doc/db3/ref/am_conf/bt_recnum.html
share/doc/db3/ref/am_conf/byteorder.html
share/doc/db3/ref/am_conf/cachesize.html
share/doc/db3/ref/am_conf/dup.html
share/doc/db3/ref/am_conf/extentsize.html
share/doc/db3/ref/am_conf/h_ffactor.html
share/doc/db3/ref/am_conf/h_hash.html
share/doc/db3/ref/am_conf/h_nelem.html
share/doc/db3/ref/am_conf/intro.html
share/doc/db3/ref/am_conf/logrec.html
share/doc/db3/ref/am_conf/malloc.html
share/doc/db3/ref/am_conf/pagesize.html
share/doc/db3/ref/am_conf/re_source.html
share/doc/db3/ref/am_conf/recno.html
share/doc/db3/ref/am_conf/renumber.html
share/doc/db3/ref/am_conf/select.html
share/doc/db3/ref/am_misc/align.html
share/doc/db3/ref/am_misc/dbsizes.html
share/doc/db3/ref/am_misc/diskspace.html
share/doc/db3/ref/am_misc/error.html
share/doc/db3/ref/am_misc/faq.html
share/doc/db3/ref/am_misc/get_bulk.html
share/doc/db3/ref/am_misc/partial.html
share/doc/db3/ref/am_misc/perm.html
share/doc/db3/ref/am_misc/stability.html
share/doc/db3/ref/am_misc/tune.html
share/doc/db3/ref/arch/apis.html
share/doc/db3/ref/arch/bigpic.gif
share/doc/db3/ref/arch/bigpic.html
share/doc/db3/ref/arch/progmodel.html
share/doc/db3/ref/arch/script.html
share/doc/db3/ref/arch/smallpic.gif
share/doc/db3/ref/arch/utilities.html
share/doc/db3/ref/build_unix/aix.html
share/doc/db3/ref/build_unix/conf.html
share/doc/db3/ref/build_unix/embedix.html
share/doc/db3/ref/build_unix/flags.html
share/doc/db3/ref/build_unix/freebsd.html
share/doc/db3/ref/build_unix/hpux.html
share/doc/db3/ref/build_unix/install.html
share/doc/db3/ref/build_unix/intro.html
share/doc/db3/ref/build_unix/irix.html
share/doc/db3/ref/build_unix/linux.html
share/doc/db3/ref/build_unix/notes.html
share/doc/db3/ref/build_unix/osf1.html
share/doc/db3/ref/build_unix/qnx.html
share/doc/db3/ref/build_unix/sco.html
share/doc/db3/ref/build_unix/shlib.html
share/doc/db3/ref/build_unix/solaris.html
share/doc/db3/ref/build_unix/sunos.html
share/doc/db3/ref/build_unix/test.html
share/doc/db3/ref/build_unix/ultrix.html
share/doc/db3/ref/build_vxworks/faq.html
share/doc/db3/ref/build_vxworks/intro.html
share/doc/db3/ref/build_vxworks/notes.html
share/doc/db3/ref/build_win/faq.html
share/doc/db3/ref/build_win/intro.html
share/doc/db3/ref/build_win/notes.html
share/doc/db3/ref/build_win/test.html
share/doc/db3/ref/cam/intro.html
share/doc/db3/ref/debug/common.html
share/doc/db3/ref/debug/compile.html
share/doc/db3/ref/debug/intro.html
share/doc/db3/ref/debug/printlog.html
share/doc/db3/ref/debug/runtime.html
share/doc/db3/ref/distrib/layout.html
share/doc/db3/ref/dumpload/format.html
share/doc/db3/ref/dumpload/text.html
share/doc/db3/ref/dumpload/utility.html
share/doc/db3/ref/env/create.html
share/doc/db3/ref/env/error.html
share/doc/db3/ref/env/faq.html
share/doc/db3/ref/env/intro.html
share/doc/db3/ref/env/naming.html
share/doc/db3/ref/env/open.html
share/doc/db3/ref/env/region.html
share/doc/db3/ref/env/remote.html
share/doc/db3/ref/env/security.html
share/doc/db3/ref/install/file.html
share/doc/db3/ref/install/magic.s5.be.txt
share/doc/db3/ref/install/magic.s5.le.txt
share/doc/db3/ref/install/magic.txt
share/doc/db3/ref/install/multiple.html
share/doc/db3/ref/install/rpm.html
share/doc/db3/ref/intro/data.html
share/doc/db3/ref/intro/dbis.html
share/doc/db3/ref/intro/dbisnot.html
share/doc/db3/ref/intro/distrib.html
share/doc/db3/ref/intro/need.html
share/doc/db3/ref/intro/products.html
share/doc/db3/ref/intro/terrain.html
share/doc/db3/ref/intro/what.html
share/doc/db3/ref/intro/where.html
share/doc/db3/ref/java/compat.html
share/doc/db3/ref/java/conf.html
share/doc/db3/ref/java/faq.html
share/doc/db3/ref/java/program.html
share/doc/db3/ref/lock/am_conv.html
share/doc/db3/ref/lock/cam_conv.html
share/doc/db3/ref/lock/config.html
share/doc/db3/ref/lock/dead.html
share/doc/db3/ref/lock/intro.html
share/doc/db3/ref/lock/max.html
share/doc/db3/ref/lock/nondb.html
share/doc/db3/ref/lock/notxn.html
share/doc/db3/ref/lock/page.html
share/doc/db3/ref/lock/stdmode.html
share/doc/db3/ref/lock/twopl.html
share/doc/db3/ref/log/config.html
share/doc/db3/ref/log/intro.html
share/doc/db3/ref/log/limits.html
share/doc/db3/ref/mp/config.html
share/doc/db3/ref/mp/intro.html
share/doc/db3/ref/perl/intro.html
share/doc/db3/ref/pindex.src
share/doc/db3/ref/program/appsignals.html
share/doc/db3/ref/program/compatible.html
share/doc/db3/ref/program/copy.html
share/doc/db3/ref/program/environ.html
share/doc/db3/ref/program/errorret.html
share/doc/db3/ref/program/extending.html
share/doc/db3/ref/program/mt.html
share/doc/db3/ref/program/namespace.html
share/doc/db3/ref/program/recimp.html
share/doc/db3/ref/program/runtime.html
share/doc/db3/ref/program/scope.html
share/doc/db3/ref/program/solaris.txt
share/doc/db3/ref/refs/bdb_usenix.html
share/doc/db3/ref/refs/bdb_usenix.ps
share/doc/db3/ref/refs/embedded.html
share/doc/db3/ref/refs/hash_usenix.ps
share/doc/db3/ref/refs/libtp_usenix.ps
share/doc/db3/ref/refs/refs.html
share/doc/db3/ref/refs/witold.html
share/doc/db3/ref/rpc/client.html
share/doc/db3/ref/rpc/intro.html
share/doc/db3/ref/rpc/server.html
share/doc/db3/ref/sendmail/intro.html
share/doc/db3/ref/simple_tut/close.html
share/doc/db3/ref/simple_tut/del.html
share/doc/db3/ref/simple_tut/errors.html
share/doc/db3/ref/simple_tut/example.cs
share/doc/db3/ref/simple_tut/get.html
share/doc/db3/ref/simple_tut/handles.html
share/doc/db3/ref/simple_tut/intro.html
share/doc/db3/ref/simple_tut/keydata.html
share/doc/db3/ref/simple_tut/open.html
share/doc/db3/ref/simple_tut/put.html
share/doc/db3/ref/tcl/error.html
share/doc/db3/ref/tcl/faq.html
share/doc/db3/ref/tcl/intro.html
share/doc/db3/ref/tcl/program.html
share/doc/db3/ref/tcl/using.html
share/doc/db3/ref/test/faq.html
share/doc/db3/ref/test/run.html
share/doc/db3/ref/transapp/admin.html
share/doc/db3/ref/transapp/app.html
share/doc/db3/ref/transapp/archival.html
share/doc/db3/ref/transapp/checkpoint.html
share/doc/db3/ref/transapp/cursor.html
share/doc/db3/ref/transapp/data_open.html
share/doc/db3/ref/transapp/deadlock.html
share/doc/db3/ref/transapp/env_open.html
share/doc/db3/ref/transapp/faq.html
share/doc/db3/ref/transapp/filesys.html
share/doc/db3/ref/transapp/inc.html
share/doc/db3/ref/transapp/intro.html
share/doc/db3/ref/transapp/logfile.html
share/doc/db3/ref/transapp/nested.html
share/doc/db3/ref/transapp/put.html
share/doc/db3/ref/transapp/read.html
share/doc/db3/ref/transapp/reclimit.html
share/doc/db3/ref/transapp/recovery.html
share/doc/db3/ref/transapp/term.html
share/doc/db3/ref/transapp/throughput.html
share/doc/db3/ref/transapp/transapp.cs
share/doc/db3/ref/transapp/tune.html
share/doc/db3/ref/transapp/why.html
share/doc/db3/ref/transapp/writetest.cs
share/doc/db3/ref/txn/config.html
share/doc/db3/ref/txn/intro.html
share/doc/db3/ref/txn/limits.html
share/doc/db3/ref/txn/other.html
share/doc/db3/ref/upgrade.2.0/convert.html
share/doc/db3/ref/upgrade.2.0/disk.html
share/doc/db3/ref/upgrade.2.0/intro.html
share/doc/db3/ref/upgrade.2.0/system.html
share/doc/db3/ref/upgrade.2.0/toc.html
share/doc/db3/ref/upgrade.3.0/close.html
share/doc/db3/ref/upgrade.3.0/cxx.html
share/doc/db3/ref/upgrade.3.0/db.html
share/doc/db3/ref/upgrade.3.0/db_cxx.html
share/doc/db3/ref/upgrade.3.0/dbenv.html
share/doc/db3/ref/upgrade.3.0/dbenv_cxx.html
share/doc/db3/ref/upgrade.3.0/dbinfo.html
share/doc/db3/ref/upgrade.3.0/disk.html
share/doc/db3/ref/upgrade.3.0/eacces.html
share/doc/db3/ref/upgrade.3.0/eagain.html
share/doc/db3/ref/upgrade.3.0/envopen.html
share/doc/db3/ref/upgrade.3.0/func.html
share/doc/db3/ref/upgrade.3.0/intro.html
share/doc/db3/ref/upgrade.3.0/java.html
share/doc/db3/ref/upgrade.3.0/join.html
share/doc/db3/ref/upgrade.3.0/jump_set.html
share/doc/db3/ref/upgrade.3.0/lock_detect.html
share/doc/db3/ref/upgrade.3.0/lock_notheld.html
share/doc/db3/ref/upgrade.3.0/lock_put.html
share/doc/db3/ref/upgrade.3.0/lock_stat.html
share/doc/db3/ref/upgrade.3.0/log_register.html
share/doc/db3/ref/upgrade.3.0/log_stat.html
share/doc/db3/ref/upgrade.3.0/memp_stat.html
share/doc/db3/ref/upgrade.3.0/open.html
share/doc/db3/ref/upgrade.3.0/rmw.html
share/doc/db3/ref/upgrade.3.0/stat.html
share/doc/db3/ref/upgrade.3.0/toc.html
share/doc/db3/ref/upgrade.3.0/txn_begin.html
share/doc/db3/ref/upgrade.3.0/txn_commit.html
share/doc/db3/ref/upgrade.3.0/txn_stat.html
share/doc/db3/ref/upgrade.3.0/value_set.html
share/doc/db3/ref/upgrade.3.0/xa.html
share/doc/db3/ref/upgrade.3.1/btstat.html
share/doc/db3/ref/upgrade.3.1/config.html
share/doc/db3/ref/upgrade.3.1/disk.html
share/doc/db3/ref/upgrade.3.1/dup.html
share/doc/db3/ref/upgrade.3.1/env.html
share/doc/db3/ref/upgrade.3.1/intro.html
share/doc/db3/ref/upgrade.3.1/log_register.html
share/doc/db3/ref/upgrade.3.1/logalloc.html
share/doc/db3/ref/upgrade.3.1/memp_register.html
share/doc/db3/ref/upgrade.3.1/put.html
share/doc/db3/ref/upgrade.3.1/set_feedback.html
share/doc/db3/ref/upgrade.3.1/set_paniccall.html
share/doc/db3/ref/upgrade.3.1/set_tx_recover.html
share/doc/db3/ref/upgrade.3.1/sysmem.html
share/doc/db3/ref/upgrade.3.1/tcl.html
share/doc/db3/ref/upgrade.3.1/tmp.html
share/doc/db3/ref/upgrade.3.1/toc.html
share/doc/db3/ref/upgrade.3.1/txn_check.html
share/doc/db3/ref/upgrade.3.2/callback.html
share/doc/db3/ref/upgrade.3.2/db_dump.html
share/doc/db3/ref/upgrade.3.2/disk.html
share/doc/db3/ref/upgrade.3.2/handle.html
share/doc/db3/ref/upgrade.3.2/incomplete.html
share/doc/db3/ref/upgrade.3.2/intro.html
share/doc/db3/ref/upgrade.3.2/mutexlock.html
share/doc/db3/ref/upgrade.3.2/notfound.html
share/doc/db3/ref/upgrade.3.2/renumber.html
share/doc/db3/ref/upgrade.3.2/set_flags.html
share/doc/db3/ref/upgrade.3.2/toc.html
share/doc/db3/ref/upgrade.3.2/tx_recover.html
share/doc/db3/ref/upgrade.3.3/alloc.html
share/doc/db3/ref/upgrade.3.3/bigfile.html
share/doc/db3/ref/upgrade.3.3/conflict.html
share/doc/db3/ref/upgrade.3.3/disk.html
share/doc/db3/ref/upgrade.3.3/getswap.html
share/doc/db3/ref/upgrade.3.3/gettype.html
share/doc/db3/ref/upgrade.3.3/intro.html
share/doc/db3/ref/upgrade.3.3/memp_fget.html
share/doc/db3/ref/upgrade.3.3/rpc.html
share/doc/db3/ref/upgrade.3.3/shared.html
share/doc/db3/ref/upgrade.3.3/toc.html
share/doc/db3/ref/upgrade.3.3/txn_prepare.html
share/doc/db3/ref/upgrade/process.html
share/doc/db3/ref/upgrade/version.html
share/doc/db3/ref/xa/build.html
share/doc/db3/ref/xa/faq.html
share/doc/db3/ref/xa/intro.html
share/doc/db3/ref/xa/xa_config.html
share/doc/db3/ref/xa/xa_intro.html
share/doc/db3/reftoc.html
share/doc/db3/sleepycat/contact.html
share/doc/db3/sleepycat/legal.html
share/doc/db3/sleepycat/license.html
share/doc/db3/utility/berkeley_db_svc.html
share/doc/db3/utility/db_archive.html
share/doc/db3/utility/db_checkpoint.html
share/doc/db3/utility/db_deadlock.html
share/doc/db3/utility/db_dump.html
share/doc/db3/utility/db_load.html
share/doc/db3/utility/db_printlog.html
share/doc/db3/utility/db_recover.html
share/doc/db3/utility/db_stat.html
share/doc/db3/utility/db_upgrade.html
share/doc/db3/utility/db_verify.html
share/doc/db3/utility/index.html
@pkgdir share/doc/db3/ref/splash

View File

@@ -0,0 +1,24 @@
# $NetBSD: buildlink3.mk,v 1.23 2012/02/05 12:16:56 obache Exp $
BUILDLINK_TREE+= db3
.if !defined(DB3_BUILDLINK3_MK)
DB3_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.db3+= db3>=2.9.2
BUILDLINK_ABI_DEPENDS.db3+= db3>=3.11.2nb3
BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3
BUILDLINK_INCDIRS.db3?= include/db3
BUILDLINK_LDADD.db3= -ldb3
BUILDLINK_TRANSFORM+= l:db-3:db3
. include "../../mk/bsd.fast.prefs.mk"
. if defined(USE_DB185) && !empty(USE_DB185:M[yY][eE][sS])
#BUILDLINK_LIBS.db3= ${BUILDLINK_LDADD.db3}
BUILDLINK_TRANSFORM+= l:db:db3
. endif
.include "../../mk/pthread.buildlink3.mk"
.endif # DB3_BUILDLINK3_MK
BUILDLINK_TREE+= -db3

16
databases/db3/distinfo Normal file
View File

@@ -0,0 +1,16 @@
$NetBSD: distinfo,v 1.19 2008/05/01 23:41:21 wiz Exp $
SHA1 (db-3.3.11.tar.gz) = d6871c7e6008eb726d6fc28e3debc44d34570f93
RMD160 (db-3.3.11.tar.gz) = 08092e2cd6d67e767ed5c3f7ff55726c3f6a7d45
Size (db-3.3.11.tar.gz) = 2343243 bytes
SHA1 (patch.3.3.11.1) = 8127222403b4edfb512b3292c5fae800afe3015d
RMD160 (patch.3.3.11.1) = 9d5770abf6a8f070a459d593470deef9fce20665
Size (patch.3.3.11.1) = 2601 bytes
SHA1 (patch.3.3.11.2) = e14879f28ba6d6bb8da9068c41d4ca8108352f80
RMD160 (patch.3.3.11.2) = 45d70f870b69552fd76a44c00c41d891de4d3b24
Size (patch.3.3.11.2) = 325 bytes
SHA1 (patch-aa) = 6c0e7e500beaf8632a6350f8b7df738bcb89be2e
SHA1 (patch-ab) = 4af6c6e23cac18c93c6ea6462989000f7a844767
SHA1 (patch-ac) = 38b3eda1e70dbf6d27ae09affc4b570e4190788e
SHA1 (patch-ad) = 750da0d7561f74d88d5a008e8eb8f59636cb5f47
SHA1 (patch-ae) = cf6d6bc562d5a3177514a6f52c59c13c2981558c

View File

@@ -0,0 +1,266 @@
$NetBSD: patch-aa,v 1.10 2008/02/21 19:32:24 jlam Exp $
--- ../dist/Makefile.in.orig 2001-07-06 16:53:16.000000000 -0400
+++ ../dist/Makefile.in
@@ -11,7 +11,7 @@ exec_prefix=@exec_prefix@
bindir= @bindir@
includedir=@includedir@
libdir= @libdir@
-docdir= $(prefix)/docs
+docdir= $(prefix)/share/doc/db3
dmode= 755
emode= 555
@@ -42,7 +42,7 @@ INSTALLER= @INSTALLER@
LIBTOOL= @LIBTOOL@
POSTLINK= @POSTLINK@
-SOLINK= @SOLINK@
+SOLINK= @SOLINK@ -version-info @DB_VERSION_MINOR@:@DB_VERSION_PATCH@
SOFLAGS= @SOFLAGS@
SOMAJOR= @DB_VERSION_MAJOR@
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
@@ -60,13 +60,13 @@ LDFLAGS= @LDFLAGS@
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= $(libso_base).la
+libso_base= libdb3
+libso= $(libso_base).@SOSUFFIX@.$(SOVERSION)
+libso_static= $(libso_base).la
+libso_target= $(libso_base).la
libso_default= $(libso_base).@SOSUFFIX@
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMAJOR)
##################################################
# C++ API.
@@ -78,13 +78,13 @@ CXX= @MAKEFILE_CXX@
CXXLINK= @MAKEFILE_CXXLINK@
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= libdb3_cxx.a
+libxso_base= libdb3_cxx
+libxso= $(libxso_base).@SOSUFFIX@.$(SOVERSION)
+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@.$(SOMAJOR)
##################################################
# Java API.
@@ -104,13 +104,13 @@ JAVA_DBREL= com/sleepycat/db
JAVA_DBDIR= $(JAVA_SRCDIR)/$(JAVA_DBREL)
JAVA_EXDIR= $(JAVA_SRCDIR)/com/sleepycat/examples
-libj_jarfile= db.jar
-libjso_base= libdb_java
-libjso= $(libjso_base)-$(SOVERSION).@SOSUFFIX@
-libjso_target= $(libjso_base)-$(SOVERSION).la
+libj_jarfile= db3.jar
+libjso_base= libdb3_java
+libjso= $(libjso_base).@SOSUFFIX@.$(SOVERSION)
+libjso_target= $(libjso_base).la
libjso_default= $(libjso_base).@SOSUFFIX@
-libjso_major= $(libjso_base)-$(SOMAJOR).@SOSUFFIX@
-libjso_g= $(libjso_base)-$(SOVERSION)_g.@SOSUFFIX@
+libjso_major= $(libjso_base).@SOSUFFIX@.$(SOMAJOR)
+libjso_g= $(libjso_base)_g.@SOSUFFIX@.$(SOVERSION)
##################################################
# TCL API.
@@ -119,11 +119,11 @@ libjso_g= $(libjso_base)-$(SOVERSION)_g.
##################################################
TCFLAGS= @TCFLAGS@
LIBTSO_LIBS= @LIBTSO_LIBS@
-libtso_base= libdb_tcl
-libtso= $(libtso_base)-$(SOVERSION).@SOSUFFIX@
-libtso_target= $(libtso_base)-$(SOVERSION).la
+libtso_base= libdb3_tcl
+libtso= $(libtso_base).@SOSUFFIX@.$(SOVERSION)
+libtso_target= $(libtso_base).la
libtso_default= $(libtso_base).@SOSUFFIX@
-libtso_major= $(libtso_base)-$(SOMAJOR).@SOSUFFIX@
+libtso_major= $(libtso_base).@SOSUFFIX@.$(SOMAJOR)
##################################################
# db_dump185 UTILITY
@@ -255,14 +255,6 @@ install: @INSTALL_TARGET@
##################################################
library_build: $(DEF_LIB) @ADDITIONAL_LIBS@ @ADDITIONAL_LANG@ $(UTIL_PROGS)
-$(libdb): $(C_OBJS)
- $(ar) cr $@ $(C_OBJS)
- test ! -f $(ranlib) || $(ranlib) $@
-
-$(libcxx): $(CXX_OBJS) $(C_OBJS)
- $(ar) cr $@ $(CXX_OBJS) $(C_OBJS)
- test ! -f $(ranlib) || $(ranlib) $@
-
$(libso_target): $(C_OBJS)
$(SOLINK) $(SOFLAGS) -o $@ $(C_OBJS) $(LDFLAGS) $(LIBSO_LIBS)
@@ -358,19 +350,16 @@ library_install: install_include install
uninstall: uninstall_utilities uninstall_include uninstall_lib uninstall_docs
install_setup:
- @test -d $(prefix) || \
- ($(mkdir) -p $(prefix) && $(chmod) $(dmode) $(prefix))
+ @test -d $(DESTDIR)$(prefix) || \
+ ($(mkdir) -p $(DESTDIR)$(prefix) && $(chmod) $(dmode) $(DESTDIR)$(prefix))
INCDOT= db.h @ADDITIONAL_INCS@
INCINC= db_cxx.h cxx_common.h cxx_except.h
install_include:
@echo "Installing DB include files: $(includedir) ..."
- @test -d $(includedir) || \
- ($(mkdir) -p $(includedir) && $(chmod) $(dmode) $(includedir))
- @cd $(includedir) && $(rm) -f $(INCDOT) $(INCINC)
- @$(cp) -p $(INCDOT) $(includedir)
- @cd $(srcdir)/include/ && $(cp) -p $(INCINC) $(includedir)
- @cd $(includedir) && $(chmod) $(fmode) $(INCDOT) $(INCINC)
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(includedir)
+ ${BSD_INSTALL_DATA} $(INCDOT) $(DESTDIR)$(includedir)
+ @cd $(srcdir)/include/ && ${BSD_INSTALL_DATA} $(INCINC) $(DESTDIR)$(includedir)
uninstall_include:
-cd $(includedir) && $(rm) -f $(INCDOT) $(INCINC)
@@ -388,75 +377,65 @@ uninstall_lib:
install_static:
@echo "Installing DB library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f $(libdb)
- @$(INSTALLER) -fp $(libdb) $(libdir)
- @cd $(libdir) && $(chmod) $(fmode) $(libdb)
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f $(DESTDIR)$(libdb)
+ @$(INSTALLER) -fp $(libdb) $(DESTDIR)$(libdir)
+ @cd $(DESTDIR)$(libdir) && $(chmod) $(fmode) $(libdb)
install_shared:
@echo "Installing DB library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f \
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f \
$(libso) $(libso_target) $(libso_default) $(libso_major)
- @$(INSTALLER) $(libso_target) $(libdir)
- @cd $(libdir) && $(ln) -s $(libso) $(libso_default)
- @cd $(libdir) && $(ln) -s $(libso) $(libso_major)
- @$(LIBTOOL) --mode=finish $(libdir)
- @cd $(libdir) && $(chmod) $(fmode) $(libso) $(libso_target)
+ @$(INSTALLER) $(libso_target) $(DESTDIR)$(libdir)
+ @$(LIBTOOL) --mode=finish $(DESTDIR)$(libdir)
install_static_cxx:
@echo "Installing DB C++ static library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f $(libcxx)
- @$(INSTALLER) -fp $(libcxx) $(libdir)
- @cd $(libdir) && $(chmod) $(fmode) $(libcxx)
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f $(libcxx)
+ @$(INSTALLER) -fp $(libcxx) $(DESTDIR)$(libdir)
+ @cd $(DESTDIR)$(libdir) && $(chmod) $(fmode) $(libcxx)
install_shared_cxx:
@echo "Installing DB C++ library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f \
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f \
$(libxso) $(libxso_target) $(libxso_default) $(libxso_major)
- @$(INSTALLER) $(libxso_target) $(libdir)
- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
- @cd $(libdir) && $(chmod) $(fmode) $(libxso) $(libxso_target)
+ @$(INSTALLER) $(libxso_target) $(DESTDIR)$(libdir)
install_tcl:
@echo "Installing DB Tcl library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f \
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f \
$(libtso) $(libtso_target) $(libtso_default) $(libtso_major)
- @$(INSTALLER) $(libtso_target) $(libdir)
- @cd $(libdir) && $(ln) -s $(libtso) $(libtso_default)
- @cd $(libdir) && $(ln) -s $(libtso) $(libtso_major)
- @cd $(libdir) && $(chmod) $(fmode) $(libtso) $(libtso_target)
+ @$(INSTALLER) $(libtso_target) $(DESTDIR)$(libdir)
install_java:
- @echo "Installing DB Java library: $(libdir) ..."
- @test -d $(libdir) || \
- ($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
- @cd $(libdir) && $(rm) -f $(libjso_g) \
+ @echo "Installing DB Java library: $(DESTDIR)$(libdir) ..."
+ @test -d $(DESTDIR)$(libdir) || \
+ ($(mkdir) -p $(DESTDIR)$(libdir) && $(chmod) $(dmode) $(DESTDIR)$(libdir))
+ @cd $(DESTDIR)$(libdir) && $(rm) -f $(libjso_g) \
$(libjso) $(libjso_target) $(libjso_default) $(libjso_major)
- @$(INSTALLER) $(libjso_target) $(libdir)
- @cd $(libdir) && $(ln) -s $(libjso) $(libjso_default)
- @cd $(libdir) && $(ln) -s $(libjso) $(libjso_major)
- @cd $(libdir) && $(ln) -s $(libjso) $(libjso_g)
- @cd $(libdir) && $(chmod) $(fmode) $(libjso) $(libjso_target)
- @$(cp) $(JAVA_CLASSTOP)/$(libj_jarfile) $(libdir)
+ @$(INSTALLER) $(libjso_target) $(DESTDIR)$(libdir)
+ @$(cp) $(JAVA_CLASSTOP)/$(libj_jarfile) $(DESTDIR)$(libdir)
install_utilities:
@echo "Installing DB utilities: $(bindir) ..."
- @test -d $(bindir) || \
- ($(mkdir) -p $(bindir) && $(chmod) $(dmode) $(bindir))
- @cd $(bindir) && $(rm) -f $(UTIL_PROGS)
- @$(INSTALLER) -fp $(UTIL_PROGS) $(bindir)
- @cd $(bindir) && (test ! -f $(strip) || $(strip) $(UTIL_PROGS))
- @cd $(bindir) && $(chmod) $(emode) $(UTIL_PROGS)
+ @test -d $(DESTDIR)$(bindir) || \
+ ($(mkdir) -p $(DESTDIR)$(bindir) && $(chmod) $(dmode) $(DESTDIR)$(bindir))
+ @for prog in $(UTIL_PROGS); do \
+ db3prog=`echo $$prog | sed @program_transform_name@`; \
+ ( cd $(DESTDIR)$(bindir) && $(rm) -f $$db3prog ) && \
+ $(INSTALLER) -fp $$prog $(DESTDIR)$(bindir)/$$db3prog && \
+ ( cd $(DESTDIR)$(bindir) && (test ! -f $(strip) || $(strip) $$db3prog ) ) && \
+ ( cd $(DESTDIR)$(bindir) && $(chmod) $(emode) $$db3prog ); \
+ done
uninstall_utilities:
-cd $(bindir) && $(rm) -f $(UTIL_PROGS)
@@ -466,10 +445,9 @@ DOCLIST=\
sleepycat utility
install_docs:
@echo "Installing documentation: $(docdir) ..."
- @test -d $(docdir) || \
- ($(mkdir) -p $(docdir) && $(chmod) $(dmode) $(docdir))
- @cd $(docdir) && $(rm) -rf $(DOCLIST)
- @cd $(srcdir)/docs && $(cp) -pr $(DOCLIST) $(docdir)/
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(docdir)
+ @cd $(DESTDIR)$(docdir) && $(rm) -rf $(DOCLIST)
+ @cd $(srcdir)/docs && $(cp) -pr $(DOCLIST) $(DESTDIR)$(docdir)/
uninstall_docs:
-cd $(docdir) && $(rm) -rf $(DOCLIST)

View File

@@ -0,0 +1,119 @@
$NetBSD: patch-ab,v 1.7 2008/05/01 23:41:21 wiz Exp $
--- ../dist/configure.orig 2001-07-13 01:34:11.000000000 +0000
+++ ../dist/configure
@@ -2819,6 +2819,8 @@ bsdi*) optimize_def="-O2";;
freebsd*) optimize_def="-O2"
CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS"
LIBS="-pthread";;
+dragonfly*)optimize_def="-O2"
+ LIBS="-pthread";;
hpux*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";;
irix*) optimize_def="-O2"
CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";;
@@ -4329,6 +4331,7 @@ fi
if test "$GXX" = "yes"; then
CXXVERSION=`${MAKEFILE_CXX} --version`
case ${CXXVERSION} in
+ egcs*) CXXFLAGS="-fexceptions $CXXFLAGS";;
1.*|2.[01234567].*|*-1.*|*-2.[01234567].*)
CXXFLAGS="-fhandle-exceptions $CXXFLAGS";;
*)
@@ -8439,7 +8442,7 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
# Prevent multiple expansion
LIBTOOL="\$(SHELL) ./libtool"
-SOSUFFIX=`sed -e '/^library_names_spec=/!d' -e 's/.*\.\([a-zA-Z0-9_]*\).*/\1/' ./libtool`
+SOSUFFIX=`./libtool --config | sed -e '/^library_names_spec=/!d' -e 's/.*\.\([a-zA-Z0-9_]*\).*/\1/'`
SOFLAGS="-rpath \$(libdir)"
SAVE_CC="${MAKEFILE_CC}"
@@ -8449,7 +8452,7 @@ MAKEFILE_CXX="\$(LIBTOOL) --mode=compile
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${SAVE_CXX}"
-SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
+SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
INSTALLER="\$(LIBTOOL) --mode=install cp"
# Configure for shared libraries, static libraries, or both. If both are
@@ -8728,7 +8731,7 @@ echo "${ECHO_T}$JAVACABS" >&6
done
JTOPDIR=`echo "$JAVACABS" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
case "$host_os" in
- darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e s:/[^/]*$::'`
+ darwin*) JTOPDIR=`echo "$JTOPDIR" | sed -e 's:/[^/]*$::'`
JNIHEADERDIR="$JTOPDIR/Headers";;
*) JNIHEADERDIR="$JTOPDIR/include";;
esac
@@ -9165,6 +9168,7 @@ if test "${ac_cv_lib_pthread_pthread_cre
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread $LIBS"
+LIBSO_LIBS="-lpthread"
cat >conftest.$ac_ext <<_ACEOF
#line 9169 "configure"
#include "confdefs.h"
@@ -9211,6 +9215,62 @@ if test $ac_cv_lib_pthread_pthread_creat
TEST_LIBS="-lpthread $TEST_LIBS"
fi
+if test $ac_cv_lib_pthread_pthread_create != yes; then
+echo "$as_me:9161: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6
+if test "${ac_cv_pthread_pthread_create+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-pthread $LIBS"
+LIBSO_LIBS="-pthread"
+cat >conftest.$ac_ext <<_ACEOF
+#line 9169 "configure"
+#include "confdefs.h"
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char pthread_create ();
+int
+main ()
+{
+pthread_create ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:9188: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:9191: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:9194: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:9197: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_pthread_pthread_create=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_pthread_pthread_create=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+echo "$as_me:9208: result: $ac_cv_pthread_pthread_create" >&5
+echo "${ECHO_T}$ac_cv_pthread_pthread_create" >&6
+if test $ac_cv_pthread_pthread_create = yes; then
+ TEST_LIBS="-pthread $TEST_LIBS"
+fi
+fi
+
# Checks for system/compiler characteristics.
echo "$as_me:9215: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.1 2003/08/02 16:21:17 mrg Exp $
--- ../include/db_cxx.h.orig 2001-06-28 01:23:30.000000000 +1000
+++ ../include/db_cxx.h 2003-08-03 01:55:58.000000000 +1000
@@ -49,7 +49,8 @@
// Forward declarations
//
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include <stdarg.h>
#include "db.h"
#include "cxx_common.h"

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1 2005/02/27 21:50:26 jschauma Exp $
--- ../include/db_185.in.orig Sun Feb 27 16:36:14 2005
+++ ../include/db_185.in Sun Feb 27 16:36:20 2005
@@ -72,7 +72,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,19 @@
$NetBSD: patch-ae,v 1.2 2006/06/30 11:22:04 joerg Exp $
Since Java 1.5, "enum" is a keyword.
--- ../java/src/com/sleepycat/db/DbEnv.java.orig 2001-07-03 23:08:49.000000000 +0200
+++ ../java/src/com/sleepycat/db/DbEnv.java 2006-06-26 11:48:55.000000000 +0200
@@ -78,9 +78,9 @@
//
/*package*/ void _notify_dbs()
{
- Enumeration enum = dblist_.elements();
- while (enum.hasMoreElements()) {
- Db db = (Db)enum.nextElement();
+ Enumeration e = dblist_.elements();
+ while (e.hasMoreElements()) {
+ Db db = (Db)e.nextElement();
db._notify_dbenv_close();
}
dblist_.removeAllElements();