summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-10-15 20:30:25 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-10-15 20:30:25 +0000
commit23d4eded05a3f7685649e1c0c61368fca525b760 (patch)
treed361a79e917a8fe8c339057b248681e6f9a0c970 /security/cyrus-sasl2
parentRename patch-Makefile to patch-Makefile.in to correctly reflect the file (diff)
- Add WITH_LDAP option which includes OpenLDAP2 support into
saslauthd(8). - Install saslauthd(8) related docs. OpenLDAP2 support is described in LDAP_SASLAUTHD.
Notes
Notes: svn path=/head/; revision=68119
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile14
-rw-r--r--security/cyrus-sasl2/pkg-plist8
2 files changed, 21 insertions, 1 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 0ebb29729f8a..fe70f63155a5 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-sasl
PORTVERSION= 2.1.9
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.westbend.net/pub/cyrus-mail/ \
@@ -63,6 +63,12 @@ CONFIGURE_ARGS+= --disable-otp
OTP= "@comment "
.endif
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+CONFIGURE_ARGS+= --with-ldap=${PREFIX}
+.endif
+
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME})
@@ -92,6 +98,8 @@ DOC2= ONEWS TODO draft-burdis-cat-srp-sasl-06.txt \
rfc2444.txt rfc2595.txt rfc2831.txt rfc2945.txt rfc3174.txt \
server-plugin-flow.fig testing.txt
+SASLAUTHD_DOCS= AUTHORS COPYING ChangeLog INSTALL LDAP_SASLAUTHD NEWS README
+
HTDOCS= advanced appconvert gssapi index install macosx options \
plugprog programming readme sysadmin upgrading
@@ -143,6 +151,7 @@ post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
+ @${MKDIR} ${DOCSDIR}/saslauthd
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@@ -152,6 +161,9 @@ post-install:
.for file in ${HTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}/html
.endfor
+.for file in ${SASLAUTHD_DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/saslauthd/${file} ${DOCSDIR}/saslauthd
+.endfor
@${INSTALL_DATA} ${FILESDIR}/Sendmail.README ${DOCSDIR}
.endif
@PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist
index c8fd3e17833a..906371c1c309 100644
--- a/security/cyrus-sasl2/pkg-plist
+++ b/security/cyrus-sasl2/pkg-plist
@@ -80,7 +80,15 @@ sbin/saslpasswd2
%%PORTDOCS%%%%DOCSDIR%%/html/readme.html
%%PORTDOCS%%%%DOCSDIR%%/html/sysadmin.html
%%PORTDOCS%%%%DOCSDIR%%/html/upgrading.html
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/LDAP_SASLAUTHD
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/saslauthd/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/saslauthd
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/sasl2
@mode ug=rwx,o=