Update OpenLDAP to 2.4.24.

Unfortunately this version requires a shared library version bump again.
This commit is contained in:
Xin LI 2011-02-24 21:50:08 +00:00
parent 908e96cabe
commit ca858ffb67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269601
8 changed files with 62 additions and 44 deletions

View file

@ -35,7 +35,7 @@ Database_Include_MAINTAINER= ports@FreeBSD.org
DEFAULT_OPENLDAP_VER?= 24 DEFAULT_OPENLDAP_VER?= 24
# OpenLDAP client versions currently supported # OpenLDAP client versions currently supported
OPENLDAP23_LIBVER= 2.3.2 OPENLDAP23_LIBVER= 2.3.2
OPENLDAP24_LIBVER= 2.4.7 OPENLDAP24_LIBVER= 2.4.8
.if exists(${LOCALBASE}/bin/ldapwhoami) .if exists(${LOCALBASE}/bin/ldapwhoami)
_OPENLDAP_VER!= ${LOCALBASE}/bin/ldapwhoami -VV 2>&1 | ${GREP} ldapwhoami | ${SED} -E 's/.*OpenLDAP: ldapwhoami (2)\.(3|4).*/\1\2/' _OPENLDAP_VER!= ${LOCALBASE}/bin/ldapwhoami -VV 2>&1 | ${GREP} ldapwhoami | ${SED} -E 's/.*OpenLDAP: ldapwhoami (2)\.(3|4).*/\1\2/'

View file

@ -5,6 +5,18 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades. you update your ports collection, before attempting any port upgrades.
20110224:
AFFECTS: users of net/openldap24-{client,server}
AUTHOR: delphij@FreeBSD.org
OpenLDAP has been upgraded to 2.4.24, which requires a shared library
version bump. Therefore, you need to reinstall all ports that depend on
it. Please do something like:
# portupgrade -fr net/openldap24-client
or
# portmaster -r net/openldap24-client
20110209: 20110209:
AFFECTS: users of www/testlink AFFECTS: users of www/testlink
AUTHOR: tota@FreeBSD.org AUTHOR: tota@FreeBSD.org

View file

