1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Update to 2.4.32, while I'm there, convert to OptionsNG

This commit is contained in:
Xin LI 2012-07-31 19:51:32 +00:00
parent dadebe4ac2
commit c3c532b9a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301812
3 changed files with 128 additions and 115 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= openldap PORTNAME= openldap
DISTVERSION= 2.4.31 DISTVERSION= 2.4.32
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%/ \
@ -46,47 +46,58 @@ PORTREVISION_CLIENT= 1
PORTREVISION_SERVER= 0 PORTREVISION_SERVER= 0
OPENLDAP_SHLIB_MAJOR= 8 OPENLDAP_SHLIB_MAJOR= 8
OPTIONS= SASL "With (Cyrus) SASL2 support" off \ OPTIONS_DEFINE= SASL FETCH
FETCH "Enable fetch(3) support" off
SASL_DESC= With (Cyrus) SASL2 support
FETCH_DESC= Enable fetch(3) support
.if !defined(CLIENT_ONLY) .if !defined(CLIENT_ONLY)
OPTIONS+= DYNACL "Run-time loadable ACL (experimental)" off \ OPTIONS_DEFINE+= DYNACL ACI BDB DNSSRV MDB PASSWD PERL RELAY SHELL
ACI "Per-object ACI (experimental)" off \ OPTIONS_DEFINE+= SOCK ODBC RLOOKUPS SLP SLAPI TCP_WRAPPERS
BDB "With BerkeleyDB backend" on \ OPTIONS_DEFINE+= ACCESSLOG AUDITLOG COLLECT CONSTRAINT DDS
DNSSRV "With Dnssrv backend" off \ OPTIONS_DEFINE+= DEREF DYNGROUP DYNLIST MEMBEROF PPOLICY PROXYCACHE
MDB "With Memory-Mapped DB backend" off \ OPTIONS_DEFINE+= REFINT RETCODE RWM SEQMOD SSSVLV SYNCPROV TRANSLUCENT
PASSWD "With Passwd backend" off \ OPTIONS_DEFINE+= UNIQUE VALSORT SMBPWD DYNAMIC_BACKENDS
PERL "With Perl backend" off \
RELAY "With Relay backend" off \ OPTIONS_DEFAULT= BDB TCP_WRAPPERS SEQMOD SYNCPROV
SHELL "With Shell backend (disables threading)" off \
SOCK "With Sock backend" off \ DYNACL_DESC= Run-time loadable ACL (experimental)
ODBC "With SQL backend" off \ ACI_DESC= Per-object ACI (experimental)
RLOOKUPS "With reverse lookups of client hostnames" off \ BDB_DESC= With BerkeleyDB backend
SLP "With SLPv2 (RFC 2608) support" off \ DNSSRV_DESC= With Dnssrv backend
SLAPI "With Netscape SLAPI plugin API" off \ MDB_DESC= With Memory-Mapped DB backend
TCP_WRAPPERS "With tcp wrapper support" on \ PASSWD_DESC= With Passwd backend
ACCESSLOG "With In-Directory Access Logging overlay" off \ PERL_DESC= With Perl backend
AUDITLOG "With Audit Logging overlay" off \ RELAY_DESC= With Relay backend
COLLECT "With Collect overy Services overlay" off \ SHELL_DESC= With Shell backend (disables threading)
CONSTRAINT "With Attribute Constraint overlay" off \ SOCK_DESC= With Sock backend
DDS "With Dynamic Directory Services overlay" off \ ODBC_DESC= With SQL backend
DEREF "With Dereference overlay" off \ RLOOKUPS_DESC= With reverse lookups of client hostnames
DYNGROUP "With Dynamic Group overlay" off \ SLP_DESC= With SLPv2 (RFC 2608) support
DYNLIST "With Dynamic List overlay" off \ SLAPI_DESC= With Netscape SLAPI plugin API
MEMBEROF "With Reverse Group Membership overlay" off \ TCP_WRAPPERS_DESC= With tcp wrapper support
PPOLICY "With Password Policy overlay" off \ ACCESSLOG_DESC= With In-Directory Access Logging overlay
PROXYCACHE "With Proxy Cache overlay" off \ AUDITLOG_DESC= With Audit Logging overlay
REFINT "With Referential Integrity overlay" off \ COLLECT_DESC= With Collect overy Services overlay
RETCODE "With Return Code testing overlay" off \ CONSTRAINT_DESC= With Attribute Constraint overlay
RWM "With Rewrite/Remap overlay" off \ DDS_DESC= With Dynamic Directory Services overlay
SEQMOD "Sequential Modify overlay" on \ DEREF_DESC= With Dereference overlay
SSSVLV "With ServerSideSort/VLV overlay" off \ DYNGROUP_DESC= With Dynamic Group overlay
SYNCPROV "With Syncrepl Provider overlay" on \ DYNLIST_DESC= With Dynamic List overlay
TRANSLUCENT "With Translucent Proxy overlay" off \ MEMBEROF_DESC= With Reverse Group Membership overlay
UNIQUE "With attribute Uniqueness overlay" off \ PPOLICY_DESC= With Password Policy overlay
VALSORT "With Value Sorting overlay" off \ PROXYCACHE_DESC= With Proxy Cache overlay
SMBPWD "With Samba Password hashes overlay" off \ REFINT_DESC= With Referential Integrity overlay
DYNAMIC_BACKENDS "Build dynamic backends" on RETCODE_DESC= With Return Code testing overlay
RWM_DESC= With Rewrite/Remap overlay
SEQMOD_DESC= With Sequential Modify overlay
SSSVLV_DESC= With ServerSideSort/VLV overlay
SYNCPROV_DESC= With Syncrepl Provider overlay
TRANSLUCENT_DESC= With Translucent Proxy overlay
UNIQUE_DESC= With attribute Uniqueness overlay
VALSORT_DESC= With Value Sorting overlay
SMBPWD_DESC= With Samba Password hashes overlay
DYNAMIC_BACKENDS_DESC= Build dynamic backends
.endif .endif
.if defined(CLIENT_ONLY) .if defined(CLIENT_ONLY)
@ -102,7 +113,7 @@ CONFIGURE_SED= -e 's,-kthread,${PTHREAD_LIBS},g' -e 's,uuid/uuid.h,xxuuid/uuid.
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if defined(CLIENT_ONLY) .if defined(CLIENT_ONLY)
.if defined(WITH_SASL) .if ${PORT_OPTIONS:MSASL}
PKGNAMESUFFIX= -sasl-client PKGNAMESUFFIX= -sasl-client
COMMENT= Open source LDAP client implementation with SASL2 support COMMENT= Open source LDAP client implementation with SASL2 support
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \ CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
@ -123,7 +134,7 @@ BROKEN= You have `USE_OPENLDAP' variable defined either in environment or in m
USE_OPENLDAP= yes USE_OPENLDAP= yes
WANT_OPENLDAP_VER= 24 WANT_OPENLDAP_VER= 24
.if defined(WITH_SASL) .if ${PORT_OPTIONS:MSASL}
WANT_OPENLDAP_SASL= yes WANT_OPENLDAP_SASL= yes
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.*
PKGNAMESUFFIX= -sasl-server PKGNAMESUFFIX= -sasl-server
@ -156,11 +167,11 @@ CONFIGURE_ARGS= --with-threads=posix \
# XXX FreeBSD does not implement O_DSYNC and fdatasync at this time. # XXX FreeBSD does not implement O_DSYNC and fdatasync at this time.
CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
.if defined(WITHOUT_FETCH) .if !${PORT_OPTIONS:MFETCH}
CONFIGURE_ARGS+= --without-fetch CONFIGURE_ARGS+= --without-fetch
.endif .endif
.if defined(WITH_SASL) .if ${PORT_OPTIONS:MSASL}
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2 LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --with-cyrus-sasl CONFIGURE_ARGS+= --with-cyrus-sasl
.else .else
@ -189,7 +200,7 @@ USE_RC_SUBR= slapd.sh
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in
.if defined(WITH_MODULES) || !defined(WITHOUT_DYNAMIC_BACKENDS) || defined(WITH_SLAPI) .if ${PORT_OPTIONS:MMODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
USE_AUTOTOOLS+= libltdl USE_AUTOTOOLS+= libltdl
CONFIGURE_ARGS+= --enable-modules CONFIGURE_ARGS+= --enable-modules
PLIST_SUB+= MODULES="" PLIST_SUB+= MODULES=""
@ -199,7 +210,7 @@ PLIST_SUB+= MODULES="@comment "
SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/' SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/'
.if !defined(WITHOUT_DYNAMIC_BACKENDS) .if ${PORT_OPTIONS:MDYNAMIC_BACKENDS}
BACKEND_ENABLE= "mod" BACKEND_ENABLE= "mod"
BACKEND_PLIST= "" BACKEND_PLIST= ""
SED_MODULES+= -e 's/\# *\(modulepath\)/\1/' \ SED_MODULES+= -e 's/\# *\(modulepath\)/\1/' \
@ -209,6 +220,8 @@ BACKEND_ENABLE= "yes"
BACKEND_PLIST= "@comment " BACKEND_PLIST= "@comment "
.endif .endif
OVERLAY_ENABLE= yes
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \ CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--enable-crypt \ --enable-crypt \
--enable-lmpasswd \ --enable-lmpasswd \
@ -220,99 +233,99 @@ CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
PLIST_SUB+= BACKEND=${BACKEND_PLIST} PLIST_SUB+= BACKEND=${BACKEND_PLIST}
.if defined(WITH_ACCESSLOG) .if ${PORT_OPTIONS:MACCESSLOG}
CONFIGURE_ARGS+= --enable-accesslog CONFIGURE_ARGS+= --enable-accesslog=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_AUDITLOG) .if ${PORT_OPTIONS:MAUDITLOG}
CONFIGURE_ARGS+= --enable-auditlog CONFIGURE_ARGS+= --enable-auditlog=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_COLLECT) .if ${PORT_OPTIONS:MCOLLECT}
CONFIGURE_ARGS+= --enable-collect CONFIGURE_ARGS+= --enable-collect=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_CONSTRAINT) .if ${PORT_OPTIONS:MCONSTRAINT}
CONFIGURE_ARGS+= --enable-constraint CONFIGURE_ARGS+= --enable-constraint=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_DDS) .if ${PORT_OPTIONS:MDDS}
CONFIGURE_ARGS+= --enable-dds CONFIGURE_ARGS+= --enable-dds=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_DEREF) .if ${PORT_OPTIONS:MDEREF}
CONFIGURE_ARGS+= --enable-deref CONFIGURE_ARGS+= --enable-deref=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_DYNGROUP) .if ${PORT_OPTIONS:MDYNGROUP}
CONFIGURE_ARGS+= --enable-dyngroup CONFIGURE_ARGS+= --enable-dyngroup=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_DYNLIST) .if ${PORT_OPTIONS:MDYNLIST}
CONFIGURE_ARGS+= --enable-dynlist CONFIGURE_ARGS+= --enable-dynlist=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_MEMBEROF) .if ${PORT_OPTIONS:MMEMBEROF}
CONFIGURE_ARGS+= --enable-memberof CONFIGURE_ARGS+= --enable-memberof=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_PPOLICY) .if ${PORT_OPTIONS:MPPOLICY}
CONFIGURE_ARGS+= --enable-ppolicy CONFIGURE_ARGS+= --enable-ppolicy=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_PROXYCACHE) .if ${PORT_OPTIONS:MPROXYCACHE}
CONFIGURE_ARGS+= --enable-proxycache CONFIGURE_ARGS+= --enable-proxycache=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_REFINT) .if ${PORT_OPTIONS:MREFINT}
CONFIGURE_ARGS+= --enable-refint CONFIGURE_ARGS+= --enable-refint=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_RETCODE) .if ${PORT_OPTIONS:MRETCODE}
CONFIGURE_ARGS+= --enable-retcode CONFIGURE_ARGS+= --enable-retcode=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_RWM) .if ${PORT_OPTIONS:MRWM}
CONFIGURE_ARGS+= --enable-rwm CONFIGURE_ARGS+= --enable-rwm=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITHOUT_SEQMOD) .if ${PORT_OPTIONS:MSEQMOD}
CONFIGURE_ARGS+= --disable-seqmod CONFIGURE_ARGS+= --enable-seqmod=${OVERLAY_ENABLE}
.else .else
CONFIGURE_ARGS+= --enable-seqmod CONFIGURE_ARGS+= --disble-seqmod
.endif .endif
.if defined(WITH_SSSVLV) .if ${PORT_OPTIONS:MSSSVLV}
CONFIGURE_ARGS+= --enable-sssvlv CONFIGURE_ARGS+= --enable-sssvlv=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITHOUT_SYNCPROV) .if ${PORT_OPTIONS:MSYNCPROV}
CONFIGURE_ARGS+= --enable-syncprov=${OVERLAY_ENABLE}
.else
CONFIGURE_ARGS+= --disable-syncprov CONFIGURE_ARGS+= --disable-syncprov
.else
CONFIGURE_ARGS+= --enable-syncprov
.endif .endif
.if defined(WITH_TRANSLUCENT) .if ${PORT_OPTIONS:MTRANSLUCENT}
CONFIGURE_ARGS+= --enable-translucent CONFIGURE_ARGS+= --enable-translucent=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_UNIQUE) .if ${PORT_OPTIONS:MUNIQUE}
CONFIGURE_ARGS+= --enable-unique CONFIGURE_ARGS+= --enable-unique=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_VALSORT) .if ${PORT_OPTIONS:MVALSORT}
CONFIGURE_ARGS+= --enable-valsort CONFIGURE_ARGS+= --enable-valsort=${OVERLAY_ENABLE}
.endif .endif
.if defined(WITH_ACI) .if ${PORT_OPTIONS:MACI}
CONFIGURE_ARGS+= --enable-aci CONFIGURE_ARGS+= --enable-aci
.endif .endif
.if defined(WITH_DYNACL) .if ${PORT_OPTIONS:MDYNACL}
CONFIGURE_ARGS+= --enable-dynacl CONFIGURE_ARGS+= --enable-dynacl
.endif .endif
.if defined(WITHOUT_BDB) .if !${PORT_OPTIONS:MBDB}
CONFIGURE_ARGS+= --disable-bdb \ CONFIGURE_ARGS+= --disable-bdb \
--disable-hdb --disable-hdb
PLIST_SUB+= BACK_BDB="@comment " \ PLIST_SUB+= BACK_BDB="@comment " \
@ -346,35 +359,35 @@ CONFIGURE_SED+= -e 's,ol_DB_LIB=$$,&-l${BDB_LIB_NAME:R},' \
-e 's,(ol_cv_lib_db=)yes$$,\1-l${BDB_LIB_NAME:R},' -e 's,(ol_cv_lib_db=)yes$$,\1-l${BDB_LIB_NAME:R},'
.endif .endif
.if defined(WITH_DNSSRV) .if ${PORT_OPTIONS:MDNSSRV}
CONFIGURE_ARGS+= --enable-dnssrv=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-dnssrv=${BACKEND_ENABLE}
PLIST_SUB+= BACK_DNSSRV=${BACKEND_PLIST} PLIST_SUB+= BACK_DNSSRV=${BACKEND_PLIST}
.else .else
PLIST_SUB+= BACK_DNSSRV="@comment " PLIST_SUB+= BACK_DNSSRV="@comment "
.endif .endif
.if defined(WITH_MDB) .if ${PORT_OPTIONS:MMDB}
CONFIGURE_ARGS+= --enable-mdb=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-mdb=${BACKEND_ENABLE}
PLIST_SUB+= BACK_MDB=${BACKEND_PLIST} PLIST_SUB+= BACK_MDB=${BACKEND_PLIST}
.else .else
PLIST_SUB+= BACK_MDB="@comment " PLIST_SUB+= BACK_MDB="@comment "
.endif .endif
.if defined(WITH_PASSWD) .if ${PORT_OPTIONS:MPASSWD}
CONFIGURE_ARGS+= --enable-passwd=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-passwd=${BACKEND_ENABLE}
PLIST_SUB+= BACK_PASSWD=${BACKEND_PLIST} PLIST_SUB+= BACK_PASSWD=${BACKEND_PLIST}
.else .else
PLIST_SUB+= BACK_PASSWD="@comment " PLIST_SUB+= BACK_PASSWD="@comment "
.endif .endif
.if defined(WITH_RELAY) .if ${PORT_OPTIONS:MRELAY}
CONFIGURE_ARGS+= --enable-relay=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-relay=${BACKEND_ENABLE}
PLIST_SUB+= BACK_RELAY=${BACKEND_PLIST} PLIST_SUB+= BACK_RELAY=${BACKEND_PLIST}
.else .else
PLIST_SUB+= BACK_RELAY="@comment " PLIST_SUB+= BACK_RELAY="@comment "
.endif .endif
.if defined(WITH_SHELL) .if ${PORT_OPTIONS:MSHELL}
CONFIGURE_ARGS+= --without-threads --enable-shell=${BACKEND_ENABLE} CONFIGURE_ARGS+= --without-threads --enable-shell=${BACKEND_ENABLE}
PLIST_SUB+= BACK_SHELL=${BACKEND_PLIST} PLIST_SUB+= BACK_SHELL=${BACKEND_PLIST}
.else .else
@ -382,14 +395,14 @@ PLIST_SUB+= BACK_SHELL="@comment "
WANT_OPENLDAP_THREADS= yes WANT_OPENLDAP_THREADS= yes
.endif .endif
.if defined(WITH_SOCK) .if ${PORT_OPTIONS:MSOCK}
CONFIGURE_ARGS+= --enable-sock=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-sock=${BACKEND_ENABLE}
PLIST_SUB+= BACK_SOCK=${BACKEND_PLIST} PLIST_SUB+= BACK_SOCK=${BACKEND_PLIST}
.else .else
PLIST_SUB+= BACK_SOCK="@comment " PLIST_SUB+= BACK_SOCK="@comment "
.endif .endif
.if defined(WITH_PERL) .if ${PORT_OPTIONS:MPERL}
USE_PERL5= yes USE_PERL5= yes
CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE}
CONFIGURE_ENV+= PERLBIN="${PERL}" CONFIGURE_ENV+= PERLBIN="${PERL}"
@ -398,11 +411,11 @@ PLIST_SUB+= BACK_PERL=${BACKEND_PLIST}
PLIST_SUB+= BACK_PERL="@comment " PLIST_SUB+= BACK_PERL="@comment "
.endif .endif
.if defined(WITH_SASL) .if ${PORT_OPTIONS:MSASL}
CONFIGURE_ARGS+= --enable-spasswd CONFIGURE_ARGS+= --enable-spasswd
.endif .endif
.if defined(WITH_ODBC) .if ${PORT_OPTIONS:MODBC}
CONFIGURE_ARGS+= --enable-sql=${BACKEND_ENABLE} CONFIGURE_ARGS+= --enable-sql=${BACKEND_ENABLE}
PLIST_SUB+= BACK_SQL=${BACKEND_PLIST} PLIST_SUB+= BACK_SQL=${BACKEND_PLIST}
WITH_ODBC_TYPE?= iODBC WITH_ODBC_TYPE?= iODBC
@ -417,20 +430,20 @@ BROKEN= choose either iODBC or unixODBC for WITH_ODBC_TYPE
PLIST_SUB+= BACK_SQL="@comment " PLIST_SUB+= BACK_SQL="@comment "
.endif .endif
.if defined(WITH_SMBPWD) .if ${PORT_OPTIONS:MSMBPWD}
PLIST_SUB+= SMBPWD="" PLIST_SUB+= SMBPWD=""
.else .else
PLIST_SUB+= SMBPWD="@comment " PLIST_SUB+= SMBPWD="@comment "
.endif .endif
.if defined(WITH_RLOOKUPS) .if ${PORT_OPTIONS:MRLOOKUPS}
CONFIGURE_ARGS+= --enable-rlookups CONFIGURE_ARGS+= --enable-rlookups
PLIST_SUB+= RLOOKUPS="" PLIST_SUB+= RLOOKUPS=""
.else .else
PLIST_SUB+= RLOOKUPS="@comment " PLIST_SUB+= RLOOKUPS="@comment "
.endif .endif
.if defined(WITH_SLAPI) .if ${PORT_OPTIONS:MSLAPI}
CONFIGURE_ARGS+= --enable-slapi CONFIGURE_ARGS+= --enable-slapi
PLIST_SUB+= SLAPI="" PLIST_SUB+= SLAPI=""
USE_LDCONFIG= yes USE_LDCONFIG= yes
@ -438,7 +451,7 @@ USE_LDCONFIG= yes
PLIST_SUB+= SLAPI="@comment " PLIST_SUB+= SLAPI="@comment "
.endif .endif
.if defined(WITH_SLP) .if ${PORT_OPTIONS:MSLP}
CONFIGURE_ARGS+= --enable-slp CONFIGURE_ARGS+= --enable-slp
LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp
.endif .endif
@ -492,7 +505,7 @@ test: build
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
.if defined(WITH_SMBPWD) .if ${PORT_OPTIONS:MSMBPWD}
post-build: post-build:
@cd ${BUILD_WRKSRC}/contrib/slapd-modules/smbk5pwd; ${SETENV} ${MAKE_ENV} \ @cd ${BUILD_WRKSRC}/contrib/slapd-modules/smbk5pwd; ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} DEFS="-DDO_SAMBA" all ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} DEFS="-DDO_SAMBA" all
@ -503,7 +516,7 @@ pre-su-install:
@if [ -f ${PKGINSTALL} ]; then \ @if [ -f ${PKGINSTALL} ]; then \
${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \ ${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \
fi fi
.if defined(WITH_MODULES) || !defined(WITHOUT_DYNAMIC_BACKENDS) || defined(WITH_SLAPI) .if ${PORT_OPTIONS:MMODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
@${MKDIR} ${PREFIX}/libexec/openldap @${MKDIR} ${PREFIX}/libexec/openldap
.endif .endif
@ -528,7 +541,7 @@ post-install:
done >>${TMPPLIST} done >>${TMPPLIST}
@${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap/schema 2>/dev/null || true" >>${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap/schema 2>/dev/null || true" >>${TMPPLIST}
@${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap 2>/dev/null || true" >>${TMPPLIST} @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap 2>/dev/null || true" >>${TMPPLIST}
.if defined(WITH_SMBPWD) .if ${PORT_OPTIONS:MSMBPWD}
@${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/smbk5pwd.la \ @${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/smbk5pwd.la \
${PREFIX}/libexec/openldap/ ${PREFIX}/libexec/openldap/
@${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/.libs/smbk5pwd.so.0 \ @${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/.libs/smbk5pwd.so.0 \

View File

@ -1,2 +1,2 @@
SHA256 (openldap-2.4.31.tgz) = bde845840df4794b869a6efd6a6b1086f80989038e4844b2e4d7d6b57b39c5b6 SHA256 (openldap-2.4.32.tgz) = 9ee413c6a816cb41f71826759b78001d04e747ede9dde302d6ba94ab16f0b82e
SIZE (openldap-2.4.31.tgz) = 5444236 SIZE (openldap-2.4.32.tgz) = 5450134

View File

@ -1,14 +1,14 @@
# I have checked all headers and don't think the shared library # I have checked all headers and don't think the shared library
# bump is a needed one. We patch it back to prevent large # bump is a needed one. We patch it back to prevent large
# rebuild need. # rebuild need.
--- build/version.var.orig 2012-04-22 13:25:08.000000000 -0700 --- build/version.var.orig 2012-07-31 09:39:26.000000000 -0700
+++ build/version.var 2012-04-23 10:51:05.079392065 -0700 +++ build/version.var 2012-07-31 12:03:12.618025612 -0700
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
ol_minor=4 ol_minor=4
ol_patch=31 ol_patch=32
ol_api_inc=20431 ol_api_inc=20432
-ol_api_current=10 -ol_api_current=10
+ol_api_current=8 +ol_api_current=8
ol_api_revision=3 ol_api_revision=4
ol_api_age=8 ol_api_age=8
ol_release_date="2012/04/23" ol_release_date="2012/07/31"