summaryrefslogtreecommitdiff
path: root/databases/db4
AgeCommit message (Collapse)AuthorFilesLines
2005-01-25Interix needs -lrpclib.tv1-1/+2
2005-01-17some older versions of SGI don't define "sgi", but both older and newerjschauma2-1/+15
versions define "__sgi", so use that. This should fix PR pkg/28819.
2005-01-05On Solaris link with -lrt or fdatasync is an unresolved symbol.markd1-3/+3
Bump PKGREVISION.
2005-01-05Updated db4 to 4.3.27martti5-89/+33
* bug fixes
2004-12-30Use the -pthread option only when pthread is enabled. Previously, theminskim3-5/+15
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-27Update databases/db4 to 4.3.21. Changes from version 4.2.25 include:jlam8-1240/+1395
* 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-11-17Further refinement... if we're using GCC, ignore any -lpthread found onjlam1-2/+4
the system as we don't need it.
2004-11-17Amend the previous commit... we also only care about pthreads if we'rejlam2-5/+14
non-GCC. DB4 uses its own code if we're using GCC instead of 1003.1 mutexes. Ride the previous PKGREVISION bump.
2004-11-17DB4 only want pthreads because it's really after POSIX 1003.1jlam2-4/+9
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-17x86_64 supports the same test-and-set method as x86, so use it insteadjlam2-8/+17
of relying on UNIX/fnctl, which can block all threads between processes and cause certain mutex assumptions to fail.
2004-11-17Include bsd.prefs.mk before testing the value of USE_JAVA, and movejlam1-2/+5
pthread.buildlink3.mk higher before any target definitions to follow package Makefile standards.
2004-11-16Migrate powerpc hack to hacks.mk to simplify core logic in Makefile.jlam2-23/+30
2004-11-15Rework the Berkeley DB detection in buildlink3:jlam1-7/+5
* 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-15libdb4.so links with -lpthread, so include pthread.buildlink3.mk.jlam1-1/+3
2004-11-10Use the distribution patches (patch.4.2.52.{1,2}) directly fromjlam8-60/+26
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-05fix config.{guess,sub} override.grant1-1/+3
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-3/+4
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-09-23The mechanical PLIST changes were a bit too aggressive - restore someagc1-1/+7
files and symlinks mistakenly removed.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-13/+1
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-08-28Use the new BUILDLINK_TRANSFORM commands to more precisely state thejlam1-3/+3
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-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-2/+2
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-07-10provide BUILDLINK_CPPFLAGS, LDFLAGS and LIBS for each pkgsrc dbgrant1-1/+4
implementation.
2004-07-07Set BUILDLINK_LIBDIRS.db?, as mail/exim expects.wiz1-1/+2
2004-07-01Add two patches from Sleepycat:recht4-3/+43
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-01Unused.wiz1-24/+0
2004-06-28Move the HTML documentation into ${PREFIX}/share/doc/html. Bump thejlam4-1178/+1178
PKGREVISION due to user-visible difference.
2004-06-17link libdb4 against libnsl on Solaris so programs that use it cangrant1-2/+6
resolve all symbols. bump PKGREVISION. fixes PR pkg/24720.
2004-06-17whitespace nitgrant1-2/+2
2004-04-07When -lpthread is used, link the db4 library against it, so that programsjmmv3-8/+17
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-03-30Always pass the location of the db[34] headers since we install them in ajlam1-4/+5
non-standard location. Also match the new USE_DB185 behaviour where it defaults to "yes".
2004-03-22Transform -ldb-[34] to -ldb[34], respectively, as they're the better knownjlam1-1/+2
names for the newer Sleepycat DB libraries.
2004-03-20Re-fix this on 1.6 sparc64.snj1-3/+2
2004-03-18Rewrite comment so that it doesn't cause errors in make.jlam1-3/+5
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-8/+9
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-14Pre-3.3 GCC has an optimization bug on powerpc that's tickled by the db4jlam1-1/+23
source code, so remove optimization flags in that case. This fixes PR 23737 by John Klos.
2004-03-12Build databases/db4 with the DB-1.85 compatability layer and bump thejlam3-7/+11
PKGREVISION. This allows using db4 as BDB_DEFAULT for packages that USE_DB185.
2004-03-12s/db3/db4/jlam1-2/+2
2004-03-10bdb.buildlink3.mk is used to select a Berkeley DB implementation forjlam1-2/+7
use by pkgsrc. It will automatically depend on either db, db3, or db4 if the native one isn't sufficient. The two variables that control its behaviour are: BDB_DEFAULT is a user-settable variable whose value is the default Berkeley DB implementation to use. BDB_ACCEPTED is a package-settable list of Berkeley DB implementations that may be used by the package. E.g., if you always want to use DB4 as the Berkeley DB for all of the packages, then you can just set: BDB_DEFAULT= db4 in your /etc/mk.conf. Packages that currently include db*/buildlink3.mk should be made to include bdb.buildlink3.mk instead.
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-2/+4
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-2/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-10The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mkjlam1-2/+2
and any pre-existing buildlink2.mk files.
2004-02-02These packages need a C++ compiler.jlam1-2/+2
2004-01-24Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. Injlam1-2/+2
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-05bl3ifyjlam1-4/+6
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-04Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead ofjlam1-2/+2
BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> where we're adding search directories. Using the former should do the right thing for pkgviews if we do binary package upgrades of dependencies by inserting the right default view directories into the search path as well.
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-10/+7
2004-01-03Initial sprinkling of work-in-progress buildlink3.mk files for using thejlam1-0/+20
buildlink3 framework.
2003-12-21Export some missed libraries and hide obsolete headers for Buildlink2.uebayasi1-3/+3
Min Sik Kim in PR pkg/23818.