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. --- www/thttpd/Makefile | 4 ++-- www/thttpd/files/thttpd.sh | 4 +++- www/thttpd/pkg/PLIST | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'www/thttpd') diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile index 757382d157e..4c26236b7f5 100644 --- a/www/thttpd/Makefile +++ b/www/thttpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2000/07/27 12:47:33 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2000/09/20 05:14:13 jlam Exp $ DISTNAME= thttpd-2.19 CATEGORIES= www @@ -35,7 +35,7 @@ pre-install: post-install: ${INSTALL_DATA} ${WRKDIR}/thttpd.conf ${PREFIX}/share/examples - ${INSTALL_SCRIPT} ${WRKDIR}/thttpd.sh ${PREFIX}/etc/rc.d + ${INSTALL_SCRIPT} ${WRKDIR}/thttpd.sh ${PREFIX}/etc/rc.d/thttpd ${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/thttpd ${INSTALL_DATA} ${DISTDIR}/sitedrivenby.gif ${PREFIX}/share/thttpd PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL diff --git a/www/thttpd/files/thttpd.sh b/www/thttpd/files/thttpd.sh index 3a8bcd26ba6..d941b96cdb6 100644 --- a/www/thttpd/files/thttpd.sh +++ b/www/thttpd/files/thttpd.sh @@ -1,7 +1,9 @@ #!/bin/sh # -# $NetBSD: thttpd.sh,v 1.2 2000/08/06 02:51:59 jlam Exp $ +# $NetBSD: thttpd.sh,v 1.3 2000/09/20 05:14:13 jlam Exp $ # +# PROVIDE: thttpd +# REQUIRE: DAEMON name="thttpd" command=@PREFIX@/sbin/${name} diff --git a/www/thttpd/pkg/PLIST b/www/thttpd/pkg/PLIST index 0dc40dad219..689071fb49c 100644 --- a/www/thttpd/pkg/PLIST +++ b/www/thttpd/pkg/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.11 2000/08/06 02:48:35 jlam Exp $ -etc/rc.d/thttpd.sh +@comment $NetBSD: PLIST,v 1.12 2000/09/20 05:14:13 jlam Exp $ +etc/rc.d/thttpd libexec/cgi-bin/redirect libexec/cgi-bin/phf libexec/cgi-bin/ssi -- cgit v1.2.3