From 730ce0d3c49186429472959fe02e321eec29e935 Mon Sep 17 00:00:00 2001 From: rh Date: Wed, 25 Oct 2000 08:00:24 +0000 Subject: Update cyrus-sasl to 1.5.24nb1. Changes are: * enable pwcheck method if CYRUS_USE_PWCHECK is set (closes PR 11305 by David Edmondson ) * only enable Kerberos 4 if KERBEROS is set to 4 (depends on kth-krb4, in this case), otherwise explicitly disable Kerberos --- security/cyrus-sasl/Makefile | 21 +++++++++++++++++++-- security/cyrus-sasl/pkg/PLIST.krb4 | 4 ++++ security/cyrus-sasl/pkg/PLIST.pwcheck | 2 ++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 security/cyrus-sasl/pkg/PLIST.krb4 create mode 100644 security/cyrus-sasl/pkg/PLIST.pwcheck (limited to 'security/cyrus-sasl') 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 -- cgit v1.2.3