Commit graph

75 commits

Author SHA1 Message Date
wiz
2ebb45f403 Update to 4.4.16:
New in Berkeley DB 4.4:

  * In-memory replication
  * Client-to-client replication
  * Delayed client synchronization
  * Synchronization throttling
  * Master election speed-ups
  * Hot backup utility
  * Online Btree compaction
  * Online Btree disk space reclamation
  * Online abandoned lock removal
  * Automated recovery serialization
  * Transactional Application Developer's Guide
2006-01-06 15:08:46 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
2d36ae9b5c Now that we're properly using the pkgsrc-supplied libtool, clean up the
bits of "configure" that were twiddling only libtool-config bits, as these
are no longer used.
2005-11-09 14:41:38 +00:00
tv
78c67e1260 Use the pkgsrc-installed libtool, not the throwaway in-tree libtool, to
choose between link commands for shared or static linking.

Should fix shlib build and install on Interix.
2005-11-04 18:47:52 +00:00
jlam
3eaa754521 Update databases/db4 to 4.3.29. This is a point release update over
4.3.28, so there are no API changes, and applications may be upgraded
by relinking against db4-4.3.29.  We stop pretending to support a
"java" package option since we never even bothered with handling the
PLIST differences.  Changes from version 4.3.28 include:

   * The on-disk log format has changed.
   * Add support for lightweight, transactionally protected Sequence
     Number generation.
   * Add support for Degree 2 isolation.
   * Add election generation information to replication to support Paxos
     compliance.
   * A huge number of bug fixes, including eliminating some instances of
     application deadlock and memory leak fixes.
   * Some minor performance enhancements.
2005-10-25 06:26:48 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
reed
6f4b4e8fe9 This adds DragonFly support. (Before shared libraries were not built.)
This is from Joerg Sonnenberger's diff.

I do not know if this support has been submitted to Sleepycat
for dist/configure* yet.
2005-08-19 19:46:24 +00:00
tron
ec8dc5a2f3 Disable optimizations for GCC <3.4. This fixes PR pkg/30647 by Ian Spray. 2005-07-01 15:32:51 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
drochner
7523000033 update to 4.3.28
The Announcement:
Berkeley DB 4.3.28 is a patch release to 4.3.27, everyone is encouraged
to update to this version.  The following have been addressed in this
patch release:
1. All patches for the prior version have been applied as well
   as a few other fixes.
2. The product is available as a Windows x86 binary installer
   To see the change log for version 4.3.28, please visit:
   http://www.sleepycat.com/updat e/4.3.27/if.4.3.27.html
2005-05-10 16:24:48 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
b292ce4e37 Make build correctly on Interix -- -lrpclib is also needed in LIBS. 2005-03-14 23:30:42 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
tv
e300d1401f Interix needs -lrpclib. 2005-01-25 18:55:56 +00:00
jschauma
25b190e030 some older versions of SGI don't define "sgi", but both older and newer
versions define "__sgi", so use that.
This should fix PR pkg/28819.
2005-01-17 05:31:12 +00:00
markd
d707ab24e0 On Solaris link with -lrt or fdatasync is an unresolved symbol.
Bump PKGREVISION.
2005-01-05 12:16:12 +00:00
martti
fd15a8d857 Updated db4 to 4.3.27
* bug fixes
2005-01-05 08:06:42 +00:00
minskim
97658973a9 Use the -pthread option only when pthread is enabled. Previously, the
configure script still used -pthread during the POSIX mutex test even
when we explicitly disabled pthread through CONFIGURE_ENV, resulting
in re-enabling pthread.

