From fa7812e071ecc65c9ca4ddeb3e095c0222e95e34 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 18 Apr 2009 07:01:38 +0000 Subject: update to bozohttpd 20090417. changes since bozohttpd 20080303: o make bozohttpd internally more modular, preparing the way to handle more than one request per process o fix http-auth, set $REMOTE_USER not $REMOTEUSER. also fix cgi-bin with cvsweb, from Holger Weiss o fix an uninitialised variable use in daemon mode o fix ssl mode with newer OpenSSL o mmap large files in manageable sizes so we can serve any size file o refactor url processing to handle query strings correctly for CGI from Sergey Katsev at Coyote Point o add If-Modified-Since support, from Joerg Sonnenberger o many more manual fixes, from NetBSD --- www/bozohttpd/Makefile | 5 ++--- www/bozohttpd/distinfo | 9 ++++----- www/bozohttpd/patches/patch-ac | 24 ------------------------ 3 files changed, 6 insertions(+), 32 deletions(-) delete mode 100644 www/bozohttpd/patches/patch-ac diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index 251b272bf60..016763e53ab 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.63 2008/03/07 22:00:43 jlam Exp $ +# $NetBSD: Makefile,v 1.64 2009/04/18 07:01:38 mrg Exp $ # -DISTNAME= bozohttpd-20080303 +DISTNAME= bozohttpd-20090417 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_LOCAL} EXTRACT_SUFX= .tar.bz2 -PKGREVISION= 1 MAINTAINER= mrg@eterna.com.au HOMEPAGE= http://www.eterna.com.au/bozohttpd/ diff --git a/www/bozohttpd/distinfo b/www/bozohttpd/distinfo index 70e6621a216..25c769eab59 100644 --- a/www/bozohttpd/distinfo +++ b/www/bozohttpd/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.45 2008/03/07 18:17:26 mrg Exp $ +$NetBSD: distinfo,v 1.46 2009/04/18 07:01:38 mrg Exp $ -SHA1 (bozohttpd-20080303.tar.bz2) = 44810304239d5dd2ffe7853f15e69ffa211e384f -RMD160 (bozohttpd-20080303.tar.bz2) = 2941823266033b204c4aa3f5d63d488b70b78a64 -Size (bozohttpd-20080303.tar.bz2) = 34469 bytes +SHA1 (bozohttpd-20090417.tar.bz2) = 3ffacc60ceb15ca4a4b247a07df74f2fbd99269a +RMD160 (bozohttpd-20090417.tar.bz2) = 1dae43331e9e8a3ef9190d666e5b62bebb4b9f74 +Size (bozohttpd-20090417.tar.bz2) = 36304 bytes SHA1 (patch-aa) = f1934786cb309cee8ec1c77e0760ee1e79b90f8f SHA1 (patch-ab) = 010c130d315975d8a5ffcc3995bd951f6ecb619a -SHA1 (patch-ac) = 353cef11f6d72f32a48db4389a47d1c7664f1c4f diff --git a/www/bozohttpd/patches/patch-ac b/www/bozohttpd/patches/patch-ac deleted file mode 100644 index cc3eb68d726..00000000000 --- a/www/bozohttpd/patches/patch-ac +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ac,v 1.9 2008/03/07 18:17:26 mrg Exp $ - -Index: bozohttpd.c -=================================================================== -RCS file: /home/cvs/bozohttpd/bozohttpd.c,v -retrieving revision 1.140 -diff -p -u -r1.140 bozohttpd.c ---- bozohttpd.c 28 Sep 2006 05:24:29 -0000 1.140 -+++ bozohttpd.c 7 Mar 2008 18:07:53 -0000 -@@ -1379,12 +1379,12 @@ fix_url_percent(http_req *request) - buf[2] = '\0'; - s++; - *t = (char)strtol(buf, NULL, 16); -- debug((DEBUG_EXPLODING, "fu_%%: strtol put %c into *t", *t)); -+ debug((DEBUG_EXPLODING, "fu_%%: strtol put '%c' into *t", *t)); - if (*t++ == '\0') - http_error(400, request, "percent hack got a 0 back"); - - while (*s && *s != '%') { -- if (s >= end) -+ if (end && s >= end) - break; - *t++ = *s++; - } -- cgit v1.2.3