summaryrefslogtreecommitdiff
path: root/www/thttpd
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 /www/thttpd
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 'www/thttpd')
-rw-r--r--www/thttpd/Makefile4
-rw-r--r--www/thttpd/files/thttpd.sh4
-rw-r--r--www/thttpd/pkg/PLIST4
3 files changed, 7 insertions, 5 deletions
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