summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-12-13 16:24:50 +0000
committerjlam <jlam@pkgsrc.org>2000-12-13 16:24:50 +0000
commit012eb86717f6ac1d2ed2858f136d94104efb8d88 (patch)
treeb47c43dfe128707f25dced218b322f46feefeff2 /security/cyrus-sasl
parent70e636c13d416a49ca1e74414fdda2cf7e187624 (diff)
downloadpkgsrc-012eb86717f6ac1d2ed2858f136d94104efb8d88.tar.gz
Rename `pwcheck' rc.d control script to `sasl_pwcheck' to avoid name clash
with NetBSD 1.5's existing /etc/rc.d/pwcheck script.
Diffstat (limited to 'security/cyrus-sasl')
-rw-r--r--security/cyrus-sasl/Makefile7
-rw-r--r--security/cyrus-sasl/files/sasl_pwcheck.sh (renamed from security/cyrus-sasl/files/pwcheck.sh)8
-rw-r--r--security/cyrus-sasl/pkg/PLIST.common4
3 files changed, 10 insertions, 9 deletions
diff --git a/security/cyrus-sasl/Makefile b/security/cyrus-sasl/Makefile
index d44787057ff..43647bdf862 100644
--- a/security/cyrus-sasl/Makefile
+++ b/security/cyrus-sasl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/12/11 09:04:52 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/12/13 16:24:50 jlam Exp $
DISTNAME= cyrus-sasl-1.5.24
PKGNAME= ${DISTNAME}nb2
@@ -97,7 +97,7 @@ pre-configure:
post-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
- < ${FILESDIR}/pwcheck.sh > ${WRKDIR}/pwcheck.sh
+ < ${FILESDIR}/sasl_pwcheck.sh > ${WRKDIR}/sasl_pwcheck.sh
pre-install:
${SED} -e "s,@CYRUS_USER@,${CYRUS_USER},g" \
@@ -120,7 +120,8 @@ pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/pwcheck.sh ${PREFIX}/etc/rc.d/pwcheck
+ ${INSTALL_SCRIPT} ${WRKDIR}/sasl_pwcheck.sh \
+ ${PREFIX}/etc/rc.d/sasl_pwcheck
${INSTALL_DATA_DIR} ${HTMLDIR}
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.txt ${HTMLDIR}
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
diff --git a/security/cyrus-sasl/files/pwcheck.sh b/security/cyrus-sasl/files/sasl_pwcheck.sh
index fe63b450a6f..0be74555483 100644
--- a/security/cyrus-sasl/files/pwcheck.sh
+++ b/security/cyrus-sasl/files/sasl_pwcheck.sh
@@ -1,15 +1,15 @@
#!/bin/sh
#
-# $NetBSD: pwcheck.sh,v 1.1 2000/12/10 09:43:37 jlam Exp $
+# $NetBSD: sasl_pwcheck.sh,v 1.1 2000/12/13 16:24:51 jlam Exp $
#
# The pwcheck daemon allows UNIX password authentication with Cyrus SASL.
#
-# PROVIDE: pwcheck
+# PROVIDE: sasl_pwcheck
# REQUIRE: DAEMON
-name="pwcheck"
-command=@PREFIX@/sbin/${name}
+name="sasl_pwcheck"
+command=@PREFIX@/sbin/pwcheck
command_args="& sleep 2"
pid=`ps -ax | awk '{print $1,$5}' | grep ${name} | awk '{print $1}'`
diff --git a/security/cyrus-sasl/pkg/PLIST.common b/security/cyrus-sasl/pkg/PLIST.common
index 10b27c5745c..dc89f5e397c 100644
--- a/security/cyrus-sasl/pkg/PLIST.common
+++ b/security/cyrus-sasl/pkg/PLIST.common
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST.common,v 1.2 2000/12/10 09:43:38 jlam Exp $
+@comment $NetBSD: PLIST.common,v 1.3 2000/12/13 16:24:51 jlam Exp $
bin/sasl-config
-etc/rc.d/pwcheck
+etc/rc.d/sasl_pwcheck
include/hmac-md5.h
include/sasl.h
include/saslplug.h