Bump PKGREVISION.
2004-12-30 21:51:30 +00:00
jlam
0360ff8bd5 Update databases/db4 to 4.3.21. Changes from version 4.2.25 include:
* Automatic initialization of replication clients
* Replication election process is now Paxos compliant
* In memory transaction logs allowing in memory databases
* Enhanced Java API nearly identical to that of our Java Edition
* Native support for sequence number generation
* Degree 2 transaction isolation
* Mutex statistics can now be easily gathered and recorded
* Support for Itanium2 chips running Windows XP
2004-12-27 04:27:49 +00:00
jlam
9704ddf12c Further refinement... if we're using GCC, ignore any -lpthread found on
the system as we don't need it.
2004-11-17 21:32:10 +00:00
jlam
b818a1b4ba Amend the previous commit... we also only care about pthreads if we're
non-GCC.  DB4 uses its own code if we're using GCC instead of 1003.1
mutexes.  Ride the previous PKGREVISION bump.
2004-11-17 18:47:19 +00:00
jlam
0901a8c6c1 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.  Bump the PKGREVISION since this means that non-native pthreads
platforms will no longer depend on GNU pth.
2004-11-17 18:29:20 +00:00
jlam
26d70ae9f0 x86_64 supports the same test-and-set method as x86, so use it instead
of relying on UNIX/fnctl, which can block all threads between processes
and cause certain mutex assumptions to fail.
2004-11-17 07:10:45 +00:00
jlam
2e2379219d Include bsd.prefs.mk before testing the value of USE_JAVA, and move
pthread.buildlink3.mk higher before any target definitions to follow
package Makefile standards.
2004-11-17 06:04:43 +00:00
jlam
a37b1ba53e Migrate powerpc hack to hacks.mk to simplify core logic in Makefile. 2004-11-16 23:45:25 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
jlam
22072c185e libdb4.so links with -lpthread, so include pthread.buildlink3.mk. 2004-11-15 15:07:14 +00:00
jlam
d1266fd828 Use the distribution patches (patch.4.2.52.{1,2}) directly from
Sleepycat instead of patch-ba and patch-bb.  Since patch-ba was actually
an incomplete version of patch.4.2.52.1, we bump the PKGREVISION.
2004-11-10 15:51:23 +00:00
grant
41aa333b2d fix config.{guess,sub} override. 2004-11-05 09:24:39 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
agc
43321a5469 The mechanical PLIST changes were a bit too aggressive - restore some
files and symlinks mistakenly removed.
2004-09-23 16:55:09 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
8d572feba3 Use the new BUILDLINK_TRANSFORM commands to more precisely state the
intended transformation: use "rm" to remove an option, "rmdir" to remove
all options containing a path starting with a given directory name, and
"rename" to rename options to something else.
2004-08-28 06:05:31 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
grant
234b8d1088 provide BUILDLINK_CPPFLAGS, LDFLAGS and LIBS for each pkgsrc db
implementation.
2004-07-10 03:01:38 +00:00
wiz
087979a56f Set BUILDLINK_LIBDIRS.db?, as mail/exim expects. 2004-07-07 08:45:39 +00:00
recht
d0777e5a0b Add two patches from Sleepycat:
1. Long-running applications can hang in the Berkeley DB cache.
   http://www.sleepycat.com/update/4.2.52/patch.4.2.52.1 as patch-ba

2. Replication clients fail to lock all the necessary pages when
   applying updates if there were more than one database in the transaction.
   http://www.sleepycat.com/update/4.2.52/patch.4.2.52.2 as patch-bb

Bump PKGREVISION to 4.
2004-07-01 15:17:21 +00:00
wiz
6ef1244cbb Unused. 2004-07-01 13:45:08 +00:00
jlam
e6aa5ca27d Move the HTML documentation into ${PREFIX}/share/doc/html. Bump the
PKGREVISION due to user-visible difference.
2004-06-28 22:11:37 +00:00
grant
23ff9a540c link libdb4 against libnsl on Solaris so programs that use it can
resolve all symbols. bump PKGREVISION.

fixes PR pkg/24720.
2004-06-17 14:24:32 +00:00
grant
62251d34d3 whitespace nit 2004-06-17 13:43:06 +00:00
jmmv
eb0902cbf4 When -lpthread is used, link the db4 library against it, so that programs
using -ldb4 alone don't complain about missing symbols.  This fixes the
build of some programs (like evolution-data-server), as exposed in Linux.
2004-04-07 15:12:40 +00:00
jlam
9b22ee7e7d Always pass the location of the db[34] headers since we install them in a
non-standard location.  Also match the new USE_DB185 behaviour where it
defaults to "yes".
2004-03-30 16:19:51 +00:00
jlam
312f1fab55 Transform -ldb-[34] to -ldb[34], respectively, as they're the better known
names for the newer Sleepycat DB libraries.
2004-03-22 18:18:26 +00:00
snj
b7bdee3c2f Re-fix this on 1.6 sparc64. 2004-03-20 05:42:35 +00:00
jlam
a276256b57 Rewrite comment so that it doesn't cause errors in make. 2004-03-18 22:11:11 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
57d1d7c027 Pre-3.3 GCC has an optimization bug on powerpc that's tickled by the db4
source code, so remove optimization flags in that case.  This fixes
PR 23737 by John Klos.
2004-03-14 19:32:40 +00:00
jlam
eccb01de96 Build databases/db4 with the DB-1.85 compatability layer and bump the
PKGREVISION.  This allows using db4 as BDB_DEFAULT for packages that
USE_DB185.
2004-03-12 21:35:58 +00:00
jlam
4aec779271 s/db3/db4/ 2004-03-12 02:21:02 +00:00