FreeBSD Bugzilla – Attachment 186739 Details for
Bug 222623
[PATCH] net/openldap24-server: Add lastbind module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch port Makefile to add lastbind option.
openldap24-server-2.4.49-lastbind.patch (text/plain), 3.24 KB, created by
Trix Farrar
on 2017-09-26 13:15:40 UTC
(
hide
)
Description:
Patch port Makefile to add lastbind option.
Filename:
MIME Type:
Creator:
Trix Farrar
Created:
2017-09-26 13:15:40 UTC
Size:
3.24 KB
patch
obsolete
>diff -ru openldap24-server.orig/Makefile openldap24-server/Makefile >--- openldap24-server.orig/Makefile 2017-06-04 03:10:49.000000000 -0500 >+++ openldap24-server/Makefile 2017-09-21 10:00:31.360683000 -0500 >@@ -56,7 +56,7 @@ > .endif > >-PORTREVISION_CLIENT= 0 >-PORTREVISION_SERVER= 0 >+PORTREVISION_CLIENT= 1 >+PORTREVISION_SERVER= 1 > OPENLDAP_SHLIB_MAJOR= 2 > OPENLDAP_SHLIB_MINOR= 10.8 > OPENLDAP_MAJOR= ${DISTVERSION:R} >@@ -75,6 +75,7 @@ > OPTIONS_DEFINE+= UNIQUE VALSORT SMBPWD SHA2 DYNAMIC_BACKENDS SASL > OPTIONS_DEFINE+= LMPASSWD > OPTIONS_DEFINE+= OUTLOOK >+OPTIONS_DEFINE+= LASTBIND > > OPTIONS_DEFAULT= MDB SYNCPROV DYNAMIC_BACKENDS > >@@ -119,6 +120,7 @@ > LMPASSWD_DESC= With LM hash password support (DEPRECATED) > DYNAMIC_BACKENDS_DESC= Build dynamic backends > OUTLOOK_DESC= Force caseIgnoreOrderingMatch on name attribute (experimental) >+LASTBIND_DESC= With lastbind overlay > .endif > > .if defined(CLIENT_ONLY) >@@ -351,6 +353,10 @@ > CONFIGURE_ARGS+= --enable-dynacl > .endif > >+.if ${PORT_OPTIONS:MLASTBIND} >+CONFIGURE_ARGS+= --enable-lastbind >+.endif >+ > .if !${PORT_OPTIONS:MBDB} > CONFIGURE_ARGS+= --disable-bdb \ > --disable-hdb >@@ -449,6 +455,12 @@ > PLIST_SUB+= SHA2="@comment " > .endif > >+.if ${PORT_OPTIONS:MLASTBIND} >+PLIST_SUB+= LASTBIND="" >+.else >+PLIST_SUB+= LASTBIND="@comment " >+.endif >+ > .if ${PORT_OPTIONS:MRLOOKUPS} > CONFIGURE_ARGS+= --enable-rlookups > PLIST_SUB+= RLOOKUPS="" >@@ -552,6 +564,11 @@ > ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ > ${MAKE_ARGS} prefix="${PREFIX}" all) > .endif >+.if ${PORT_OPTIONS:MLASTBIND} >+ @(cd ${BUILD_WRKSRC}/contrib/slapd-modules/lastbind && \ >+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ >+ ${MAKE_ARGS} prefix="${PREFIX}" all) >+.endif > .endif > > pre-install: >@@ -588,6 +605,12 @@ > ${MAKE_ARGS} prefix="${PREFIX}" install) > ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.a > .endif >+.if ${PORT_OPTIONS:MLASTBIND} >+ @(cd ${WRKSRC}/contrib/slapd-modules/lastbind && \ >+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ >+ ${MAKE_ARGS} prefix="${PREFIX}" install) >+ ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/lastbind.a >+.endif > .if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSMBPWD} || ${PORT_OPTIONS:MSHA2} > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so > .endif >diff -ru openldap24-server.orig/pkg-plist openldap24-server/pkg-plist >--- openldap24-server.orig/pkg-plist 2014-09-29 19:52:52.000000000 -0500 >+++ openldap24-server/pkg-plist 2017-09-21 10:01:40.911345000 -0500 >@@ -34,7 +34,7 @@ > %%SLAPI%%lib/libslapi.a > %%SLAPI%%lib/libslapi.la > %%SLAPI%%lib/libslapi.so >-%%MODULES%%@exec mkdir -p %D/libexec/openldap >+%%MODULES%%@preexec mkdir -p %D/libexec/openldap > %%BACK_BDB%%libexec/openldap/back_bdb-%%OPENLDAP_MAJOR%%.so.%%SHLIB_MAJOR%% > %%BACK_BDB%%libexec/openldap/back_bdb-%%OPENLDAP_MAJOR%%.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%% > %%BACK_BDB%%libexec/openldap/back_bdb.la >@@ -99,6 +99,10 @@ > %%SMBPWD%%libexec/openldap/smbk5pwd.so > %%SMBPWD%%libexec/openldap/smbk5pwd.so.0 > %%SMBPWD%%libexec/openldap/smbk5pwd.so.0.0.0 >+%%LASTBIND%%libexec/openldap/lastbind.la >+%%LASTBIND%%libexec/openldap/lastbind.so >+%%LASTBIND%%libexec/openldap/lastbind.so.0 >+%%LASTBIND%%libexec/openldap/lastbind.so.0.0.0 > libexec/slapd > man/man5/slapd-bdb.5.gz > man/man5/slapd-config.5.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222623
: 186739