Heads up for users of the bdb (BerkeleyDB) FLAVOR of OpenLDAP.
(note that users of the normal unFLAVORed version are unaffected).
OpenLDAP 2.3 segfaults with current versions of Berkeley DB; this
is because DB made an incompatible change to an API partway through
a release version.
OpenLDAP 2.4 works with the newer DB version, but is not yet marked
stable, so we aren't moving the port to 2.4 yet.
To avoid breaking a working setup for users upgrading from packages,
the bdb FLAVOR is disabled for now. If you're an existing user of the
bdb FLAVOR from packages you have two choices:
1. Do nothing: pkg_add -u will leave your existing installation alone,
but OpenLDAP won't be upgraded.
2. Dump the database (slapcat), pkg_delete/pkg_add to move to the
unFLAVORed version, and restore (slapadd).
Again: this *only* affects users of the bdb flavor.
The normal version is unaffected and upgrades will work normally.
----- Forwarded message from Stuart Henderson <[EMAIL PROTECTED]> -----
From: Stuart Henderson <[EMAIL PROTECTED]>
Date: Fri, 15 Feb 2008 05:34:20 -0700 (MST)
To: [EMAIL PROTECTED]
Subject: CVS: cvs.openbsd.org: ports
CVSROOT: /cvs
Module name: ports
Changes by: [EMAIL PROTECTED] 2008/02/15 05:34:20
Modified files:
databases : Makefile
databases/openldap: Makefile
Log message:
OpenLDAP 2.3 segfaults with DB >= 4.6.3 due to an API change.
After discussions with a few people and testing of how upgrades will
be handled, mark this FLAVOR as broken so existing -bdb users don't
break their installation with pkg_add -u. Those wishing to upgrade
must dump their database, remove the openldap-*-bdb package, then
they are free to install the new unFLAVORed version and restore
the database.
This can be revisited after release, hopefully OpenLDAP 2.4 (which
requires newer DB) will be stable by then.
ok mbalmer (MAINTAINER)
----- End forwarded message -----