summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-09 19:37:48 +0000
committerjlam <jlam@pkgsrc.org>2004-01-09 19:37:48 +0000
commitab147d0e74442dc100a148c5b77145fd6b1f434b (patch)
treeb860ed2b1cbc5f8ea359a0561d66d8a479429b2f /security/cyrus-sasl2/Makefile
parent565e59814a22b0f64825587a2e33e56101235175 (diff)
downloadpkgsrc-ab147d0e74442dc100a148c5b77145fd6b1f434b.tar.gz
Update cyrus-sasl2 to 2.1.15nb2. Changes from version 2.1.15nb1 are
splitting out the saslauthd daemon into a separate package, security/cyrus-saslauthd. This allows the saslauthd daemon to support additional database backends for plaintext authentication without adding unrelated dependencies to the cyrus-sasl2 package.
Diffstat (limited to 'security/cyrus-sasl2/Makefile')
-rw-r--r--security/cyrus-sasl2/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 6ab58502fe5..be33b166960 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2004/01/08 22:13:14 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2004/01/09 19:37:48 jlam Exp $
.include "Makefile.common"
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= csasl
COMMENT= Simple Authentication and Security Layer
@@ -19,25 +19,19 @@ CONFIGURE_ARGS+= --with-rc4
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.include "../../security/openssl/buildlink3.mk"
-BUILD_DEFS+= USE_PAM SASL_USE_GSSAPI
+BUILD_DEFS+= SASL_USE_GSSAPI
.if exists(/dev/urandom)
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
.endif
-# saslauthd needs to find libraries for different authentication mechanisms.
-.if defined(USE_PAM)
-. include "../../security/PAM/buildlink3.mk"
-CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.pam}
-.endif
-
.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
CONFIGURE_ARGS+= --enable-gssapi=/usr # GSSAPI
PLIST_SRC+= ${PKGDIR}/PLIST.krb5
. if exists(/usr/include/krb5/krb5.h)
CPPFLAGS+= -I/usr/include/krb5
. endif
-LIBS+=-lcrypto
+LIBS+= -lcrypto
.endif
PLIST_SRC+= ${PKGDIR}/PLIST.plugins
@@ -50,6 +44,8 @@ PKG_USERS= ${CYRUS_USER}:${CYRUS_GROUP}::::${SH}
RCD_SCRIPTS= saslauthd
OWN_DIRS= ${PLUGINDIR}
+MESSAGE_SUBST+= _PLUGINDIR=${_PLUGINDIR}
+
post-install:
${INSTALL_DATA_DIR} ${HTMLDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt ${HTMLDIR}