update to OpenLDAP 2.4.35 and add some comments about mdb

This commit is contained in:
sthen 2013-04-29 14:29:56 +00:00
parent bd5bb65f0e
commit 6bbdd6ea31
5 changed files with 28 additions and 20 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.122 2013/03/21 08:45:14 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.123 2013/04/29 14:29:56 sthen Exp $
COMMENT-main = open-source LDAP software (client)
COMMENT-server = open-source LDAP software (server)
DISTNAME = openldap-2.4.33
DISTNAME = openldap-2.4.35
PKGNAME-main = ${DISTNAME:S/-/-client-/}
PKGNAME-server = ${DISTNAME:S/-/-server-/}
@ -65,11 +65,21 @@ CONFIGURE_ARGS += --enable-bdb \
--enable-meta \
--enable-monitor \
--enable-null \
--enable-overlays \
--enable-passwd \
--enable-perl \
--enable-shell \
--enable-overlays \
--disable-mdb
--enable-shell
# MDB assumes UBC; see http://www.openldap.org/pub/hyc/mdm-paper.pdf
# section 3.1, references 17, 18, and 19.
#
CONFIGURE_ARGS += --disable-mdb
#
# however, note (from Howard Chu): "This requirement can be relaxed in
# the current version of the library. If you create the environment
# with the MDB_WRITEMAP option then all reads and writes are performed
# using mmap, so the file buffer cache is irrelevant. Of course then
# you lose the protection that the read-only map offers."
.if ${FLAVOR:Maci}
CONFIGURE_ARGS += --enable-aci

View File

@ -1,2 +1,2 @@
SHA256 (openldap-2.4.33.tgz) = gensog8XpppdFevExmoyMQbaT0+AoyEFvHzeozOsoUw=
SIZE (openldap-2.4.33.tgz) = 5463850
SHA256 (openldap-2.4.35.tgz) = FhADdMFH3w2CpcUspg2l7KGl6otaGHRn1Ap442kenus=
SIZE (openldap-2.4.35.tgz) = 5486240

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-servers_slapd_Makefile_in,v 1.2 2013/01/03 11:52:29 sthen Exp $
--- servers/slapd/Makefile.in.orig Wed Oct 10 13:18:49 2012
+++ servers/slapd/Makefile.in Thu Jan 3 11:02:29 2013
@@ -441,8 +441,6 @@ install-db-config: FORCE
$OpenBSD: patch-servers_slapd_Makefile_in,v 1.3 2013/04/29 14:29:56 sthen Exp $
--- servers/slapd/Makefile.in.orig Thu Mar 28 15:41:51 2013
+++ servers/slapd/Makefile.in Sat Apr 20 17:09:44 2013
@@ -447,8 +447,6 @@ install-db-config: FORCE
@-$(MKDIR) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir)
@-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-data
$(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.2 2011/01/07 10:24:30 pea Exp $
@lib lib/liblber-2.4.so.${LIBlber-2.4_VERSION}
@lib lib/liblber.so.${LIBlber_VERSION}
@lib lib/libldap-2.4.so.${LIBldap-2.4_VERSION}
@lib lib/libldap.so.${LIBldap_VERSION}
@lib lib/libldap_r-2.4.so.${LIBldap_r-2.4_VERSION}
@lib lib/libldap_r.so.${LIBldap_r_VERSION}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.7 2012/03/09 09:48:32 pea Exp $
@comment $OpenBSD: PLIST-main,v 1.8 2013/04/29 14:29:56 sthen Exp $
@pkgpath ${BASE_PKGPATH}
bin/ldapadd
@bin bin/ldapcompare
@ -19,12 +19,18 @@ include/ldap_schema.h
include/ldap_utf8.h
include/ldif.h
include/slapi-plugin.h
@lib lib/liblber-2.4.so.${LIBlber-2.4_VERSION}
lib/liblber.a
lib/liblber.la
@lib lib/liblber.so.${LIBlber_VERSION}
@lib lib/libldap-2.4.so.${LIBldap-2.4_VERSION}
lib/libldap.a
lib/libldap.la
@lib lib/libldap.so.${LIBldap_VERSION}
@lib lib/libldap_r-2.4.so.${LIBldap_r-2.4_VERSION}
lib/libldap_r.a
lib/libldap_r.la
@lib lib/libldap_r.so.${LIBldap_r_VERSION}
@man man/man1/ldapadd.1
@man man/man1/ldapcompare.1
@man man/man1/ldapdelete.1
@ -226,4 +232,3 @@ share/examples/openldap/
@sample ${SYSCONFDIR}/openldap/
share/examples/openldap/ldap.conf
@sample ${SYSCONFDIR}/openldap/ldap.conf
%%SHARED%%