Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2010 23:13:11 GMT
From:      Oleg Pudeyev <oleg@bsdpower.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152464: www/bozohttpd: update to 20100920, fix prefix substitutions
Message-ID:  <201011212313.oALNDB0T007439@red.freebsd.org>
Resent-Message-ID: <201011212320.oALNK9Bj082815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.post.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011212313.oALNDB0T007439>