summaryrefslogtreecommitdiff
path: root/www/bozohttpd
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-02-24 13:39:57 +0000
committerwiz <wiz@pkgsrc.org>2004-02-24 13:39:57 +0000
commit2b16ac7dfc9394cbe471b78593f4a4b45b407d9f (patch)
tree98356702ac2ae4906da2eeaae8cc45a107f6eb9d /www/bozohttpd
parent2b4202c8b464ab40eedbcafa7db4e2a8f4f86247 (diff)
downloadpkgsrc-2b16ac7dfc9394cbe471b78593f4a4b45b407d9f.tar.gz
Add patch from mrg@ that removes superfluous HTTP protocol lines
at the end of CGI script output. Bump PKGREVISION to 1.
Diffstat (limited to 'www/bozohttpd')
-rw-r--r--www/bozohttpd/Makefile3
-rw-r--r--www/bozohttpd/distinfo3
-rw-r--r--www/bozohttpd/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index e2b7033d01d..6c22c95febc 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2004/02/18 13:51:14 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2004/02/24 13:39:57 wiz Exp $
#
DISTNAME= bozohttpd-20040218
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
diff --git a/www/bozohttpd/distinfo b/www/bozohttpd/distinfo
index ad2ab019b07..ba00caafbcf 100644
--- a/www/bozohttpd/distinfo
+++ b/www/bozohttpd/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.29 2004/02/18 13:40:37 mrg Exp $
+$NetBSD: distinfo,v 1.30 2004/02/24 13:39:57 wiz Exp $
SHA1 (bozohttpd-20040218.tar.bz2) = 849753fd96c75a2df7b7f79a0be329d52eabeaf9
Size (bozohttpd-20040218.tar.bz2) = 31936 bytes
+SHA1 (patch-aa) = 5d1bddf262e3da18e461a952ebda2c4aa7c86906
diff --git a/www/bozohttpd/patches/patch-aa b/www/bozohttpd/patches/patch-aa
new file mode 100644
index 00000000000..d319a8b2f56
--- /dev/null
+++ b/www/bozohttpd/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.11 2004/02/24 13:39:57 wiz Exp $
+
+--- bozohttpd.c.orig Wed Feb 18 14:11:57 2004
++++ bozohttpd.c
+@@ -1988,8 +1988,6 @@ print_cgi_header:
+ } else
+ debug((DEBUG_OBESE, "process_cgi: not-writing HTTP header .."));
+
+- /* XXX we should be printing 200 here? */
+- (void)bozoprintf("%s 200 Here it is\r\n", request->hr_proto);
+ debug((DEBUG_FAT, "process_cgi: going exec %s, %s %s %s",
+ path, argv[0], strornull(argv[1]), strornull(argv[2])));
+