From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 21 23:20:09 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9705C1065695 for ; Sun, 21 Nov 2010 23:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5C58FC29 for ; Sun, 21 Nov 2010 23:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oALNK9ta082816 for ; Sun, 21 Nov 2010 23:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oALNK9Bj082815; Sun, 21 Nov 2010 23:20:09 GMT (envelope-from gnats) Resent-Date: Sun, 21 Nov 2010 23:20:09 GMT Resent-Message-Id: <201011212320.oALNK9Bj082815@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oleg Pudeyev Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B46D41065670 for ; Sun, 21 Nov 2010 23:13:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 895158FC0C for ; Sun, 21 Nov 2010 23:13:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oALNDBDu007440 for ; Sun, 21 Nov 2010 23:13:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oALNDB0T007439; Sun, 21 Nov 2010 23:13:11 GMT (envelope-from nobody) Message-Id: <201011212313.oALNDB0T007439@red.freebsd.org> Date: Sun, 21 Nov 2010 23:13:11 GMT From: Oleg Pudeyev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152464: www/bozohttpd: update to 20100920, fix prefix substitutions X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2010 23:20:09 -0000 >Number: 152464 >Category: ports >Synopsis: www/bozohttpd: update to 20100920, fix prefix substitutions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Nov 21 23:20:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Oleg Pudeyev >Release: 8.1-stable >Organization: >Environment: FreeBSD jungle.universe 8.1-STABLE FreeBSD 8.1-STABLE #2: Wed Oct 20 01:55:26 EDT 2010 build@butter.universe:/home/build/obj/home/src/src/sys/GENERIC amd64 >Description: Attached patch updates www/bozohttpd to 20100920 and fixes prefix substitutions. Note that there is also an absolute path reference to php binary in the man page which I did not touch. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ur /usr/ports/www/bozohttpd/Makefile bozohttpd/Makefile --- /usr/ports/www/bozohttpd/Makefile 2010-08-03 02:15:00.000000000 -0400 +++ bozohttpd/Makefile 2010-11-21 18:05:49.000000000 -0500 @@ -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 @@ MANCOMPRESSED= maybe PLIST_FILES= libexec/bozohttpd +post-patch: + @${REINPLACE_CMD} -e 's|@@PREFIX@@|${LOCALBASE}|g' ${WRKSRC}/bozohttpd.8 + .include diff -ur /usr/ports/www/bozohttpd/distinfo bozohttpd/distinfo --- /usr/ports/www/bozohttpd/distinfo 2010-08-03 02:15:00.000000000 -0400 +++ bozohttpd/distinfo 2010-11-21 18:05:49.000000000 -0500 @@ -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 -ur /usr/ports/www/bozohttpd/files/patch-bozohttpd.8 bozohttpd/files/patch-bozohttpd.8 --- /usr/ports/www/bozohttpd/files/patch-bozohttpd.8 2008-06-27 08:27:14.000000000 -0400 +++ bozohttpd/files/patch-bozohttpd.8 2010-11-21 18:05:49.000000000 -0500 @@ -9,8 +9,8 @@ .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 @@ 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 >Release-Note: >Audit-Trail: >Unformatted: