summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2000-09-20 05:14:10 +0000
committerjlam <jlam>2000-09-20 05:14:10 +0000
commit82576b0183776231bcd578b8ad89befd1f3b2d17 (patch)
tree7a9e5bc09df1c0b7f00e130e375ea67861dddb42 /security
parentd2577d5e637120c235a3c89c0532c47e6888b93c (diff)
downloadpkgsrc-82576b0183776231bcd578b8ad89befd1f3b2d17.tar.gz
Install rc.d control script as "foo" instead of "foo.sh" to comply with
how NetBSD's rc.d system interprets script names. Also add appropriate REQUIRE and PROVIDE sections to allow direct use in NetBSD's rc.d system.
Diffstat (limited to 'security')
-rw-r--r--security/pks/Makefile4
-rw-r--r--security/pks/files/pksd.sh4
-rw-r--r--security/pks/pkg/PLIST4
3 files changed, 7 insertions, 5 deletions
diff --git a/security/pks/Makefile b/security/pks/Makefile
index 3ab70063d3d..91fde52af26 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/09/03 13:19:56 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2000/09/20 05:14:11 jlam Exp $
DISTNAME= pks-0.9.4
CATEGORIES= security www
@@ -26,7 +26,7 @@ post-build:
< ${FILESDIR}/pksd.sh > ${WRKDIR}/pksd.sh
post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/pksd.sh ${PREFIX}/etc/rc.d
+ ${INSTALL_SCRIPT} ${WRKDIR}/pksd.sh ${PREFIX}/etc/rc.d/pksd
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pks/files/pksd.sh b/security/pks/files/pksd.sh
index c178dba2755..6c5849446bf 100644
--- a/security/pks/files/pksd.sh
+++ b/security/pks/files/pksd.sh
@@ -1,7 +1,9 @@
#!/bin/sh
#
-# $NetBSD: pksd.sh,v 1.1.1.1 2000/07/27 16:10:24 jlam Exp $
+# $NetBSD: pksd.sh,v 1.2 2000/09/20 05:14:12 jlam Exp $
#
+# PROVIDE: pksd
+# REQUIRE: DAEMON
name="pksd"
command=${1:-start}
diff --git a/security/pks/pkg/PLIST b/security/pks/pkg/PLIST
index 03c0ae19eb0..56453eae8d3 100644
--- a/security/pks/pkg/PLIST
+++ b/security/pks/pkg/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2000/09/03 13:19:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2000/09/20 05:14:12 jlam Exp $
bin/pgpsplit
bin/pks-mail.sh
bin/pks-queue-run.sh
bin/pksclient
bin/pksd
bin/pksdctl
-etc/rc.d/pksd.sh
+etc/rc.d/pksd
man/man5/pksd.conf.5
man/man8/pks-intro.8
man/man8/pksclient.8