diff options
author | jlam <jlam@pkgsrc.org> | 2000-09-20 05:14:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-09-20 05:14:10 +0000 |
commit | 9ab26c50e757b016baab010f1848e70930d79601 (patch) | |
tree | 7a9e5bc09df1c0b7f00e130e375ea67861dddb42 /www/apache6 | |
parent | dd8983b561979bc51e7cde31119a2946fec98936 (diff) | |
download | pkgsrc-9ab26c50e757b016baab010f1848e70930d79601.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/apache6')
-rw-r--r-- | www/apache6/Makefile | 4 | ||||
-rw-r--r-- | www/apache6/files/apache.sh | 4 | ||||
-rw-r--r-- | www/apache6/pkg/PLIST | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/www/apache6/Makefile b/www/apache6/Makefile index c8f2715347c..dec25b1befd 100644 --- a/www/apache6/Makefile +++ b/www/apache6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2000/09/08 11:42:43 itojun Exp $ +# $NetBSD: Makefile,v 1.18 2000/09/20 05:14:12 jlam Exp $ # # The fourth number in the PKGNAME version indicates a NetBSD pkg revision # (to indicate changes in the shipped third party patches such as the mod_ssl @@ -108,7 +108,7 @@ post-build: post-install: ${INSTALL_DATA} ${DISTDIR}/sitedrivenby.gif \ ${PREFIX}/share/httpd/htdocs - ${INSTALL_SCRIPT} ${WRKDIR}/apache.sh ${PREFIX}/etc/rc.d/apache.sh + ${INSTALL_SCRIPT} ${WRKDIR}/apache.sh ${PREFIX}/etc/rc.d/apache @${MV} ${PREFIX}/lib/httpd/libproxy.so \ ${PREFIX}/lib/httpd/mod_proxy.so 2>/dev/null || \ ${MKDIR} ${PREFIX}/lib/httpd diff --git a/www/apache6/files/apache.sh b/www/apache6/files/apache.sh index 8c09bea64c3..95df689a22a 100644 --- a/www/apache6/files/apache.sh +++ b/www/apache6/files/apache.sh @@ -1,7 +1,9 @@ #!/bin/sh # -# $NetBSD: apache.sh,v 1.2 2000/07/10 12:22:30 hubertf Exp $ +# $NetBSD: apache.sh,v 1.3 2000/09/20 05:14:12 jlam Exp $ # +# PROVIDE: apache +# REQUIRE: DAEMON CMD=${1:-start} diff --git a/www/apache6/pkg/PLIST b/www/apache6/pkg/PLIST index 05342fc4019..fa0ca8653e2 100644 --- a/www/apache6/pkg/PLIST +++ b/www/apache6/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2000/08/15 10:31:25 itojun Exp $ +@comment $NetBSD: PLIST,v 1.6 2000/09/20 05:14:13 jlam Exp $ bin/dbmmanage bin/htdigest bin/htpasswd @@ -8,7 +8,7 @@ etc/httpd/magic.default @exec if [ ! -f %D/etc/httpd/magic ]; then cp -p %D/etc/httpd/magic.default %D/etc/httpd/magic; fi etc/httpd/mime.types.default @exec if [ ! -f %D/etc/httpd/mime.types ]; then cp -p %D/etc/httpd/mime.types.default %D/etc/httpd/mime.types; fi -etc/rc.d/apache.sh +etc/rc.d/apache include/httpd/alloc.h include/httpd/ap.h include/httpd/ap_compat.h |