@ -6,7 +6,7 @@
# #
PORTNAME= openldap PORTNAME= openldap
DISTVERSION= 2.4.23 DISTVERSION= 2.4.24
PORTREVISION= ${OPENLDAP_PORTREVISION} PORTREVISION= ${OPENLDAP_PORTREVISION}
CATEGORIES= net databases CATEGORIES= net databases
MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
@ -41,6 +41,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
PORTREVISION_CLIENT= 0 PORTREVISION_CLIENT= 0
PORTREVISION_SERVER= 0 PORTREVISION_SERVER= 0
OPENLDAP_SHLIB_MAJOR= 8
OPTIONS= SASL "With (Cyrus) SASL2 support" off \ OPTIONS= SASL "With (Cyrus) SASL2 support" off \
FETCH "Enable fetch(3) support" on FETCH "Enable fetch(3) support" on
@ -48,6 +49,7 @@ OPTIONS= SASL "With (Cyrus) SASL2 support" off \
.if !defined(CLIENT_ONLY) .if !defined(CLIENT_ONLY)
OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \ OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \
ACI "Per-object ACI (experimental)" off \ ACI "Per-object ACI (experimental)" off \
BDB "With BerkeleyDB backend" on \
DNSSRV "With Dnssrv backend" off \ DNSSRV "With Dnssrv backend" off \
PASSWD "With Passwd backend" off \ PASSWD "With Passwd backend" off \
PERL "With Perl backend" off \ PERL "With Perl backend" off \
@ -59,7 +61,6 @@ OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \
SLP "With SLPv2 (RFC 2608) support" off \ SLP "With SLPv2 (RFC 2608) support" off \
SLAPI "With Netscape SLAPI plugin API" off \ SLAPI "With Netscape SLAPI plugin API" off \
TCP_WRAPPERS "With tcp wrapper support" on \ TCP_WRAPPERS "With tcp wrapper support" on \
BDB "With BerkeleyDB support" on \
ACCESSLOG "With In-Directory Access Logging overlay" off \ ACCESSLOG "With In-Directory Access Logging overlay" off \
AUDITLOG "With Audit Logging overlay" off \ AUDITLOG "With Audit Logging overlay" off \
COLLECT "With Collect overy Services overlay" off \ COLLECT "With Collect overy Services overlay" off \
@ -68,7 +69,6 @@ OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \
DEREF "With Dereference overlay" off \ DEREF "With Dereference overlay" off \
DYNGROUP "With Dynamic Group overlay" off \ DYNGROUP "With Dynamic Group overlay" off \
DYNLIST "With Dynamic List overlay" off \ DYNLIST "With Dynamic List overlay" off \
LASTMOD "With Last Modification overlay" off \
MEMBEROF "With Reverse Group Membership overlay" off \ MEMBEROF "With Reverse Group Membership overlay" off \
PPOLICY "With Password Policy overlay" off \ PPOLICY "With Password Policy overlay" off \
PROXYCACHE "With Proxy Cache overlay" off \ PROXYCACHE "With Proxy Cache overlay" off \
@ -76,6 +76,7 @@ OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \
RETCODE "With Return Code testing overlay" off \ RETCODE "With Return Code testing overlay" off \
RWM "With Rewrite/Remap overlay" off \ RWM "With Rewrite/Remap overlay" off \
SEQMOD "Sequential Modify overlay" on \ SEQMOD "Sequential Modify overlay" on \
SSSVLV "With ServerSideSort/VLV overlay" off \
SYNCPROV "With Syncrepl Provider overlay" on \ SYNCPROV "With Syncrepl Provider overlay" on \
TRANSLUCENT "With Translucent Proxy overlay" off \ TRANSLUCENT "With Translucent Proxy overlay" off \
UNIQUE "With attribute Uniqueness overlay" off \ UNIQUE "With attribute Uniqueness overlay" off \
@ -147,6 +148,7 @@ SUB_LIST+= LDAP_RUN_DIR=${LDAP_RUN_DIR} \
CONFIGURE_ARGS= --with-threads=posix \ CONFIGURE_ARGS= --with-threads=posix \
--with-tls=openssl \ --with-tls=openssl \
--disable-dependency-tracking \
--enable-dynamic --enable-dynamic
.if defined(WITHOUT_FETCH) .if defined(WITHOUT_FETCH)
@ -167,7 +169,6 @@ CONFIGURE_ARGS+= --disable-slapd \
--disable-monitor \ --disable-monitor \
--disable-bdb \ --disable-bdb \
--disable-relay \ --disable-relay \
--disable-glue \
--disable-syncprov --disable-syncprov
SUB_FILES+= pkg-message.client SUB_FILES+= pkg-message.client
PKGMESSAGE= ${WRKSRC}/pkg-message.client PKGMESSAGE= ${WRKSRC}/pkg-message.client
@ -246,10 +247,6 @@ CONFIGURE_ARGS+= --enable-dyngroup
CONFIGURE_ARGS+= --enable-dynlist CONFIGURE_ARGS+= --enable-dynlist
.endif .endif
.if defined(WITH_LASTMOD)
CONFIGURE_ARGS+= --enable-lastmod
.endif
.if defined(WITH_MEMBEROF) .if defined(WITH_MEMBEROF)
CONFIGURE_ARGS+= --enable-memberof CONFIGURE_ARGS+= --enable-memberof
.endif .endif
@ -280,6 +277,10 @@ CONFIGURE_ARGS+= --disable-seqmod
CONFIGURE_ARGS+= --enable-seqmod CONFIGURE_ARGS+= --enable-seqmod
.endif .endif
.if defined(WITH_SSSVLV)
CONFIGURE_ARGS+= --enable-sssvlv
.endif
.if defined(WITHOUT_SYNCPROV) .if defined(WITHOUT_SYNCPROV)
CONFIGURE_ARGS+= --disable-syncprov CONFIGURE_ARGS+= --disable-syncprov
.else .else
@ -314,7 +315,7 @@ PLIST_SUB+= BACK_BDB="@comment " \
.else .else
WITH_BDB_VER?= 46 WITH_BDB_VER?= 46
INVALID_BDB_VER= 42 50 INVALID_BDB_VER= 42
USE_BDB= yes USE_BDB= yes
.if ${WITH_BDB_VER} >= 43 .if ${WITH_BDB_VER} >= 43
@ -459,6 +460,7 @@ SUB_LIST+= RC_DIR=${PREFIX} \
.endif .endif
PLIST_SUB+= ${SUB_LIST} PLIST_SUB+= ${SUB_LIST}
PLIST_SUB+= SHLIB_MAJOR=${OPENLDAP_SHLIB_MAJOR}
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \ @${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \

View file

@ -1,3 +1,2 @@
MD5 (openldap-2.4.23.tgz) = 90150b8c0d0192e10b30157e68844ddf SHA256 (openldap-2.4.24.tgz) = fdcecb64082a0d8e124f13b31fccf4765901e29decaf4224b28d4cff90a14614
SHA256 (openldap-2.4.23.tgz) = 5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3 SIZE (openldap-2.4.24.tgz) = 5240643
SIZE (openldap-2.4.23.tgz) = 5182440

View file

@ -26,6 +26,7 @@ MAN3+= lber-decode.3 \
ldap_compare.3 \ ldap_compare.3 \
ldap_controls.3 \ ldap_controls.3 \
ldap_delete.3 \ ldap_delete.3 \
ldap_dup.3 \
ldap_get_option.3 \ ldap_get_option.3 \
ldap_error.3 \ ldap_error.3 \
ldap_extended_operation.3 \ ldap_extended_operation.3 \
@ -113,6 +114,7 @@ MLINKS+= \
ldap_delete.3 ldap_delete_s.3 \ ldap_delete.3 ldap_delete_s.3 \
ldap_delete.3 ldap_delete_ext.3 \ ldap_delete.3 ldap_delete_ext.3 \
ldap_delete.3 ldap_delete_ext_s.3 \ ldap_delete.3 ldap_delete_ext_s.3 \
ldap_dup.3 ldap_destroy.3 \
ldap_error.3 ldap_perror.3 \ ldap_error.3 ldap_perror.3 \
ldap_error.3 ld_errno.3 \ ldap_error.3 ld_errno.3 \
ldap_error.3 ldap_result2error.3 \ ldap_error.3 ldap_result2error.3 \
@ -155,6 +157,8 @@ MLINKS+= \
ldap_modrdn.3 ldap_modrdn2_s.3 \ ldap_modrdn.3 ldap_modrdn2_s.3 \
ldap_open.3 ldap_init.3 \ ldap_open.3 ldap_init.3 \
ldap_open.3 ldap_initialize.3 \ ldap_open.3 ldap_initialize.3 \
ldap_open.3 ldap_init_fd.3 \
ldap_open.3 ldap_set_urllist_proc.3 \
ldap_parse_result.3 ldap_parse_sasl_bind_result.3 \ ldap_parse_result.3 ldap_parse_sasl_bind_result.3 \
ldap_parse_result.3 ldap_parse_extended_result.3 \ ldap_parse_result.3 ldap_parse_extended_result.3 \
ldap_rename.3 ldap_rename_s.3 \ ldap_rename.3 ldap_rename_s.3 \

View file

@ -1,25 +1,25 @@
--- configure.orig 2008-02-11 15:36:45.000000000 -0800 --- configure.orig 2011-01-31 12:53:50.000000000 -0800
+++ configure 2008-02-19 14:03:01.410279419 -0800 +++ configure 2011-02-19 04:12:30.885900446 -0800
@@ -31928,7 +31928,7 @@ @@ -21598,7 +21598,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
-LIBS="-liodbc $LIBS" -LIBS="-liodbc $LIBS"
+LIBS="-liodbc $LIBS $LTHREAD_LIBS" +LIBS="-liodbc $LIBS $LTHREAD_LIBS"
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */ /* end confdefs.h. */
_ACEOF
@@ -32004,7 +32004,7 @@ @@ -21646,7 +21646,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6 $as_echo_n "(cached) " >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
-LIBS="-lodbc $LIBS" -LIBS="-lodbc $LIBS"
+LIBS="-lodbc $LIBS $LTHREAD_LIBS" +LIBS="-lodbc $LIBS $LTHREAD_LIBS"
cat >conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* confdefs.h. */ /* end confdefs.h. */
_ACEOF
@@ -32263,7 +32263,7 @@ @@ -21903,7 +21903,7 @@
cat >>conftest.$ac_ext <<_ACEOF cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
-#include <unicode/utypes.h> -#include <unicode/utypes.h>

View file

@ -3,6 +3,7 @@
etc/openldap/schema/README etc/openldap/schema/README
etc/openldap/schema/core.ldif etc/openldap/schema/core.ldif
etc/openldap/schema/cosine.ldif etc/openldap/schema/cosine.ldif
etc/openldap/schema/dyngroup.ldif
etc/openldap/schema/inetorgperson.ldif etc/openldap/schema/inetorgperson.ldif
etc/openldap/schema/nis.ldif etc/openldap/schema/nis.ldif
etc/openldap/schema/openldap.ldif etc/openldap/schema/openldap.ldif
@ -16,58 +17,58 @@ etc/openldap/DB_CONFIG.example
%%SLAPI%%lib/libslapi.la %%SLAPI%%lib/libslapi.la
%%SLAPI%%lib/libslapi.so %%SLAPI%%lib/libslapi.so
%%SLAPI%%lib/libslapi-2.4.so %%SLAPI%%lib/libslapi-2.4.so
%%SLAPI%%lib/libslapi-2.4.so.7 %%SLAPI%%lib/libslapi-2.4.so.%%SHLIB_MAJOR%%
%%MODULES%%@exec mkdir -p %D/libexec/openldap %%MODULES%%@exec mkdir -p %D/libexec/openldap
%%BACK_BDB%%libexec/openldap/back_bdb-2.4.so %%BACK_BDB%%libexec/openldap/back_bdb-2.4.so
%%BACK_BDB%%libexec/openldap/back_bdb-2.4.so.7 %%BACK_BDB%%libexec/openldap/back_bdb-2.4.so.%%SHLIB_MAJOR%%
%%BACK_BDB%%libexec/openldap/back_bdb.la %%BACK_BDB%%libexec/openldap/back_bdb.la
%%BACK_BDB%%libexec/openldap/back_bdb.so %%BACK_BDB%%libexec/openldap/back_bdb.so
%%BACK_HDB%%libexec/openldap/back_hdb-2.4.so %%BACK_HDB%%libexec/openldap/back_hdb-2.4.so
%%BACK_HDB%%libexec/openldap/back_hdb-2.4.so.7 %%BACK_HDB%%libexec/openldap/back_hdb-2.4.so.%%SHLIB_MAJOR%%
%%BACK_HDB%%libexec/openldap/back_hdb.la %%BACK_HDB%%libexec/openldap/back_hdb.la
%%BACK_HDB%%libexec/openldap/back_hdb.so %%BACK_HDB%%libexec/openldap/back_hdb.so
%%BACKEND%%libexec/openldap/back_ldap-2.4.so %%BACKEND%%libexec/openldap/back_ldap-2.4.so
%%BACKEND%%libexec/openldap/back_ldap-2.4.so.7 %%BACKEND%%libexec/openldap/back_ldap-2.4.so.%%SHLIB_MAJOR%%
%%BACKEND%%libexec/openldap/back_ldap.la %%BACKEND%%libexec/openldap/back_ldap.la
%%BACKEND%%libexec/openldap/back_ldap.so %%BACKEND%%libexec/openldap/back_ldap.so
%%BACKEND%%libexec/openldap/back_meta-2.4.so %%BACKEND%%libexec/openldap/back_meta-2.4.so
%%BACKEND%%libexec/openldap/back_meta-2.4.so.7 %%BACKEND%%libexec/openldap/back_meta-2.4.so.%%SHLIB_MAJOR%%
%%BACKEND%%libexec/openldap/back_meta.la %%BACKEND%%libexec/openldap/back_meta.la
%%BACKEND%%libexec/openldap/back_meta.so %%BACKEND%%libexec/openldap/back_meta.so
%%BACKEND%%libexec/openldap/back_monitor-2.4.so %%BACKEND%%libexec/openldap/back_monitor-2.4.so
%%BACKEND%%libexec/openldap/back_monitor-2.4.so.7 %%BACKEND%%libexec/openldap/back_monitor-2.4.so.%%SHLIB_MAJOR%%
%%BACKEND%%libexec/openldap/back_monitor.la %%BACKEND%%libexec/openldap/back_monitor.la
%%BACKEND%%libexec/openldap/back_monitor.so %%BACKEND%%libexec/openldap/back_monitor.so
%%BACKEND%%libexec/openldap/back_null-2.4.so %%BACKEND%%libexec/openldap/back_null-2.4.so
%%BACKEND%%libexec/openldap/back_null-2.4.so.7 %%BACKEND%%libexec/openldap/back_null-2.4.so.%%SHLIB_MAJOR%%
%%BACKEND%%libexec/openldap/back_null.la %%BACKEND%%libexec/openldap/back_null.la
%%BACKEND%%libexec/openldap/back_null.so %%BACKEND%%libexec/openldap/back_null.so
%%BACK_DNSSRV%%libexec/openldap/back_dnssrv-2.4.so %%BACK_DNSSRV%%libexec/openldap/back_dnssrv-2.4.so
%%BACK_DNSSRV%%libexec/openldap/back_dnssrv-2.4.so.7 %%BACK_DNSSRV%%libexec/openldap/back_dnssrv-2.4.so.%%SHLIB_MAJOR%%
%%BACK_DNSSRV%%libexec/openldap/back_dnssrv.la %%BACK_DNSSRV%%libexec/openldap/back_dnssrv.la
%%BACK_DNSSRV%%libexec/openldap/back_dnssrv.so %%BACK_DNSSRV%%libexec/openldap/back_dnssrv.so
%%BACK_PASSWD%%libexec/openldap/back_passwd-2.4.so %%BACK_PASSWD%%libexec/openldap/back_passwd-2.4.so
%%BACK_PASSWD%%libexec/openldap/back_passwd-2.4.so.7 %%BACK_PASSWD%%libexec/openldap/back_passwd-2.4.so.%%SHLIB_MAJOR%%
%%BACK_PASSWD%%libexec/openldap/back_passwd.la %%BACK_PASSWD%%libexec/openldap/back_passwd.la
%%BACK_PASSWD%%libexec/openldap/back_passwd.so %%BACK_PASSWD%%libexec/openldap/back_passwd.so
%%BACK_PERL%%libexec/openldap/back_perl-2.4.so %%BACK_PERL%%libexec/openldap/back_perl-2.4.so
%%BACK_PERL%%libexec/openldap/back_perl-2.4.so.7 %%BACK_PERL%%libexec/openldap/back_perl-2.4.so.%%SHLIB_MAJOR%%
%%BACK_PERL%%libexec/openldap/back_perl.la %%BACK_PERL%%libexec/openldap/back_perl.la
%%BACK_PERL%%libexec/openldap/back_perl.so %%BACK_PERL%%libexec/openldap/back_perl.so
%%BACK_RELAY%%libexec/openldap/back_relay-2.4.so %%BACK_RELAY%%libexec/openldap/back_relay-2.4.so
%%BACK_RELAY%%libexec/openldap/back_relay-2.4.so.7 %%BACK_RELAY%%libexec/openldap/back_relay-2.4.so.%%SHLIB_MAJOR%%
%%BACK_RELAY%%libexec/openldap/back_relay.la %%BACK_RELAY%%libexec/openldap/back_relay.la
%%BACK_RELAY%%libexec/openldap/back_relay.so %%BACK_RELAY%%libexec/openldap/back_relay.so
%%BACK_SHELL%%libexec/openldap/back_shell-2.4.so %%BACK_SHELL%%libexec/openldap/back_shell-2.4.so
%%BACK_SHELL%%libexec/openldap/back_shell-2.4.so.7 %%BACK_SHELL%%libexec/openldap/back_shell-2.4.so.%%SHLIB_MAJOR%%
%%BACK_SHELL%%libexec/openldap/back_shell.la %%BACK_SHELL%%libexec/openldap/back_shell.la
%%BACK_SHELL%%libexec/openldap/back_shell.so %%BACK_SHELL%%libexec/openldap/back_shell.so
%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so %%BACK_SOCK%%libexec/openldap/back_sock-2.4.so
%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so.7 %%BACK_SOCK%%libexec/openldap/back_sock-2.4.so.%%SHLIB_MAJOR%%
%%BACK_SOCK%%libexec/openldap/back_sock.la %%BACK_SOCK%%libexec/openldap/back_sock.la
%%BACK_SOCK%%libexec/openldap/back_sock.so %%BACK_SOCK%%libexec/openldap/back_sock.so
%%BACK_SQL%%libexec/openldap/back_sql-2.4.so %%BACK_SQL%%libexec/openldap/back_sql-2.4.so
%%BACK_SQL%%libexec/openldap/back_sql-2.4.so.7 %%BACK_SQL%%libexec/openldap/back_sql-2.4.so.%%SHLIB_MAJOR%%
%%BACK_SQL%%libexec/openldap/back_sql.la %%BACK_SQL%%libexec/openldap/back_sql.la
%%BACK_SQL%%libexec/openldap/back_sql.so %%BACK_SQL%%libexec/openldap/back_sql.so
%%SMBPWD%%libexec/openldap/smbk5pwd.la %%SMBPWD%%libexec/openldap/smbk5pwd.la

View file

@ -22,17 +22,17 @@ include/ldap_schema.h
include/ldap_utf8.h include/ldap_utf8.h
include/slapi-plugin.h include/slapi-plugin.h
lib/liblber-2.4.so lib/liblber-2.4.so
lib/liblber-2.4.so.7 lib/liblber-2.4.so.%%SHLIB_MAJOR%%
lib/liblber.a lib/liblber.a
lib/liblber.la lib/liblber.la
lib/liblber.so lib/liblber.so
lib/libldap-2.4.so lib/libldap-2.4.so
lib/libldap-2.4.so.7 lib/libldap-2.4.so.%%SHLIB_MAJOR%%
lib/libldap.a lib/libldap.a
lib/libldap.la lib/libldap.la
lib/libldap.so lib/libldap.so
lib/libldap_r-2.4.so lib/libldap_r-2.4.so
lib/libldap_r-2.4.so.7 lib/libldap_r-2.4.so.%%SHLIB_MAJOR%%
lib/libldap_r.a lib/libldap_r.a
lib/libldap_r.la lib/libldap_r.la
lib/libldap_r.so lib/libldap_r.so