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)
This commit is contained in:
sthen 2008-02-15 12:34:20 +00:00
parent 3b38acc12a
commit 82a4909879
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.130 2008/02/02 14:08:21 bernd Exp $
# $OpenBSD: Makefile,v 1.131 2008/02/15 12:34:20 sthen Exp $
# $FreeBSD: Makefile,v 1.24 1997/10/04 23:32:05 andreas Exp $
#
SUBDIR += architect
@ -27,7 +27,6 @@
SUBDIR += ocaml-postgresql
SUBDIR += ocaml-sqlite3
SUBDIR += openldap
SUBDIR += openldap,bdb
SUBDIR += p5-AsciiDB-TagFile
SUBDIR += p5-BerkeleyDB
SUBDIR += p5-Catalyst-Controller-Rose

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.82 2008/02/13 09:45:54 landry Exp $
# $OpenBSD: Makefile,v 1.83 2008/02/15 12:34:20 sthen Exp $
COMMENT-main= Open source LDAP software (client)
COMMENT-server= Open source LDAP software (server)
@ -77,6 +77,7 @@ LIB_DEPENDS+= sasl2::security/cyrus-sasl2
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.if ${FLAVOR:L:Mbdb}
BROKEN= OpenLDAP 2.3 is incompatible with Berkeley DB 4.6
CONFIGURE_ARGS+= --enable-bdb --enable-hdb
LIB_DEPENDS+= lib/db4/db.>=4:db-4.*:databases/db/v4
CPPFLAGS+= -I${LOCALBASE}/include/db4