Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/db6 db6: Update to 6.2.32
details: https://anonhg.NetBSD.org/pkgsrc/rev/5401ee1a3e5f
branches: trunk
changeset: 434996:5401ee1a3e5f
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Mon Jun 29 13:24:54 2020 +0000
description:
db6: Update to 6.2.32
* Suggested by Jesus Cea.
* Remove patch for FreeBSD 10 or later.
Changelog:
Changes between version 12.1.6.2.23 and version 12.1.6.2.32
Modified the ex_rep_base example to accept IPv6 addresses.
[#24371]
Fixed a bug where SQL authentication APIs might raise assertion
failures. [#24598]
The SQLite user authentication extension now always requires
encryption. To build with the authentication extension, encryption
must be enabled. Otherwise, it results in a compiler error. To
convert a database to require authentication, the database must
be encrypted. sqlite3_user_authenticate() now always returns
SQLITE_AUTH if called on a database that does not require
authentication. [#24598]
Fixed a bug where an application might hang because it could
not obtain a TAS lock when running Linux on Sparc architecture.
[#24805]
Added tests memp009 and mut004. [#24974]
When the number of free mutexes is low, removed databases and
closed unnamed in-memory databases are purged from the memory
pool to free mutexes. [#24974]
Fixed a bug where built-in atomic functions are used only when
--enable-cxx is specified. [#24974]
Fixed a possible crash when using the Java API and slices.
[#24988]
Added cross-compile support for detecting built-in atomic
functions. [#25055]
Fixed undefined symbol errors for configurations including
--enable-dtrace and -enable-perfmon_statistics when replication
is also enabled. [#25061]
Added the db_convert utility program which converts the byte
order of all databases in database files. [#25086]
Increased the number of instances in which failchk can successfully
clean the environment without requiring full recovery after a
thread crashes while using Berkeley DB. [#25087]
Added DPL APIs to BDB Java client driver. [#25089]
Attempting to open an environment while it is being recovered
now returns a new error message, which includes the time.
[#25204]
Improved db_verify's handling of corrupted database files.
[#25239]
Adjusted configure scripts to handle FreeBSD 10 or greater.
[#25251]
Fixed a bug where setting the absolute path of a file on Windows
could result in the file being created on the wrong disk.
[#25284]
Syncing a database with external files will now also sync the
meta database associated with the external files. [#25284]
Add support for -with-mutex=BSD/OSSpinLockTry, to avoid using
the undocumented spin_lock_try function, which is not permitted
on iOS. [#25342]
Fixed a bug preventing some changes to external files performed
through the DB_STREAM API from replicating to the clients.
[#25432]
Fixed a bug where automatic log removal did not work on Windows
Mobile 6.5. [#25449]
Fixed bugs where printed statistics might contain "unknown"
flags. [#25461]
Fixed a bug where hot backup of queue extent files did not
follow the original directory structure. [#25545]
Fixed a bug where ADO .Net package had debug pre-processors
for release configurations. [#25549]
Added PRAGMA statistics, which prints out statistics about the
database and its environment. [#25550]
Added PRAGMA statistics_files, which redirects output from the
statistics PRAGMA to a file. [#25550]
Internal Berkeley DB messages are now redirected to the same
file where internal Berkeley DB error messages are redirected.
[#25568]
Fixed a bug that could cause a client undergoing internal
initialization to fail to request all the necessary logs for
a correct recovery. The major symptom of this bug was that some
client database files were left with empty pages that would
later cause log sequence errors or other failures. [#25624]
Added a new field in the per-thread statistics output: the
number of locked mutexes. [#25690]
The -c option of db_hotbackup can now work with replication
manager applications. The -c option cannot be used with base
replication applications. [#25702]
Fixed a bug where the configure script may fail to find the
JNI include directories on Mac OS X. [#25713]
Fixed a bug where mutexes could not be acquired on arm64-v8a
Android systems. [#25752]
Fixed a bug where the JAVACFLAGS environment variable was not
passed to the JDBC driver. [#25752]
Fixed a bug where clients in the replication group might panic
during synchronization with the master. [#25800]
Fixed possible segfaults when running db_verify with external
files. [#25920]
Added Visual Studio 2015 solution files to the SQL ADO.NET
package. [#25946]
Fixed a bug where setting initial number of lockers might cause
segfault. [#26085]
Fixed a bug where client specific log records resulted in
incorrect calculation of subsequent log offset. This would
later result in a DB panic on master. [#26090]
diffstat:
databases/db6/Makefile | 4 +-
databases/db6/PLIST | 11 ++-
databases/db6/distinfo | 16 ++--
databases/db6/patches/patch-dist_aclocal_libtool.m4 | 40 -----------
databases/db6/patches/patch-dist_configure | 72 ++------------------
databases/db6/patches/patch-dist_s__thrift | 15 ++++
databases/db6/patches/patch-src_dbinc_atomic.h | 14 ++--
7 files changed, 48 insertions(+), 124 deletions(-)
diffs (truncated from 340 to 300 lines):
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/Makefile
--- a/databases/db6/Makefile Mon Jun 29 13:24:14 2020 +0000
+++ b/databases/db6/Makefile Mon Jun 29 13:24:54 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/07/10 10:37:13 nia Exp $
+# $NetBSD: Makefile,v 1.6 2020/06/29 13:24:54 ryoon Exp $
#
# NOTE:
# When updating this package, a change in the minor (6.n -> 6.(n+1))
@@ -6,7 +6,7 @@
# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
# In particular, take care to include BDB_ACCEPTED=db6 packages.
-DISTNAME= db-6.2.23
+DISTNAME= db-6.2.32
PKGNAME= ${DISTNAME:S/db/db6/}
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/PLIST
--- a/databases/db6/PLIST Mon Jun 29 13:24:14 2020 +0000
+++ b/databases/db6/PLIST Mon Jun 29 13:24:54 2020 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2017/01/26 11:03:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/06/29 13:24:54 ryoon Exp $
bin/db6_archive
bin/db6_checkpoint
+bin/db6_convert
bin/db6_deadlock
bin/db6_dump
bin/db6_hotbackup
@@ -45,6 +46,7 @@
share/doc/db6/api_reference/C/db_archive.html
share/doc/db6/api_reference/C/db_channel.html
share/doc/db6/api_reference/C/db_checkpoint.html
+share/doc/db6/api_reference/C/db_convert.html
share/doc/db6/api_reference/C/db_copy.html
share/doc/db6/api_reference/C/db_deadlock.html
share/doc/db6/api_reference/C/db_dump.html
@@ -542,6 +544,7 @@
share/doc/db6/api_reference/CXX/db_archive.html
share/doc/db6/api_reference/CXX/db_channel.html
share/doc/db6/api_reference/CXX/db_checkpoint.html
+share/doc/db6/api_reference/CXX/db_convert.html
share/doc/db6/api_reference/CXX/db_copy.html
share/doc/db6/api_reference/CXX/db_deadlock.html
share/doc/db6/api_reference/CXX/db_dump.html
@@ -4361,7 +4364,6 @@
share/doc/db6/gsg_txn/C/nodurabletxn.html
share/doc/db6/gsg_txn/C/perftune-intro.html
share/doc/db6/gsg_txn/C/preface.html
-share/doc/db6/gsg_txn/C/readblock-pdf.jpg
share/doc/db6/gsg_txn/C/readblock.jpg
share/doc/db6/gsg_txn/C/readmodifywrite.html
share/doc/db6/gsg_txn/C/recovery-intro.html
@@ -4369,6 +4371,7 @@
share/doc/db6/gsg_txn/C/reversesplit.html
share/doc/db6/gsg_txn/C/rwlocks1-pdf.jpg
share/doc/db6/gsg_txn/C/rwlocks1.jpg
+share/doc/db6/gsg_txn/C/simplelock-pdf.jpg
share/doc/db6/gsg_txn/C/simplelock.jpg
share/doc/db6/gsg_txn/C/sysfailure.html
share/doc/db6/gsg_txn/C/txn_ccursor.html
@@ -4408,7 +4411,6 @@
share/doc/db6/gsg_txn/CXX/nodurabletxn.html
share/doc/db6/gsg_txn/CXX/perftune-intro.html
share/doc/db6/gsg_txn/CXX/preface.html
-share/doc/db6/gsg_txn/CXX/readblock-pdf.jpg
share/doc/db6/gsg_txn/CXX/readblock.jpg
share/doc/db6/gsg_txn/CXX/readmodifywrite.html
share/doc/db6/gsg_txn/CXX/recovery-intro.html
@@ -4416,6 +4418,7 @@
share/doc/db6/gsg_txn/CXX/reversesplit.html
share/doc/db6/gsg_txn/CXX/rwlocks1-pdf.jpg
share/doc/db6/gsg_txn/CXX/rwlocks1.jpg
+share/doc/db6/gsg_txn/CXX/simplelock-pdf.jpg
share/doc/db6/gsg_txn/CXX/simplelock.jpg
share/doc/db6/gsg_txn/CXX/sysfailure.html
share/doc/db6/gsg_txn/CXX/txn_ccursor.html
@@ -4455,7 +4458,6 @@
share/doc/db6/gsg_txn/JAVA/nodurabletxn.html
share/doc/db6/gsg_txn/JAVA/perftune-intro.html
share/doc/db6/gsg_txn/JAVA/preface.html
-share/doc/db6/gsg_txn/JAVA/readblock-pdf.jpg
share/doc/db6/gsg_txn/JAVA/readblock.jpg
share/doc/db6/gsg_txn/JAVA/readmodifywrite.html
share/doc/db6/gsg_txn/JAVA/recovery-intro.html
@@ -4463,6 +4465,7 @@
share/doc/db6/gsg_txn/JAVA/reversesplit.html
share/doc/db6/gsg_txn/JAVA/rwlocks1-pdf.jpg
share/doc/db6/gsg_txn/JAVA/rwlocks1.jpg
+share/doc/db6/gsg_txn/JAVA/simplelock-pdf.jpg
share/doc/db6/gsg_txn/JAVA/simplelock.jpg
share/doc/db6/gsg_txn/JAVA/sysfailure.html
share/doc/db6/gsg_txn/JAVA/txn_ccursor.html
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/distinfo
--- a/databases/db6/distinfo Mon Jun 29 13:24:14 2020 +0000
+++ b/databases/db6/distinfo Mon Jun 29 13:24:54 2020 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.8 2017/01/26 11:03:17 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/06/29 13:24:54 ryoon Exp $
-SHA1 (db-6.2.23.tar.gz) = 646c57b99799dc300207976e2270cdaca1a2f198
-RMD160 (db-6.2.23.tar.gz) = 20beb699e72e08734c1631c993851e5010e644d4
-SHA512 (db-6.2.23.tar.gz) = 0aac380673ff4f97a2a6230f135f8151b8d2896a12710f708cd983b5fb95075b55fc2c67af577365e8ec7a32e43357a4f3118e37713d00b227f05eb11b1d12f5
-Size (db-6.2.23.tar.gz) = 44305964 bytes
+SHA1 (db-6.2.32.tar.gz) = 51824cee0a59cdcfb11413ac4558c851dda24551
+RMD160 (db-6.2.32.tar.gz) = 6a3bc6562aea20184f8ee60800461dca31b50c4f
+SHA512 (db-6.2.32.tar.gz) = 83bdbf18a7b9782409cf4563f8d5f11322d5e564a39946c890604a60440a6ea6361e0236bbc30bd4e8e1de1fa9196b8e815fd126baa035f55c5826c2c6aa3401
+Size (db-6.2.32.tar.gz) = 45342417 bytes
SHA1 (patch-dist_Makefile.in) = d4e65068c341b5f3a6053e6bc87bd2731270e7d7
-SHA1 (patch-dist_aclocal_libtool.m4) = 37367e10d9d856cf233b7a0efd3680f35728039e
-SHA1 (patch-dist_configure) = 9e08277448cddfe60e85e8f32ef9d1e3e002df0e
-SHA1 (patch-src_dbinc_atomic.h) = 544c5c65b66fe57455a458328aa44a0e9282c6dd
+SHA1 (patch-dist_configure) = 723c5e90e16e54ddd0be87b920fe57fddbee8e80
+SHA1 (patch-dist_s__thrift) = 83da14f3f2732d842321cdec03dc8485ee372737
+SHA1 (patch-src_dbinc_atomic.h) = 4eec1a15920051e269ee10dbe5ae43fe97b656ab
SHA1 (patch-src_dbinc_db.in) = 78579e81cb682b60a4306c752e04472b7f0d8d5a
SHA1 (patch-src_hmac_sha1.c) = 0e98e6383c214adbb939839bb345e55efe8d89da
SHA1 (patch-src_mp_mp__fget.c) = 059ecdb74bef29c17b445c305b6d4934b5a3c59b
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/patches/patch-dist_aclocal_libtool.m4
--- a/databases/db6/patches/patch-dist_aclocal_libtool.m4 Mon Jun 29 13:24:14 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-dist_aclocal_libtool.m4,v 1.1 2015/01/01 18:52:52 ryoon Exp $
-
---- dist/aclocal/libtool.m4.orig 2014-06-10 15:32:54.000000000 +0000
-+++ dist/aclocal/libtool.m4
-@@ -2406,7 +2406,7 @@ dgux*)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
--freebsd1*)
-+freebsd1|freebsd1.*)
- dynamic_linker=no
- ;;
-
-@@ -2417,7 +2417,7 @@ freebsd* | dragonfly*)
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
-- freebsd[[123]]*) objformat=aout ;;
-+ freebsd[[123]]|freebsd[[123]].*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
-@@ -5110,7 +5110,7 @@ _LT_EOF
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
- ;;
-
-- freebsd1*)
-+ freebsd1|freebsd1.*)
- _LT_TAGVAR(ld_shlibs, $1)=no
- ;;
-
-@@ -6137,7 +6137,7 @@ if test "$_lt_caught_CXX_error" != yes;
- esac
- ;;
-
-- freebsd[[12]]*)
-+ freebsd[[12]]|freebsd[[12]].*)
- # C++ shared libraries reported to be fairly broken before
- # switch to ELF
- _LT_TAGVAR(ld_shlibs, $1)=no
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/patches/patch-dist_configure
--- a/databases/db6/patches/patch-dist_configure Mon Jun 29 13:24:14 2020 +0000
+++ b/databases/db6/patches/patch-dist_configure Mon Jun 29 13:24:54 2020 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-dist_configure,v 1.4 2017/01/26 11:03:17 adam Exp $
+$NetBSD: patch-dist_configure,v 1.5 2020/06/29 13:24:55 ryoon Exp $
Toolchains differ whether __aarch64__ or __arm64__ should be defined.
Portability fix.
---- dist/configure.orig 2016-03-28 19:45:49.000000000 +0000
+--- dist/configure.orig 2017-04-13 14:06:13.000000000 +0000
+++ dist/configure
-@@ -5318,7 +5318,7 @@ bsdi3*) CC=${CC-"shlicc2"}
+@@ -5276,7 +5276,7 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
cygwin*)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_REENTRANT";;
@@ -14,7 +14,7 @@
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread";;
gnu*|k*bsd*-gnu|linux*)
-@@ -7112,7 +7112,7 @@ fi
+@@ -7070,7 +7070,7 @@ fi
# we're using.
case "$host_os" in
sysv5UnixWare*|sysv5OpenUNIX8*)
@@ -23,61 +23,7 @@
CPPFLAGS="$CPPFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
else
-@@ -12434,7 +12434,7 @@ fi
- hardcode_shlibpath_var=no
- ;;
-
-- freebsd1*)
-+ freebsd1*|freebsd1.*)
- ld_shlibs=no
- ;;
-
-@@ -13428,7 +13428,7 @@ dgux*)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
--freebsd1*)
-+freebsd1*|freebsd1.*)
- dynamic_linker=no
- ;;
-
-@@ -13439,7 +13439,7 @@ freebsd* | dragonfly*)
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
-- freebsd[123]*) objformat=aout ;;
-+ freebsd[123]*|freebsd[123].*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
-@@ -15397,7 +15397,7 @@ fi
- esac
- ;;
-
-- freebsd[12]*)
-+ freebsd[12]*|freebsd[12].*)
- # C++ shared libraries reported to be fairly broken before
- # switch to ELF
- ld_shlibs_CXX=no
-@@ -17261,7 +17261,7 @@ dgux*)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
-
--freebsd1*)
-+freebsd1*|freebsd1.*)
- dynamic_linker=no
- ;;
-
-@@ -17272,7 +17272,7 @@ freebsd* | dragonfly*)
- objformat=`/usr/bin/objformat`
- else
- case $host_os in
-- freebsd[123]*) objformat=aout ;;
-+ freebsd[123]*|freebsd[123].*) objformat=aout ;;
- *) objformat=elf ;;
- esac
- fi
-@@ -17919,7 +17919,7 @@ LIBTOOL="./libtool"
+@@ -17877,7 +17877,7 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
@@ -86,7 +32,7 @@
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
-@@ -18663,6 +18663,7 @@ if test "$_JTOPDIR" != "/usr"; then
+@@ -18617,6 +18617,7 @@ if test "$_JTOPDIR" != "/usr"; then
bsdi*) _JNI_INC_SUBDIRS="bsdos";;
cygwin*) _JNI_INC_SUBDIRS="win32";;
darwin*) _JNI_INC_SUBDIRS="darwin";;
@@ -94,7 +40,7 @@
freebsd*) _JNI_INC_SUBDIRS="freebsd";;
hp*) _JNI_INC_SUBDIRS="hp-ux";;
linux*) _JNI_INC_SUBDIRS="linux genunix";;
-@@ -20531,7 +20532,7 @@ else
+@@ -20485,7 +20486,7 @@ else
fi
@@ -103,7 +49,7 @@
db_off_t_max_decl="#define DB_OFF_T_MAX INT32_MAX"
else
db_off_t_max_decl="#define DB_OFF_T_MAX INT64_MAX"
-@@ -20866,7 +20867,7 @@ if test "$db_cv_mutex" = no; then
+@@ -20820,7 +20821,7 @@ if test "$db_cv_mutex" = no; then
# avoid these probes for multiprocess pthreads.
;;
*)
@@ -112,7 +58,7 @@
LIBS="$LIBS -lpthread"
if test "$cross_compiling" = yes; then :
-@@ -22106,7 +22107,7 @@ int
+@@ -22087,7 +22088,7 @@ int
main ()
{
diff -r 2a49149e378f -r 5401ee1a3e5f databases/db6/patches/patch-dist_s__thrift
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/db6/patches/patch-dist_s__thrift Mon Jun 29 13:24:54 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-dist_s__thrift,v 1.1 2020/06/29 13:24:55 ryoon Exp $
+
+* Fix POSIX shell portability issue.
+
+--- dist/s_thrift.orig 2017-04-13 14:06:13.000000000 +0000
++++ dist/s_thrift
+@@ -93,7 +93,7 @@ build_jar()
Home |
Main Index |
Thread Index |
Old Index