pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/db4 Changes 4.8.30:
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa78564a8c61
branches: trunk
changeset: 576113:fa78564a8c61
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jun 02 12:06:21 2010 +0000
description:
Changes 4.8.30:
* The log file format changed in 11gR2.
* Replication Manager sites can specify one or more possible client-to-client
peers.
* Added resource management feature in all Berkeley DB APIs to automatically
manage cursor and database handles by closing them when they are not
required, if they are not yet closed.
* Added a SQL interface to the Berkeley DB library. The interface is based on -
and a drop-in-replacement for - the SQLite API. It can be accessed via a
command line utility, a C API, or existing APIs built for SQLite.
* Added hash databases support to the DB->compact interface.
* Renamed the "db_sql" utility to "db_sql_codegen". This utility is not built
by default. To build this utility, enter --enable-sql_codegen as an argument
to configure.
* Added transactional support in db_sql_codegen utility. Specify TRANSACTIONAL
or NONTRANSACTIONAL in hint comments in SQL statement, db_sql_codegen
enable/disable transaction in generated code accordingly.
* Added the feature read-your-writes consistency that allows client application
to check, or wait for a specific transaction to be replicated from the master
before reading database.
* Added DB log verification feature, accessible via the API and a new utility.
This feature can help debugging and analysis.
* Added support for applications to assign master/client role explicitly at any
time. Replication Manager can now be configured not to initiate elections.
* more...
diffstat:
databases/db4/Makefile | 33 +-
databases/db4/PLIST | 4707 +++++++++++++++++++++++++++++++--------
databases/db4/buildlink3.mk | 17 +-
databases/db4/distinfo | 16 +-
databases/db4/patches/patch-aa | 49 +-
databases/db4/patches/patch-ab | 47 +-
databases/db4/patches/patch-ad | 13 -
databases/db4/patches/patch-ba | 60 -
databases/db4/patches/patch-bb | 44 -
databases/db4/patches/patch-bc | 213 -
10 files changed, 3767 insertions(+), 1432 deletions(-)
diffs (truncated from 5558 to 300 lines):
diff -r 71924bafb04d -r fa78564a8c61 databases/db4/Makefile
--- a/databases/db4/Makefile Wed Jun 02 10:21:56 2010 +0000
+++ b/databases/db4/Makefile Wed Jun 02 12:06:21 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2010/01/16 17:57:37 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2010/06/02 12:06:21 adam Exp $
#
# NOTE:
# When updating this package, a change in the minor (4.n -> 4.(n+1))
@@ -6,15 +6,14 @@
# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
# In particular, take care to include BDB_ACCEPTED=db4 packages.
-DISTNAME= db-4.7.25
-PKGNAME= ${DISTNAME:S/db/db4/}.3
+DISTNAME= db-4.8.30
+PKGNAME= ${DISTNAME:S/db/db4/}
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/
-# doesn't apply due to line endings, included as patch-ba
-#PATCHFILES= patch.4.7.25.1
-#PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/
+#PATCHFILES= patch.4.8.30.1
+#PATCH_SITES= http://www.oracle.com/technology/products/berkeley-db/db/update/4.8.30/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://www.oracle.com/database/berkeley-db/db/index.html
@@ -29,36 +28,20 @@
GNU_CONFIGURE= yes
CONFIGURE_DIRS= build_unix
CONFIGURE_SCRIPT= ../dist/configure
-
+CONFIGURE_ARGS+= --enable-compat185
CONFIGURE_ARGS+= --enable-cxx
-CONFIGURE_ARGS+= --enable-rpc
-CONFIGURE_ARGS+= --enable-compat185
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
-# 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
+# threads.
PTHREAD_OPTS+= native
-. include "../../mk/pthread.buildlink3.mk"
-.endif
+.include "../../mk/pthread.buildlink3.mk"
INSTALLATION_DIRS= include/db4 lib share/doc/db4
diff -r 71924bafb04d -r fa78564a8c61 databases/db4/PLIST
--- a/databases/db4/PLIST Wed Jun 02 10:21:56 2010 +0000
+++ b/databases/db4/PLIST Wed Jun 02 12:06:21 2010 +0000
@@ -1,535 +1,1107 @@
-@comment $NetBSD: PLIST,v 1.14 2009/06/14 17:43:15 joerg Exp $
-bin/berkeley_db4_svc
+@comment $NetBSD: PLIST,v 1.15 2010/06/02 12:06:21 adam Exp $
bin/db4_archive
bin/db4_checkpoint
-bin/db4_codegen
bin/db4_deadlock
bin/db4_dump
bin/db4_hotbackup
bin/db4_load
bin/db4_printlog
bin/db4_recover
+bin/db4_sql
bin/db4_stat
bin/db4_upgrade
bin/db4_verify
include/db4/db.h
include/db4/db_185.h
include/db4/db_cxx.h
-lib/libdb4-4.7.la
+lib/libdb4-4.8.la
lib/libdb4-4.so
lib/libdb4.a
lib/libdb4.so
-lib/libdb4_cxx-4.7.la
+lib/libdb4_cxx-4.8.la
lib/libdb4_cxx-4.so
lib/libdb4_cxx.a
lib/libdb4_cxx.so
-share/doc/db4/api_c/api_core.html
-share/doc/db4/api_c/c_pindex.html
-share/doc/db4/api_c/db_associate.html
-share/doc/db4/api_c/db_class.html
-share/doc/db4/api_c/db_close.html
-share/doc/db4/api_c/db_compact.html
-share/doc/db4/api_c/db_cursor.html
-share/doc/db4/api_c/db_del.html
-share/doc/db4/api_c/db_err.html
-share/doc/db4/api_c/db_exists.html
-share/doc/db4/api_c/db_fd.html
-share/doc/db4/api_c/db_get.html
-share/doc/db4/api_c/db_get_byteswapped.html
-share/doc/db4/api_c/db_get_mpf.html
-share/doc/db4/api_c/db_get_type.html
-share/doc/db4/api_c/db_getenv.html
-share/doc/db4/api_c/db_join.html
-share/doc/db4/api_c/db_key_range.html
-share/doc/db4/api_c/db_list.html
-share/doc/db4/api_c/db_open.html
-share/doc/db4/api_c/db_put.html
-share/doc/db4/api_c/db_remove.html
-share/doc/db4/api_c/db_rename.html
-share/doc/db4/api_c/db_set_alloc.html
-share/doc/db4/api_c/db_set_append_recno.html
-share/doc/db4/api_c/db_set_bt_compare.html
-share/doc/db4/api_c/db_set_bt_minkey.html
-share/doc/db4/api_c/db_set_bt_prefix.html
-share/doc/db4/api_c/db_set_cachesize.html
-share/doc/db4/api_c/db_set_dup_compare.html
-share/doc/db4/api_c/db_set_encrypt.html
-share/doc/db4/api_c/db_set_errcall.html
-share/doc/db4/api_c/db_set_errfile.html
-share/doc/db4/api_c/db_set_errpfx.html
-share/doc/db4/api_c/db_set_feedback.html
-share/doc/db4/api_c/db_set_flags.html
-share/doc/db4/api_c/db_set_h_compare.html
-share/doc/db4/api_c/db_set_h_ffactor.html
-share/doc/db4/api_c/db_set_h_hash.html
-share/doc/db4/api_c/db_set_h_nelem.html
-share/doc/db4/api_c/db_set_lorder.html
-share/doc/db4/api_c/db_set_msgcall.html
-share/doc/db4/api_c/db_set_msgfile.html
-share/doc/db4/api_c/db_set_pagesize.html
-share/doc/db4/api_c/db_set_priority.html
-share/doc/db4/api_c/db_set_q_extentsize.html
-share/doc/db4/api_c/db_set_re_delim.html
-share/doc/db4/api_c/db_set_re_len.html
-share/doc/db4/api_c/db_set_re_pad.html
-share/doc/db4/api_c/db_set_re_source.html
-share/doc/db4/api_c/db_stat.html
-share/doc/db4/api_c/db_sync.html
-share/doc/db4/api_c/db_truncate.html
-share/doc/db4/api_c/db_upgrade.html
-share/doc/db4/api_c/db_verify.html
-share/doc/db4/api_c/dbc_class.html
-share/doc/db4/api_c/dbc_close.html
-share/doc/db4/api_c/dbc_count.html
-share/doc/db4/api_c/dbc_del.html
-share/doc/db4/api_c/dbc_dup.html
-share/doc/db4/api_c/dbc_get.html
-share/doc/db4/api_c/dbc_list.html
-share/doc/db4/api_c/dbc_put.html
-share/doc/db4/api_c/dbc_set_priority.html
-share/doc/db4/api_c/dbm.html
-share/doc/db4/api_c/dbt_bulk.html
-share/doc/db4/api_c/dbt_class.html
-share/doc/db4/api_c/dbt_package.html
-share/doc/db4/api_c/env_cdsgroup_begin.html
-share/doc/db4/api_c/env_class.html
-share/doc/db4/api_c/env_close.html
-share/doc/db4/api_c/env_dbremove.html
-share/doc/db4/api_c/env_dbrename.html
-share/doc/db4/api_c/env_err.html
-share/doc/db4/api_c/env_event_notify.html
-share/doc/db4/api_c/env_failchk.html
-share/doc/db4/api_c/env_fileid_reset.html
-share/doc/db4/api_c/env_list.html
-share/doc/db4/api_c/env_log_set_config.html
-share/doc/db4/api_c/env_lsn_reset.html
-share/doc/db4/api_c/env_open.html
-share/doc/db4/api_c/env_remove.html
-share/doc/db4/api_c/env_set_alloc.html
-share/doc/db4/api_c/env_set_app_dispatch.html
-share/doc/db4/api_c/env_set_cache_max.html
-share/doc/db4/api_c/env_set_cachesize.html
-share/doc/db4/api_c/env_set_data_dir.html
-share/doc/db4/api_c/env_set_encrypt.html
-share/doc/db4/api_c/env_set_errcall.html
-share/doc/db4/api_c/env_set_errfile.html
-share/doc/db4/api_c/env_set_errpfx.html
-share/doc/db4/api_c/env_set_feedback.html
-share/doc/db4/api_c/env_set_flags.html
-share/doc/db4/api_c/env_set_intermediate_dir_mode.html
-share/doc/db4/api_c/env_set_isalive.html
-share/doc/db4/api_c/env_set_lg_bsize.html
-share/doc/db4/api_c/env_set_lg_dir.html
-share/doc/db4/api_c/env_set_lg_max.html
-share/doc/db4/api_c/env_set_lg_mode.html
-share/doc/db4/api_c/env_set_lg_regionmax.html
-share/doc/db4/api_c/env_set_lk_conflicts.html
-share/doc/db4/api_c/env_set_lk_detect.html
-share/doc/db4/api_c/env_set_lk_max_lockers.html
-share/doc/db4/api_c/env_set_lk_max_locks.html
-share/doc/db4/api_c/env_set_lk_max_objects.html
-share/doc/db4/api_c/env_set_lk_partitions.html
-share/doc/db4/api_c/env_set_mp_mmapsize.html
-share/doc/db4/api_c/env_set_msgcall.html
-share/doc/db4/api_c/env_set_msgfile.html
-share/doc/db4/api_c/env_set_rpc_server.html
-share/doc/db4/api_c/env_set_shm_key.html
-share/doc/db4/api_c/env_set_thread_count.html
-share/doc/db4/api_c/env_set_thread_id.html
-share/doc/db4/api_c/env_set_thread_id_string.html
-share/doc/db4/api_c/env_set_timeout.html
-share/doc/db4/api_c/env_set_tmp_dir.html
-share/doc/db4/api_c/env_set_tx_max.html
-share/doc/db4/api_c/env_set_tx_timestamp.html
-share/doc/db4/api_c/env_set_verbose.html
-share/doc/db4/api_c/env_stat.html
-share/doc/db4/api_c/env_strerror.html
-share/doc/db4/api_c/env_version.html
-share/doc/db4/api_c/frame.html
-share/doc/db4/api_c/hsearch.html
-share/doc/db4/api_c/lock_class.html
-share/doc/db4/api_c/lock_detect.html
-share/doc/db4/api_c/lock_get.html
-share/doc/db4/api_c/lock_id.html
-share/doc/db4/api_c/lock_id_free.html
-share/doc/db4/api_c/lock_list.html
-share/doc/db4/api_c/lock_put.html
-share/doc/db4/api_c/lock_stat.html
-share/doc/db4/api_c/lock_vec.html
-share/doc/db4/api_c/log_archive.html
-share/doc/db4/api_c/log_compare.html
-share/doc/db4/api_c/log_cursor.html
-share/doc/db4/api_c/log_file.html
-share/doc/db4/api_c/log_flush.html
-share/doc/db4/api_c/log_list.html
-share/doc/db4/api_c/log_printf.html
-share/doc/db4/api_c/log_put.html
-share/doc/db4/api_c/log_stat.html
-share/doc/db4/api_c/logc_class.html
-share/doc/db4/api_c/logc_close.html
-share/doc/db4/api_c/logc_get.html
-share/doc/db4/api_c/lsn_class.html
-share/doc/db4/api_c/memp_fclose.html
-share/doc/db4/api_c/memp_fcreate.html
-share/doc/db4/api_c/memp_fget.html
-share/doc/db4/api_c/memp_fopen.html
-share/doc/db4/api_c/memp_fput.html
-share/doc/db4/api_c/memp_fsync.html
-share/doc/db4/api_c/memp_list.html
-share/doc/db4/api_c/memp_maxwrite.html
-share/doc/db4/api_c/memp_openfd.html
-share/doc/db4/api_c/memp_register.html
-share/doc/db4/api_c/memp_set_clear_len.html
-share/doc/db4/api_c/memp_set_fileid.html
-share/doc/db4/api_c/memp_set_flags.html
-share/doc/db4/api_c/memp_set_ftype.html
-share/doc/db4/api_c/memp_set_lsn_offset.html
-share/doc/db4/api_c/memp_set_maxsize.html
-share/doc/db4/api_c/memp_set_pgcookie.html
-share/doc/db4/api_c/memp_set_priority.html
-share/doc/db4/api_c/memp_stat.html
-share/doc/db4/api_c/memp_sync.html
-share/doc/db4/api_c/memp_trickle.html
-share/doc/db4/api_c/mempfile_class.html
-share/doc/db4/api_c/mutex_alloc.html
-share/doc/db4/api_c/mutex_free.html
-share/doc/db4/api_c/mutex_list.html
-share/doc/db4/api_c/mutex_lock.html
-share/doc/db4/api_c/mutex_set_align.html
-share/doc/db4/api_c/mutex_set_max.html
-share/doc/db4/api_c/mutex_set_tas_spins.html
-share/doc/db4/api_c/mutex_stat.html
-share/doc/db4/api_c/mutex_unlock.html
-share/doc/db4/api_c/object.html
-share/doc/db4/api_c/pindex.src
-share/doc/db4/api_c/rep_clockskew.html
-share/doc/db4/api_c/rep_config.html
-share/doc/db4/api_c/rep_elect.html
-share/doc/db4/api_c/rep_limit.html
-share/doc/db4/api_c/rep_list.html
-share/doc/db4/api_c/rep_message.html
-share/doc/db4/api_c/rep_nsites.html
-share/doc/db4/api_c/rep_priority.html
-share/doc/db4/api_c/rep_request.html
-share/doc/db4/api_c/rep_start.html
-share/doc/db4/api_c/rep_stat.html
-share/doc/db4/api_c/rep_sync.html
-share/doc/db4/api_c/rep_timeout.html
-share/doc/db4/api_c/rep_transport.html
-share/doc/db4/api_c/repmgr_ack_policy.html
-share/doc/db4/api_c/repmgr_local_site.html
-share/doc/db4/api_c/repmgr_remote_site.html
-share/doc/db4/api_c/repmgr_site_list.html
-share/doc/db4/api_c/repmgr_start.html
Home |
Main Index |
Thread Index |
Old Index