aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-19 15:26:16 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-19 15:26:16 +0000
commit182d8192436e0980409c6a29dd71eff6ebcb6cc1 (patch)
tree9b246f959c33c17e1a6d51692da98ca17c909bfb /net/openldap24-server
parent2301579cf445abca21acb0bf867e1b0fdc1201c1 (diff)
downloadports-182d8192436e0980409c6a29dd71eff6ebcb6cc1.tar.gz
ports-182d8192436e0980409c6a29dd71eff6ebcb6cc1.zip
Notes
Diffstat (limited to 'net/openldap24-server')
-rw-r--r--net/openldap24-server/Makefile24
-rw-r--r--net/openldap24-server/pkg-plist2
2 files changed, 12 insertions, 14 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 4bd756a5dacb..d03b8beed9d3 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -59,7 +59,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 2
-PORTREVISION_SERVER= 4
+PORTREVISION_SERVER= 5
OPENLDAP_SHLIB_MAJOR= 2
OPENLDAP_MAJOR= ${DISTVERSION:R}
@@ -539,22 +539,18 @@ post-install:
done
.else
@${MKDIR} ${STAGEDIR}${LDAP_RUN_DIR}
-.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS}
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so.${OPENLDAP_SHLIB_MAJOR}
-.endif
.if ${PORT_OPTIONS:MSMBPWD}
- @${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/smbk5pwd.la \
- ${STAGEDIR}${PREFIX}/libexec/openldap/
- @${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/smbk5pwd/.libs/smbk5pwd.so.0 \
- ${STAGEDIR}${PREFIX}/libexec/openldap/
- @${LN} -s smbk5pwd.so.0 ${STAGEDIR}${PREFIX}/libexec/openldap/smbk5pwd.so
+ @(cd ${WRKSRC}/contrib/slapd-modules/smbk5pwd && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
+ ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/smbk5pwd.a
.endif
.if ${PORT_OPTIONS:MSHA2}
- @${INSTALL_DATA} ${WRKSRC}/contrib/slapd-modules/passwd/sha2/pw-sha2.la \
- ${STAGEDIR}${PREFIX}/libexec/openldap/
- @${INSTALL_PROGRAM} ${WRKSRC}/contrib/slapd-modules/passwd/sha2/.libs/pw-sha2.so.0 \
- ${STAGEDIR}${PREFIX}/libexec/openldap/
- @${LN} -s pw-sha2.so.0 ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.so
+ @(cd ${WRKSRC}/contrib/slapd-modules/passwd/sha2 && ${SETENV} ${MAKE_ENV} \
+ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install)
+ ${RM} ${STAGEDIR}${PREFIX}/libexec/openldap/pw-sha2.a
+.endif
+.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSMBPWD} || ${PORT_OPTIONS:MSHA2}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so
.endif
.endif # defined(CLIENT_ONLY)
diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist
index 8ebf20ed6825..48c36a17548b 100644
--- a/net/openldap24-server/pkg-plist
+++ b/net/openldap24-server/pkg-plist
@@ -94,9 +94,11 @@
%%SHA2%%libexec/openldap/pw-sha2.la
%%SHA2%%libexec/openldap/pw-sha2.so
%%SHA2%%libexec/openldap/pw-sha2.so.0
+%%SHA2%%libexec/openldap/pw-sha2.so.0.0.0
%%SMBPWD%%libexec/openldap/smbk5pwd.la
%%SMBPWD%%libexec/openldap/smbk5pwd.so
%%SMBPWD%%libexec/openldap/smbk5pwd.so.0
+%%SMBPWD%%libexec/openldap/smbk5pwd.so.0.0.0
libexec/slapd
man/man5/slapd-bdb.5.gz
man/man5/slapd-config.5.gz