pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Re-add Berkeley DB 4.6.21 as "db46" package....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f1007f352f8
branches:  trunk
changeset: 546931:0f1007f352f8
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Sep 09 22:23:32 2008 +0000

description:
Re-add Berkeley DB 4.6.21 as "db46" package. This package can coexist
with the "db4" package without problems. This is the first half of the
fix for PR pkg/39500.

diffstat:

 databases/Makefile              |     3 +-
 databases/db46/DESCR            |    23 +
 databases/db46/Makefile         |    62 +
 databases/db46/PLIST            |  1789 +++++++++++++++++++++++++++++++++++++++
 databases/db46/buildlink3.mk    |    34 +
 databases/db46/distinfo         |     8 +
 databases/db46/hacks.mk         |    25 +
 databases/db46/patches/patch-aa |   103 ++
 databases/db46/patches/patch-ab |    69 +
 databases/db46/patches/patch-ac |   103 ++
 10 files changed, 2218 insertions(+), 1 deletions(-)

diffs (truncated from 2269 to 300 lines):

diff -r d1cffac16c01 -r 0f1007f352f8 databases/Makefile
--- a/databases/Makefile        Tue Sep 09 17:19:26 2008 +0000
+++ b/databases/Makefile        Tue Sep 09 22:23:32 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.268 2008/09/07 22:41:32 seb Exp $
+# $NetBSD: Makefile,v 1.269 2008/09/09 22:23:32 tron Exp $
 #
 
 COMMENT=       Databases
@@ -11,6 +11,7 @@
 SUBDIR+=       db
 SUBDIR+=       db3
 SUBDIR+=       db4
+SUBDIR+=       db46
 SUBDIR+=       dbh
 SUBDIR+=       edb
 SUBDIR+=       freetds
