pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/db5 Berkeley DB is an embeddable database sy...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87ced432d4a2
branches:  trunk
changeset: 576114:87ced432d4a2
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 02 12:08:48 2010 +0000

description:
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.

diffstat:

 databases/db5/DESCR            |    23 +
 databases/db5/Makefile         |    51 +
 databases/db5/PLIST            |  4966 ++++++++++++++++++++++++++++++++++++++++
 databases/db5/buildlink3.mk    |    25 +
 databases/db5/distinfo         |     8 +
 databases/db5/hacks.mk         |    25 +
 databases/db5/patches/patch-aa |   103 +
 databases/db5/patches/patch-ab |    49 +
 databases/db5/patches/patch-ac |   103 +
 9 files changed, 5353 insertions(+), 0 deletions(-)

diffs (truncated from 5389 to 300 lines):

diff -r fa78564a8c61 -r 87ced432d4a2 databases/db5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db5/DESCR       Wed Jun 02 12:08:48 2010 +0000
@@ -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.
diff -r fa78564a8c61 -r 87ced432d4a2 databases/db5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db5/Makefile    Wed Jun 02 12:08:48 2010 +0000
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/06/02 12:08:49 adam Exp $
+#
+# NOTE:
+# When updating this package, a change in the minor (5.n -> 5.(n+1))
+# usually incurs a shlib name change. Please make sure to update the
+# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
+# In particular, take care to include BDB_ACCEPTED=db5 packages.
+
+DISTNAME=      db-5.0.21
+PKGNAME=       ${DISTNAME:S/db/db5/}
+CATEGORIES=    databases
+MASTER_SITES=  http://download.oracle.com/berkeley-db/ \
+               http://download-uk.oracle.com/berkeley-db/
+
+#PATCHFILES=   patch.5.0.21.1
+#PATCH_SITES=  http://www.oracle.com/technology/products/berkeley-db/db/update/5.0.21/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.oracle.com/database/berkeley-db/db/index.html
+COMMENT=       Berkeley DB version 5 from Oracle
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_LANGUAGES=         c c++
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pax
+GNU_CONFIGURE=         yes
+CONFIGURE_DIRS=                build_unix
+CONFIGURE_SCRIPT=      ../dist/configure
+CONFIGURE_ARGS+=       --enable-compat185
+CONFIGURE_ARGS+=       --enable-cxx
+CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/db5
+CONFIGURE_ARGS+=       --program-transform-name=s,db_,db5_,
+
+OPSYSVARS+=            LIBSO_LIBS
+LIBSO_LIBS.SunOS+=     -lnsl -lrt
+CONFIGURE_ENV+=                LIBSO_LIBS=${LIBSO_LIBS:Q}
+
+# DB5 only want pthreads because it's really after POSIX 1003.1
+# inter-process mutexes.  In this case, we only care to use the native
+# threads.
+PTHREAD_OPTS+=         native
+.include "../../mk/pthread.buildlink3.mk"
+
+INSTALLATION_DIRS=     include/db5 lib share/doc/db5
+
+post-install:
+       chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db5
+
+.include "../../mk/bsd.pkg.mk"
diff -r fa78564a8c61 -r 87ced432d4a2 databases/db5/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db5/PLIST       Wed Jun 02 12:08:48 2010 +0000
@@ -0,0 +1,4966 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/02 12:08:53 adam Exp $
+bin/db5_archive
+bin/db5_checkpoint
+bin/db5_deadlock
+bin/db5_dump
+bin/db5_hotbackup
+bin/db5_load
+bin/db5_log_verify
+bin/db5_printlog
+bin/db5_recover
+bin/db5_stat
+bin/db5_upgrade
+bin/db5_verify
+include/db5/db.h
+include/db5/db_185.h
+include/db5/db_cxx.h
+lib/libdb5-5.0.la
+lib/libdb5-5.so
+lib/libdb5.a
+lib/libdb5.so
+lib/libdb5_cxx-5.0.la
+lib/libdb5_cxx-5.so
+lib/libdb5_cxx.a
+lib/libdb5_cxx.so
+share/doc/db5/api_reference/C/BDB-C_APIReference.pdf
+share/doc/db5/api_reference/C/DB_MULTIPLE_INIT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_KEY_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_KEY_RESERVE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_KEY_WRITE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_RECNO_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_RECNO_RESERVE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_RECNO_WRITE_INIT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_RECNO_WRITE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_RESERVE_NEXT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_WRITE_INIT.html
+share/doc/db5/api_reference/C/DB_MULTIPLE_WRITE_NEXT.html
+share/doc/db5/api_reference/C/apiReference.css
+share/doc/db5/api_reference/C/db.html
+share/doc/db5/api_reference/C/db_archive.html
+share/doc/db5/api_reference/C/db_checkpoint.html
+share/doc/db5/api_reference/C/db_codegen.html
+share/doc/db5/api_reference/C/db_deadlock.html
+share/doc/db5/api_reference/C/db_dump.html
+share/doc/db5/api_reference/C/db_env_set_func_close.html
+share/doc/db5/api_reference/C/db_env_set_func_dirfree.html
+share/doc/db5/api_reference/C/db_env_set_func_dirlist.html
+share/doc/db5/api_reference/C/db_env_set_func_exists.html
+share/doc/db5/api_reference/C/db_env_set_func_file_map.html
+share/doc/db5/api_reference/C/db_env_set_func_free.html
+share/doc/db5/api_reference/C/db_env_set_func_fsync.html
+share/doc/db5/api_reference/C/db_env_set_func_ftruncate.html
+share/doc/db5/api_reference/C/db_env_set_func_ioinfo.html
+share/doc/db5/api_reference/C/db_env_set_func_malloc.html
+share/doc/db5/api_reference/C/db_env_set_func_open.html
+share/doc/db5/api_reference/C/db_env_set_func_pread.html
+share/doc/db5/api_reference/C/db_env_set_func_pwrite.html
+share/doc/db5/api_reference/C/db_env_set_func_read.html
+share/doc/db5/api_reference/C/db_env_set_func_realloc.html
+share/doc/db5/api_reference/C/db_env_set_func_region_map.html
+share/doc/db5/api_reference/C/db_env_set_func_rename.html
+share/doc/db5/api_reference/C/db_env_set_func_seek.html
+share/doc/db5/api_reference/C/db_env_set_func_unlink.html
+share/doc/db5/api_reference/C/db_env_set_func_write.html
+share/doc/db5/api_reference/C/db_env_set_func_yield.html
+share/doc/db5/api_reference/C/db_hotbackup.html
+share/doc/db5/api_reference/C/db_load.html
+share/doc/db5/api_reference/C/db_log_verify.html
+share/doc/db5/api_reference/C/db_printlog.html
+share/doc/db5/api_reference/C/db_recover.html
+share/doc/db5/api_reference/C/db_sql.html
+share/doc/db5/api_reference/C/db_sql_codegen.html
+share/doc/db5/api_reference/C/db_stat.html
+share/doc/db5/api_reference/C/db_upgrade.html
+share/doc/db5/api_reference/C/db_verify.html
+share/doc/db5/api_reference/C/dbassociate.html
+share/doc/db5/api_reference/C/dbassociate_foreign.html
+share/doc/db5/api_reference/C/dbc.html
+share/doc/db5/api_reference/C/dbcclose.html
+share/doc/db5/api_reference/C/dbccmp.html
+share/doc/db5/api_reference/C/dbccount.html
+share/doc/db5/api_reference/C/dbcdel.html
+share/doc/db5/api_reference/C/dbcdup.html
+share/doc/db5/api_reference/C/dbcget.html
+share/doc/db5/api_reference/C/dbcget_priority.html
+share/doc/db5/api_reference/C/dbclose.html
+share/doc/db5/api_reference/C/dbcompact.html
+share/doc/db5/api_reference/C/dbcput.html
+share/doc/db5/api_reference/C/dbcreate.html
+share/doc/db5/api_reference/C/dbcset_priority.html
+share/doc/db5/api_reference/C/dbcursor.html
+share/doc/db5/api_reference/C/dbdel.html
+share/doc/db5/api_reference/C/dberr.html
+share/doc/db5/api_reference/C/dbexists.html
+share/doc/db5/api_reference/C/dbfd.html
+share/doc/db5/api_reference/C/dbget.html
+share/doc/db5/api_reference/C/dbget_bt_minkey.html
+share/doc/db5/api_reference/C/dbget_byteswapped.html
+share/doc/db5/api_reference/C/dbget_cachesize.html
+share/doc/db5/api_reference/C/dbget_create_dir.html
+share/doc/db5/api_reference/C/dbget_dbname.html
+share/doc/db5/api_reference/C/dbget_encrypt_flags.html
+share/doc/db5/api_reference/C/dbget_errfile.html
+share/doc/db5/api_reference/C/dbget_errpfx.html
+share/doc/db5/api_reference/C/dbget_flags.html
+share/doc/db5/api_reference/C/dbget_h_ffactor.html
+share/doc/db5/api_reference/C/dbget_h_nelem.html
+share/doc/db5/api_reference/C/dbget_lorder.html
+share/doc/db5/api_reference/C/dbget_mpf.html
+share/doc/db5/api_reference/C/dbget_msgfile.html
+share/doc/db5/api_reference/C/dbget_multiple.html
+share/doc/db5/api_reference/C/dbget_open_flags.html
+share/doc/db5/api_reference/C/dbget_pagesize.html
+share/doc/db5/api_reference/C/dbget_partition_callback.html
+share/doc/db5/api_reference/C/dbget_partition_dirs.html
+share/doc/db5/api_reference/C/dbget_partition_keys.html
+share/doc/db5/api_reference/C/dbget_priority.html
+share/doc/db5/api_reference/C/dbget_q_extentsize.html
+share/doc/db5/api_reference/C/dbget_re_delim.html
+share/doc/db5/api_reference/C/dbget_re_len.html
+share/doc/db5/api_reference/C/dbget_re_pad.html
+share/doc/db5/api_reference/C/dbget_re_source.html
+share/doc/db5/api_reference/C/dbget_transactional.html
+share/doc/db5/api_reference/C/dbget_type.html
+share/doc/db5/api_reference/C/dbgetenv.html
+share/doc/db5/api_reference/C/dbjoin.html
+share/doc/db5/api_reference/C/dbkey_range.html
+share/doc/db5/api_reference/C/dbm.html
+share/doc/db5/api_reference/C/dbopen.html
+share/doc/db5/api_reference/C/dbput.html
+share/doc/db5/api_reference/C/dbremove.html
+share/doc/db5/api_reference/C/dbrename.html
+share/doc/db5/api_reference/C/dbset_alloc.html
+share/doc/db5/api_reference/C/dbset_append_recno.html
+share/doc/db5/api_reference/C/dbset_bt_compare.html
+share/doc/db5/api_reference/C/dbset_bt_compress.html
+share/doc/db5/api_reference/C/dbset_bt_minkey.html
+share/doc/db5/api_reference/C/dbset_bt_prefix.html
+share/doc/db5/api_reference/C/dbset_cachesize.html
+share/doc/db5/api_reference/C/dbset_create_dir.html
+share/doc/db5/api_reference/C/dbset_dup_compare.html
+share/doc/db5/api_reference/C/dbset_encrypt.html
+share/doc/db5/api_reference/C/dbset_errcall.html
+share/doc/db5/api_reference/C/dbset_errfile.html
+share/doc/db5/api_reference/C/dbset_errpfx.html
+share/doc/db5/api_reference/C/dbset_feedback.html
+share/doc/db5/api_reference/C/dbset_flags.html
+share/doc/db5/api_reference/C/dbset_h_compare.html
+share/doc/db5/api_reference/C/dbset_h_ffactor.html
+share/doc/db5/api_reference/C/dbset_h_hash.html
+share/doc/db5/api_reference/C/dbset_h_nelem.html
+share/doc/db5/api_reference/C/dbset_lorder.html
+share/doc/db5/api_reference/C/dbset_msgcall.html
+share/doc/db5/api_reference/C/dbset_msgfile.html
+share/doc/db5/api_reference/C/dbset_pagesize.html
+share/doc/db5/api_reference/C/dbset_partition.html
+share/doc/db5/api_reference/C/dbset_partition_dirs.html
+share/doc/db5/api_reference/C/dbset_priority.html
+share/doc/db5/api_reference/C/dbset_q_extentsize.html
+share/doc/db5/api_reference/C/dbset_re_delim.html
+share/doc/db5/api_reference/C/dbset_re_len.html
+share/doc/db5/api_reference/C/dbset_re_pad.html
+share/doc/db5/api_reference/C/dbset_re_source.html
+share/doc/db5/api_reference/C/dbsql.html
+share/doc/db5/api_reference/C/dbstat.html
+share/doc/db5/api_reference/C/dbstat_print.html
+share/doc/db5/api_reference/C/dbsync.html
+share/doc/db5/api_reference/C/dbt.html
+share/doc/db5/api_reference/C/dbtruncate.html
+share/doc/db5/api_reference/C/dbupgrade.html
+share/doc/db5/api_reference/C/dbverify.html
+share/doc/db5/api_reference/C/env.html
+share/doc/db5/api_reference/C/envadd_data_dir.html
+share/doc/db5/api_reference/C/envcdsgroup_begin.html
+share/doc/db5/api_reference/C/envclose.html
+share/doc/db5/api_reference/C/envcreate.html
+share/doc/db5/api_reference/C/envdbremove.html
+share/doc/db5/api_reference/C/envdbrename.html
+share/doc/db5/api_reference/C/enverr.html
+share/doc/db5/api_reference/C/envevent_notify.html
+share/doc/db5/api_reference/C/envfailchk.html
+share/doc/db5/api_reference/C/envfileid_reset.html
+share/doc/db5/api_reference/C/envfullversion.html
+share/doc/db5/api_reference/C/envget_cache_max.html
+share/doc/db5/api_reference/C/envget_cachesize.html
+share/doc/db5/api_reference/C/envget_create_dir.html
+share/doc/db5/api_reference/C/envget_data_dirs.html
+share/doc/db5/api_reference/C/envget_encrypt_flags.html
+share/doc/db5/api_reference/C/envget_errfile.html
+share/doc/db5/api_reference/C/envget_errpfx.html
+share/doc/db5/api_reference/C/envget_flags.html
+share/doc/db5/api_reference/C/envget_home.html
+share/doc/db5/api_reference/C/envget_intermediate_dir_mode.html
+share/doc/db5/api_reference/C/envget_lg_bsize.html
+share/doc/db5/api_reference/C/envget_lg_dir.html
+share/doc/db5/api_reference/C/envget_lg_filemode.html
+share/doc/db5/api_reference/C/envget_lg_max.html
+share/doc/db5/api_reference/C/envget_lg_regionmax.html
+share/doc/db5/api_reference/C/envget_lk_conflicts.html
+share/doc/db5/api_reference/C/envget_lk_detect.html
+share/doc/db5/api_reference/C/envget_lk_max_lockers.html
+share/doc/db5/api_reference/C/envget_lk_max_locks.html
+share/doc/db5/api_reference/C/envget_lk_max_objects.html
+share/doc/db5/api_reference/C/envget_lk_partitions.html
+share/doc/db5/api_reference/C/envget_lk_priority.html
+share/doc/db5/api_reference/C/envget_mp_mmapsize.html
+share/doc/db5/api_reference/C/envget_mp_pagesize.html
+share/doc/db5/api_reference/C/envget_mp_tablesize.html
+share/doc/db5/api_reference/C/envget_msgfile.html
+share/doc/db5/api_reference/C/envget_open_flags.html
+share/doc/db5/api_reference/C/envget_shm_key.html
+share/doc/db5/api_reference/C/envget_thread_count.html
+share/doc/db5/api_reference/C/envget_timeout.html
+share/doc/db5/api_reference/C/envget_tmp_dir.html



Home | Main Index | Thread Index | Old Index