summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-25 08:00:24 +0000
committerrh <rh@pkgsrc.org>2000-10-25 08:00:24 +0000
commit730ce0d3c49186429472959fe02e321eec29e935 (patch)
tree9e28025e80f5512d84b5212e978768ed452ba654 /security
parent7a18f8f61303216a6fd38c53c939a82191b47c05 (diff)
downloadpkgsrc-730ce0d3c49186429472959fe02e321eec29e935.tar.gz
Update cyrus-sasl to 1.5.24nb1. Changes are:
* enable pwcheck method if CYRUS_USE_PWCHECK is set (closes PR 11305 by David Edmondson <dme@dme.org>) * only enable Kerberos 4 if KERBEROS is set to 4 (depends on kth-krb4, in this case), otherwise explicitly disable Kerberos
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl/Makefile21
-rw-r--r--security/cyrus-sasl/pkg/PLIST.krb44
-rw-r--r--security/cyrus-sasl/pkg/PLIST.pwcheck2
3 files changed, 25 insertions, 2 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index 0f00671f9a7..b3deb6d93d7 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2000/10/21 18:50:49 rh Exp $
+# $NetBSD: Makefile,v 1.3 2000/10/25 08:00:24 rh Exp $
DISTNAME= cyrus-sasl-1.5.24
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
@@ -26,10 +27,26 @@ CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/sasl
CONFIGURE_ARGS+= --with-pam=${PREFIX}
DEPENDS+= PAM-*:../../security/PAM
.endif
+.if defined(CYRUS_USE_PWCHECK)
+CONFIGURE_ARGS+= --with-pwcheck
+.endif
+.if defined(KERBEROS) && (${KERBEROS} == 4)
+CONFIGURE_ARGS+= --enable-krb4
+DEPENDS+= kth-krb4-*:../../security/kth-krb4
+.else
+CONFIGURE_ARGS+= --disable-krb4
+.endif
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
post-build:
- ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} > ${PLIST_SRC}
+ ${ECHO} > ${PLIST_SRC}
+.if defined(CYRUS_USE_PWCHECK)
+ ${CAT} ${PKGDIR}/PLIST.pwcheck >> ${PLIST_SRC}
+.endif
+.if defined(KERBEROS) && (${KERBEROS} == 4)
+ ${CAT} ${PKGDIR}/PLIST.krb4 >> ${PLIST_SRC}
+.endif
+ ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
diff --git a/security/cyrus-sasl/pkg/PLIST.krb4 b/security/cyrus-sasl/pkg/PLIST.krb4
new file mode 100644
index 00000000000..f86cfc5a61f
--- /dev/null
+++ b/security/cyrus-sasl/pkg/PLIST.krb4
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.krb4,v 1.1 2000/10/25 08:00:24 rh Exp $
+lib/sasl/libkerberos4.a
+lib/sasl/libkerberos4.la
+lib/sasl/libkerberos4.so.1.15
diff --git a/security/cyrus-sasl/pkg/PLIST.pwcheck b/security/cyrus-sasl/pkg/PLIST.pwcheck
new file mode 100644
index 00000000000..f52fa8e7387
--- /dev/null
+++ b/security/cyrus-sasl/pkg/PLIST.pwcheck
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.pwcheck,v 1.1 2000/10/25 08:00:25 rh Exp $
+sbin/pwcheck