diff -r d1cffac16c01 -r 0f1007f352f8 databases/db46/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db46/DESCR      Tue Sep 09 22:23:32 2008 +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 d1cffac16c01 -r 0f1007f352f8 databases/db46/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db46/Makefile   Tue Sep 09 22:23:32 2008 +0000
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1 2008/09/09 22:23:32 tron Exp $
+
+DISTNAME=      db-4.6.21
+PKGNAME=       ${DISTNAME:S/db/db46/}
+CATEGORIES=    databases
+MASTER_SITES=  http://download.oracle.com/berkeley-db/ \
+               http://download-uk.oracle.com/berkeley-db/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.oracle.com/database/berkeley-db/db/index.html
+COMMENT=       Berkeley DB version 4 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-cxx
+CONFIGURE_ARGS+=       --enable-rpc
+CONFIGURE_ARGS+=       --enable-compat185
+CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/db46
+CONFIGURE_ARGS+=       --program-transform-name=s,db_,db46_,
+
+# NetBSD-sparc64-1.6*'s f77 makes configure failing and as f77 is not
+# needed for this package the following does no harm on other platform.
+CONFIGURE_ENV+=                F77=${FALSE:Q}
+
+# Along with a hack in patch-ab, this forces shlib detection via
+# the pkgsrc-supplied libtool only.
+CONFIGURE_ENV+=                LIBTOOL_PROG=${LIBTOOL:Q}\ ${LIBTOOL_FLAGS:Q}
+
+OPSYSVARS+=            LIBSO_LIBS
+LIBSO_LIBS.Interix+=   -lrpclib
+LIBS.Interix+=         -lrpclib # needed for in-tree programs, too
+LIBSO_LIBS.SunOS+=     -lnsl -lrt
+CONFIGURE_ENV+=                LIBSO_LIBS=${LIBSO_LIBS:Q}
+
+# DB4 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.  We also only care if we're using a non-GCC compiler since
+# we have code to use GCC assembly for mutexes instead of 1003.1
+# mutexes.
+#
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CONFIGURE_ENV+=                ac_cv_lib_pthread_main=no
+.else
+PTHREAD_OPTS+=         native
+.  include "../../mk/pthread.buildlink3.mk"
+.endif
+
+INSTALLATION_DIRS=     include/db46 lib share/doc/db46
+
+post-install:
+       chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db46
+
+.include "../../mk/bsd.pkg.mk"
diff -r d1cffac16c01 -r 0f1007f352f8 databases/db46/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db46/PLIST      Tue Sep 09 22:23:32 2008 +0000
@@ -0,0 +1,1789 @@
+@comment $NetBSD: PLIST,v 1.1 2008/09/09 22:23:32 tron Exp $
+bin/berkeley_db46_svc
+bin/db46_archive
+bin/db46_checkpoint
+bin/db46_codegen
+bin/db46_deadlock
+bin/db46_dump
+bin/db46_hotbackup
+bin/db46_load
+bin/db46_printlog
+bin/db46_recover
+bin/db46_stat
+bin/db46_upgrade
+bin/db46_verify
+include/db46/db.h
+include/db46/db_185.h
+include/db46/db_cxx.h
+lib/libdb46-4.6.la
+lib/libdb46-4.so
+lib/libdb46.a
+lib/libdb46.so
+lib/libdb46_cxx-4.6.la
+lib/libdb46_cxx-4.so
+lib/libdb46_cxx.a
+lib/libdb46_cxx.so
+share/doc/db46/api_c/api_core.html
+share/doc/db46/api_c/c_pindex.html
+share/doc/db46/api_c/db_associate.html
+share/doc/db46/api_c/db_class.html
+share/doc/db46/api_c/db_close.html
+share/doc/db46/api_c/db_compact.html
+share/doc/db46/api_c/db_cursor.html
+share/doc/db46/api_c/db_del.html
+share/doc/db46/api_c/db_err.html
+share/doc/db46/api_c/db_exists.html
+share/doc/db46/api_c/db_fd.html
+share/doc/db46/api_c/db_get.html
+share/doc/db46/api_c/db_get_byteswapped.html
+share/doc/db46/api_c/db_get_mpf.html
+share/doc/db46/api_c/db_get_type.html
+share/doc/db46/api_c/db_getenv.html
+share/doc/db46/api_c/db_join.html
+share/doc/db46/api_c/db_key_range.html
+share/doc/db46/api_c/db_list.html
+share/doc/db46/api_c/db_open.html
+share/doc/db46/api_c/db_put.html
+share/doc/db46/api_c/db_remove.html
+share/doc/db46/api_c/db_rename.html
+share/doc/db46/api_c/db_set_alloc.html
+share/doc/db46/api_c/db_set_append_recno.html
+share/doc/db46/api_c/db_set_bt_compare.html
+share/doc/db46/api_c/db_set_bt_minkey.html
+share/doc/db46/api_c/db_set_bt_prefix.html
+share/doc/db46/api_c/db_set_cachesize.html
+share/doc/db46/api_c/db_set_dup_compare.html
+share/doc/db46/api_c/db_set_encrypt.html
+share/doc/db46/api_c/db_set_errcall.html
+share/doc/db46/api_c/db_set_errfile.html
+share/doc/db46/api_c/db_set_errpfx.html
+share/doc/db46/api_c/db_set_feedback.html
+share/doc/db46/api_c/db_set_flags.html
+share/doc/db46/api_c/db_set_h_compare.html
+share/doc/db46/api_c/db_set_h_ffactor.html
+share/doc/db46/api_c/db_set_h_hash.html
+share/doc/db46/api_c/db_set_h_nelem.html
+share/doc/db46/api_c/db_set_lorder.html
+share/doc/db46/api_c/db_set_msgcall.html
+share/doc/db46/api_c/db_set_msgfile.html
+share/doc/db46/api_c/db_set_pagesize.html
+share/doc/db46/api_c/db_set_priority.html
+share/doc/db46/api_c/db_set_q_extentsize.html
+share/doc/db46/api_c/db_set_re_delim.html
+share/doc/db46/api_c/db_set_re_len.html
+share/doc/db46/api_c/db_set_re_pad.html
+share/doc/db46/api_c/db_set_re_source.html
+share/doc/db46/api_c/db_stat.html
+share/doc/db46/api_c/db_sync.html
+share/doc/db46/api_c/db_truncate.html
+share/doc/db46/api_c/db_upgrade.html
+share/doc/db46/api_c/db_verify.html
+share/doc/db46/api_c/dbc_class.html
+share/doc/db46/api_c/dbc_close.html
+share/doc/db46/api_c/dbc_count.html
+share/doc/db46/api_c/dbc_del.html
+share/doc/db46/api_c/dbc_dup.html
+share/doc/db46/api_c/dbc_get.html
+share/doc/db46/api_c/dbc_list.html
+share/doc/db46/api_c/dbc_put.html
+share/doc/db46/api_c/dbc_set_priority.html
+share/doc/db46/api_c/dbm.html
+share/doc/db46/api_c/dbt_bulk.html
+share/doc/db46/api_c/dbt_class.html
+share/doc/db46/api_c/dbt_package.html
+share/doc/db46/api_c/env_cdsgroup_begin.html
+share/doc/db46/api_c/env_class.html
+share/doc/db46/api_c/env_close.html
+share/doc/db46/api_c/env_dbremove.html
+share/doc/db46/api_c/env_dbrename.html
+share/doc/db46/api_c/env_err.html
+share/doc/db46/api_c/env_event_notify.html
+share/doc/db46/api_c/env_failchk.html
+share/doc/db46/api_c/env_fileid_reset.html
+share/doc/db46/api_c/env_list.html
+share/doc/db46/api_c/env_lsn_reset.html
+share/doc/db46/api_c/env_open.html
+share/doc/db46/api_c/env_remove.html
+share/doc/db46/api_c/env_set_alloc.html
+share/doc/db46/api_c/env_set_app_dispatch.html
+share/doc/db46/api_c/env_set_cache_max.html
+share/doc/db46/api_c/env_set_cachesize.html
+share/doc/db46/api_c/env_set_data_dir.html
+share/doc/db46/api_c/env_set_encrypt.html
+share/doc/db46/api_c/env_set_errcall.html
+share/doc/db46/api_c/env_set_errfile.html
+share/doc/db46/api_c/env_set_errpfx.html
+share/doc/db46/api_c/env_set_feedback.html
+share/doc/db46/api_c/env_set_flags.html
+share/doc/db46/api_c/env_set_isalive.html
+share/doc/db46/api_c/env_set_lg_bsize.html
+share/doc/db46/api_c/env_set_lg_dir.html
+share/doc/db46/api_c/env_set_lg_max.html
+share/doc/db46/api_c/env_set_lg_mode.html
+share/doc/db46/api_c/env_set_lg_regionmax.html
+share/doc/db46/api_c/env_set_lk_conflicts.html
+share/doc/db46/api_c/env_set_lk_detect.html
+share/doc/db46/api_c/env_set_lk_max_lockers.html
+share/doc/db46/api_c/env_set_lk_max_locks.html
+share/doc/db46/api_c/env_set_lk_max_objects.html
+share/doc/db46/api_c/env_set_mp_mmapsize.html
+share/doc/db46/api_c/env_set_msgcall.html
+share/doc/db46/api_c/env_set_msgfile.html
+share/doc/db46/api_c/env_set_rpc_server.html
+share/doc/db46/api_c/env_set_shm_key.html
+share/doc/db46/api_c/env_set_thread_count.html
+share/doc/db46/api_c/env_set_thread_id.html
+share/doc/db46/api_c/env_set_thread_id_string.html
+share/doc/db46/api_c/env_set_timeout.html
+share/doc/db46/api_c/env_set_tmp_dir.html
+share/doc/db46/api_c/env_set_tx_max.html
+share/doc/db46/api_c/env_set_tx_timestamp.html
+share/doc/db46/api_c/env_set_verbose.html
+share/doc/db46/api_c/env_stat.html
+share/doc/db46/api_c/env_strerror.html
+share/doc/db46/api_c/env_version.html
+share/doc/db46/api_c/frame.html
+share/doc/db46/api_c/hsearch.html
+share/doc/db46/api_c/lock_class.html
+share/doc/db46/api_c/lock_detect.html
+share/doc/db46/api_c/lock_get.html
+share/doc/db46/api_c/lock_id.html
+share/doc/db46/api_c/lock_id_free.html
+share/doc/db46/api_c/lock_list.html
+share/doc/db46/api_c/lock_put.html
+share/doc/db46/api_c/lock_stat.html
+share/doc/db46/api_c/lock_vec.html
+share/doc/db46/api_c/log_archive.html
+share/doc/db46/api_c/log_compare.html
+share/doc/db46/api_c/log_cursor.html
+share/doc/db46/api_c/log_file.html
+share/doc/db46/api_c/log_flush.html
+share/doc/db46/api_c/log_list.html
+share/doc/db46/api_c/log_printf.html
+share/doc/db46/api_c/log_put.html
+share/doc/db46/api_c/log_stat.html
+share/doc/db46/api_c/logc_class.html
+share/doc/db46/api_c/logc_close.html
+share/doc/db46/api_c/logc_get.html
+share/doc/db46/api_c/lsn_class.html
+share/doc/db46/api_c/memp_fclose.html
+share/doc/db46/api_c/memp_fcreate.html
+share/doc/db46/api_c/memp_fget.html
+share/doc/db46/api_c/memp_fopen.html
+share/doc/db46/api_c/memp_fput.html
+share/doc/db46/api_c/memp_fsync.html
+share/doc/db46/api_c/memp_list.html
+share/doc/db46/api_c/memp_maxwrite.html
+share/doc/db46/api_c/memp_openfd.html
+share/doc/db46/api_c/memp_register.html
+share/doc/db46/api_c/memp_set_clear_len.html
+share/doc/db46/api_c/memp_set_fileid.html
+share/doc/db46/api_c/memp_set_flags.html
+share/doc/db46/api_c/memp_set_ftype.html
+share/doc/db46/api_c/memp_set_lsn_offset.html
+share/doc/db46/api_c/memp_set_maxsize.html
+share/doc/db46/api_c/memp_set_pgcookie.html
+share/doc/db46/api_c/memp_set_priority.html



Home | Main Index | Thread Index | Old Index