diff options
-rw-r--r-- | www/bozohttpd/Makefile | 5 | ||||
-rw-r--r-- | www/bozohttpd/distinfo | 5 | ||||
-rw-r--r-- | www/bozohttpd/files/patch-bozohttpd.8 | 6 |
3 files changed, 9 insertions, 7 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index 226a62b494bd..9d4e9d33823f 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bozohttpd -PORTVERSION= 20100621 +PORTVERSION= 20100920 CATEGORIES= www ipv6 MASTER_SITES= http://www.eterna.com.au/bozohttpd/ \ ${MASTER_SITE_NETBSD} @@ -54,4 +54,7 @@ MAN8= bozohttpd.8 MANCOMPRESSED= maybe PLIST_FILES= libexec/bozohttpd +post-patch: + @${REINPLACE_CMD} -e 's|@@PREFIX@@|${LOCALBASE}|g' ${WRKSRC}/bozohttpd.8 + .include <bsd.port.post.mk> diff --git a/www/bozohttpd/distinfo b/www/bozohttpd/distinfo index b265df7b5812..337a664f63a9 100644 --- a/www/bozohttpd/distinfo +++ b/www/bozohttpd/distinfo @@ -1,3 +1,2 @@ -MD5 (bozohttpd-20100621.tar.bz2) = e8a6c3c73eb1371bf836b91ba093a258 -SHA256 (bozohttpd-20100621.tar.bz2) = ffbce42859e2768997545890711002b161c173d401fb8b848f288ce93f722b84 -SIZE (bozohttpd-20100621.tar.bz2) = 46446 +SHA256 (bozohttpd-20100920.tar.bz2) = 9bdac5c171d1cd703ecd98dcd55d6571b4eece3b50c3dc8a399358ff3908fe13 +SIZE (bozohttpd-20100920.tar.bz2) = 46550 diff --git a/www/bozohttpd/files/patch-bozohttpd.8 b/www/bozohttpd/files/patch-bozohttpd.8 index 122fadda5028..f6219eae55c0 100644 --- a/www/bozohttpd/files/patch-bozohttpd.8 +++ b/www/bozohttpd/files/patch-bozohttpd.8 @@ -9,8 +9,8 @@ $FreeBSD$ .Bd -literal -http stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www -http stream tcp6 nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd /var/www -+http stream tcp nowait:600 httpd /@@PREFI@@/libexec/bozohttpd bozohttpd /var/www -+http stream tcp6 nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd /var/www ++http stream tcp nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www ++http stream tcp6 nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd /var/www .Ed .Pp This would serve web pages from @@ -19,7 +19,7 @@ $FreeBSD$ entry like: .Bd -literal -http stream tcp nowait:600 httpd /usr/pkg/libexec/bozohttpd bozohttpd -v /var/vroot /var/www -+http stream tcp nowait:600 httpd /@@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www ++http stream tcp nowait:600 httpd @@PREFIX@@/libexec/bozohttpd bozohttpd -v /var/vroot /var/www .Ed .Pp and inside |