From 9ab26c50e757b016baab010f1848e70930d79601 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 20 Sep 2000 05:14:10 +0000 Subject: 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. --- security/pks/Makefile | 4 ++-- security/pks/files/pksd.sh | 4 +++- security/pks/pkg/PLIST | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'security') 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 -- cgit v1.2.3