summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-13 09:03:15 +0000
committerjlam <jlam@pkgsrc.org>2004-01-13 09:03:15 +0000
commit2569632971dd836720f02179afb53471abac057a (patch)
treef8feab0521eea4c6f7c7204f79c3dcbe5c8e4106 /security
parent29903eb0aa45244be16178e05521bf049d576a89 (diff)
downloadpkgsrc-2569632971dd836720f02179afb53471abac057a.tar.gz
Bump the version of security/cyrus-saslauthd to 2.1.17nb1: install the
saslcache and testsaslauthd programs that are useful to test and debug the setup of saslauthd.
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-saslauthd/Makefile12
-rw-r--r--security/cyrus-saslauthd/PLIST4
2 files changed, 13 insertions, 3 deletions
diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile
index bfe3bcdc1e9..e26ab315d0f 100644
--- a/security/cyrus-saslauthd/Makefile
+++ b/security/cyrus-saslauthd/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2004/01/13 08:13:42 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/13 09:03:15 jlam Exp $
DISTNAME= cyrus-sasl-2.1.17
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
@@ -25,6 +26,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
PLIST_SRC= ${PKGDIR}/PLIST
+ALL_TARGET= all saslcache testsaslauthd
+
BUILD_DEFS+= USE_PAM USE_LDAP SASL_USE_GSSAPI
# /var/run/saslauthd matches the default value in configure.
@@ -57,6 +60,8 @@ DEINSTALL_EXTRA_TMPL= ${PKGDIR}/DEINSTALL
RCD_SCRIPTS= saslauthd
FILES_SUBST+= ROOT_USER=${ROOT_USER}
+INSTALLATION_DIRS= bin
+
post-configure:
${LN} -sf saslauthd.h ${WRKSRC}/config.h
@@ -67,8 +72,11 @@ post-build:
${MV} -f $$f.new $$f; \
done
-.if defined(USE_LDAP)
post-install:
+ for f in saslcache testsaslauthd; do \
+ ${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/$$f; \
+ done
+.if defined(USE_LDAP)
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cyrus-saslauthd
${INSTALL_DATA} ${WRKSRC}/LDAP_SASLAUTHD \
${PREFIX}/share/doc/cyrus-saslauthd
diff --git a/security/cyrus-saslauthd/PLIST b/security/cyrus-saslauthd/PLIST
index 524ffdcabe4..31d237342c2 100644
--- a/security/cyrus-saslauthd/PLIST
+++ b/security/cyrus-saslauthd/PLIST
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2004/01/10 01:27:00 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/01/13 09:03:15 jlam Exp $
+bin/saslcache
+bin/testsaslauthd
etc/rc.d/saslauthd
man/man8/saslauthd.8
sbin/saslauthd