Commit graph

87 commits

Author SHA1 Message Date
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
5ade59fdaf DESTDIR support. 2006-11-05 17:42:30 +00:00
obache
5623a75c85 Add two official patches. Bump pkgrevision.
3. Fix a bug where cursor lookups on secondary databases with off-page
   duplicates could fail. [#14240]
4. Fix a bug where cache buffer retrieval could race with a checkpoint call,
   potentially causing database environment recovery to fail. [#14657]
2006-10-20 13:00:35 +00:00
obache
8fe838ec6b Berkeley DB now on Oracle. 2006-10-20 12:32:07 +00:00
rillig
07a9c07ce2 Fixed a "test ==" in the configure script. Fixed some pkglint warnings. 2006-10-05 01:24:32 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
743a9d4fea Load the files bsd.prefs.mk and compiler.mk only once. 2006-05-31 10:13:23 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
minskim
0b0d3de25a Set DIST_SUBDIR due to the distfile change (.java files were removed). 2006-02-09 22:07:12 +00:00
wiz
4892cc8c94 Update to 4.4.20:
Changes since Berkeley DB 4.4.16:

1. Add support for Visual Studio 2005. [#13521]

2. Fix a bug with in-memory transaction logs when files wrapped
around the buffer. [#13589]

3. Fix a bug where we needed to close replication's open files during
replication initialization. [#13623]

4. Fix a bug which could leave locks in the environment if database
compaction was run in a transactional environment on a non-transactional
database. This might have also have triggered deadlocks if the database
was opened transactionally. [#13680]

5. Fix a bug where setting the DB_REGISTER flag could result in
unnecessarily running recovery, or corruption of the registry file on
Windows systems. [#13789]

6. Fix a bug in Database.compact that could cause JVM crashes or
NullPointerException. [#13791]

7. Fix a bug that would cause a trap if an environment was opened
specifying DB_REGISTER and the environment directory could not be found.
[#13793]

8. Fix a buffer overflow bug when displaying process and thread IDs
in the Berkeley DB statistics output. [#13796]

9. Fix a bug where if there is insufficient memory for a database key
in a DBT configured to return a key value into user-specified memory, the
cursor is moved forward to the next entry in the database, which can cause
applications to skip key/data pairs. [#13815]

10. Fix a bug that could cause the loss of an update to a QUEUE database
in a hot backup. [#13823]

11. Fix a bug where retrieval from a secondary index could result in a
core dump. [#13843]

12. Fix a bug that could cause part of the free list to become unlinked
if a btree compaction was rolled back due to a transaction abort. [#13891]

13. Fix a bug with in-memory logging that could cause a race condition to
corrupt the logs. [#13919]

[no shlib major bump this time, yay]
2006-02-05 00:12:54 +00:00
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