dc1d695ff3
* Added support for verifying named in-memory dbs. * Added an integer key comparison function to improve performance through the SQL API. * Support build on the platforms where pthread_t is a struct. * Added an API call so the user can specify the size of the region in a heap db. * Improved Replication Manager's ability to recover from the (perhaps rare) phenomenon of two sites trying to connect to each other simultaneously, which used to result in loss of both connections, requiring a retry after the CONNECTION_RETRY timeout period. * Enhanced the interface for copying databases for a hot backup. Added configure support for --enable-atomicfileread. * Enhaced the log reading routine to detect that a log file is missing rather than returning that a zero length record was found. * Added pragma bdbsql_shared_resources to set or report the maximum amount of memory to be used by shared structures in the main environment region and bdbsql_lock_tablesize to set or report the number of buckets in the lock object hash table. These are advanced tuning features for applications with large number of tables or needs to reduce locking on concurrent long running transactions. * Added set_metadata_dir() and get_metadata_dir() to enable storage of persistent metadata files in a location other than the environment home directory. * Improved the error handling through the SQL API. Errors can be sent to a file with the use of the BDBSQL_ERROR_FILE pragma. * Database handles can now be configured to give exclusive access to the database. * XA transactions will now use transaction snapshots if the XA databases they operate on were configured with DB_MULTIVERSION. * Added additional stats fields into the C# API * Added pragma bdbsql_single_process to keep the Berkeley DB environment information on the heap instead of in shared memory. This option cannot be used if the database is accessed from multiple processes. * Improved the ability of DB->compact to move DB_HASH database pages to the begining of the file.
102 lines
3.6 KiB
Text
102 lines
3.6 KiB
Text
$NetBSD: patch-aa,v 1.4 2012/01/18 13:46:50 adam Exp $
|
|
|
|
--- dist/Makefile.in.orig 2011-12-20 01:00:49.000000000 +0000
|
|
+++ dist/Makefile.in
|
|
@@ -17,7 +17,7 @@ exec_prefix=@exec_prefix@
|
|
bindir= @bindir@
|
|
includedir=@includedir@
|
|
libdir= @libdir@
|
|
-docdir= $(prefix)/docs
|
|
+docdir= $(prefix)/share/doc/db5
|
|
|
|
dmode= 755
|
|
emode= 555
|
|
@@ -54,7 +54,7 @@ INSTALLER= @INSTALLER@
|
|
LIBTOOL= @LIBTOOL@
|
|
|
|
POSTLINK= @POSTLINK@
|
|
-SOLINK= @MAKEFILE_SOLINK@ @CFLAGS@
|
|
+SOLINK= @MAKEFILE_SOLINK@ -version-info @DB_VERSION_MINOR@:@DB_VERSION_PATCH@ @CFLAGS@
|
|
SOFLAGS= @SOFLAGS@
|
|
LIBMAJOR= @DB_VERSION_MAJOR@
|
|
LIBVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
@@ -73,7 +73,7 @@ LIBS= @LIBSO_LIBS@
|
|
TEST_LIBS= @TEST_LIBS@
|
|
LIBCSO_LIBS= @LIBCSO_LIBS@ @LIBSO_LIBS@
|
|
|
|
-libdb_base= libdb
|
|
+libdb_base= libdb5
|
|
libdb= $(libdb_base).a
|
|
libdb_version= $(libdb_base)-$(LIBVERSION).a
|
|
libso= $(libdb_base)-$(LIBVERSION)@SOSUFFIX@
|
|
@@ -92,7 +92,7 @@ CXXLINK= @MAKEFILE_CXXLINK@ @CXXFLAGS@
|
|
XSOLINK= @MAKEFILE_XSOLINK@ @CXXFLAGS@
|
|
LIBXSO_LIBS= @LIBXSO_LIBS@ @LIBSO_LIBS@
|
|
|
|
-libcxx_base= libdb_cxx
|
|
+libcxx_base= libdb5_cxx
|
|
libcxx= $(libcxx_base).a
|
|
libcxx_version= $(libcxx_base)-$(LIBVERSION).a
|
|
libxso= $(libcxx_base)-$(LIBVERSION)@SOSUFFIX@
|
|
@@ -157,9 +157,9 @@ JAVA_EXDIR= $(exampledir)/java/src
|
|
JAVA_SLEEPYCAT= $(langdir)/java/src/com/sleepycat
|
|
JAVA_MANIFEST= $(langdir)/java/jarManifestEntries
|
|
|
|
-libj_jarfile= db.jar
|
|
+libj_jarfile= db5.jar
|
|
libj_exjarfile= dbexamples.jar
|
|
-libjso_base= libdb_java
|
|
+libjso_base= libdb5_java
|
|
libjso= $(libjso_base)-$(LIBVERSION)@JMODSUFFIX@
|
|
libjso_static= $(libjso_base)-$(LIBVERSION).a
|
|
libjso_target= $(libjso_base)-$(LIBVERSION).la
|
|
@@ -175,7 +175,7 @@ libjso_g= $(libjso_base)-$(LIBVERSION)_g
|
|
TCL_INCLUDE_SPEC= @TCL_INCLUDE_SPEC@
|
|
LIBTSO_LIBS= @LIBTSO_LIBS@ @LIBSO_LIBS@
|
|
TCL_SRCDIR= $(langdir)/tcl
|
|
-libtcl_base= libdb_tcl
|
|
+libtcl_base= libdb5_tcl
|
|
libtcl= $(libtcl_base).a
|
|
libtcl_version= $(libtcl_base)-$(LIBVERSION).a
|
|
libtso= $(libtcl_base)-$(LIBVERSION)@LIBTSO_MODSUFFIX@
|
|
@@ -1093,8 +1093,7 @@ install_include: $(INCDOT)
|
|
@for f in $(INCDOT); do \
|
|
basef=`echo $$f | $(SED) 's,.*/,,'` ; \
|
|
$(RM) $(DESTDIR)$(includedir)/$$basef ; \
|
|
- $(CP) -p $$f $(DESTDIR)$(includedir) ; \
|
|
- $(CHMOD) $(fmode) $(DESTDIR)$(includedir)/$$basef ; \
|
|
+ $(BSD_INSTALL_DATA) $$f $(DESTDIR)$(includedir)/$$basef ; \
|
|
done
|
|
|
|
uninstall_include:
|
|
@@ -1109,7 +1108,7 @@ install_lib:
|
|
($(MKDIR) -p $(DESTDIR)$(libdir) && \
|
|
$(CHMOD) $(dmode) $(DESTDIR)$(libdir))
|
|
@cd $(DESTDIR)$(libdir) && $(RM) $(LIB_INSTALL_FILE_LIST)
|
|
- @$(INSTALLER) @INSTALL_LIBS@ $(DESTDIR)$(libdir)
|
|
+ @libtool --mode=install $(BSD_INSTALL_LIB) @INSTALL_LIBS@ $(DESTDIR)$(libdir)
|
|
@(cd $(DESTDIR)$(libdir) && \
|
|
test -f $(libso) && $(LN) -s $(libso) $(libso_default); \
|
|
test -f $(libso) && $(LN) -s $(libso) $(libso_major); \
|
|
@@ -1140,10 +1139,8 @@ install_utilities:
|
|
@for i in $(UTIL_PROGS); do \
|
|
test -f $$i.exe && i=$$i.exe; \
|
|
e=`echo $$i | $(SED) '$(transform)'`; \
|
|
- $(RM) $(DESTDIR)$(bindir)/$$e; \
|
|
- $(INSTALLER) $$i $(DESTDIR)$(bindir)/$$e; \
|
|
- $(STRIP) $(DESTDIR)$(bindir)/$$e; \
|
|
- $(CHMOD) $(emode) $(DESTDIR)$(bindir)/$$e; \
|
|
+ target="${DESTDIR}${bindir}/$$e"; \
|
|
+ libtool --mode=install $(BSD_INSTALL_PROGRAM) $$i $$target; \
|
|
done
|
|
|
|
uninstall_utilities:
|
|
@@ -1165,7 +1162,7 @@ install_docs:
|
|
($(MKDIR) -p $(DESTDIR)$(docdir) && \
|
|
$(CHMOD) $(dmode) $(DESTDIR)$(docdir))
|
|
@cd $(DESTDIR)$(docdir) && $(RM) -r $(DOCLIST)
|
|
- @cd $(topdir)/docs && $(CP) -pr $(DOCLIST) $(DESTDIR)$(docdir)/
|
|
+ @cd $(topdir)/docs && pax -rwpp $(DOCLIST) $(DESTDIR)$(docdir)/
|
|
|
|
uninstall_docs:
|
|
@cd $(DESTDIR)$(docdir) && $(RM) -r $(DOCLIST)
|