in bozohttpd.8, honor PREFIX. also, use "bozohttpd" instead of "httpd"
to sync with reality.
This commit is contained in:
parent
ed4085196c
commit
e24e4fbc2d
3 changed files with 18 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2000/08/27 09:04:31 itojun Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2000/08/31 12:12:58 itojun Exp $
|
||||
#
|
||||
|
||||
DISTNAME= bozohttpd-5.06
|
||||
|
@ -19,4 +19,11 @@ CPPFLAGS+= -DINET6
|
|||
MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${MV} ${WRKSRC}/bozohttpd.8 ${WRKSRC}/bozohttpd.8.in
|
||||
|
||||
post-patch:
|
||||
${SED} -e "s,@PREFIX@,${PREFIX},g" <${WRKSRC}/bozohttpd.8.in \
|
||||
>${WRKSRC}/bozohttpd.8
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-sum,v 1.5 2000/08/27 09:04:31 itojun Exp $
|
||||
$NetBSD: patch-sum,v 1.6 2000/08/31 12:12:58 itojun Exp $
|
||||
|
||||
MD5 (patch-aa) = c02c925955768359ff9fdcb5be35582d
|
||||
MD5 (patch-ab) = 3da41d9dc8351deebc89203830e2f903
|
||||
MD5 (patch-ab) = e3bca9cdb796bc4d052f08995a0bb745
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
$NetBSD: patch-ab,v 1.5 2000/08/27 09:04:31 itojun Exp $
|
||||
--- bozohttpd.8.orig Fri Aug 25 03:17:05 2000
|
||||
+++ bozohttpd.8 Sun Aug 27 02:02:10 2000
|
||||
@@ -112,3 +112,4 @@
|
||||
$NetBSD: patch-ab,v 1.6 2000/08/31 12:12:59 itojun Exp $
|
||||
--- bozohttpd.8.in.orig Fri Aug 25 03:17:05 2000
|
||||
+++ bozohttpd.8.in Thu Aug 31 05:08:12 2000
|
||||
@@ -112,3 +112,6 @@
|
||||
entry would be:
|
||||
-.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www
|
||||
+.Dl www stream tcp nowait httpd /usr/pkg/libexec/httpd httpd /var/www
|
||||
+.Dl www stream tcp6 nowait httpd /usr/pkg/libexec/httpd httpd /var/www
|
||||
+.Bd -literal
|
||||
+www stream tcp nowait httpd @PREFIX@/libexec/bozohttpd bozohttpd /var/www
|
||||
+www stream tcp6 nowait httpd @PREFIX@/libexec/bozohttpd bozohttpd /var/www
|
||||
+.Ed
|
||||
.Pp
|
||||
|
|
Loading…
Reference in a new issue