diff options
author | mrg <mrg@pkgsrc.org> | 2008-03-07 18:17:26 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2008-03-07 18:17:26 +0000 |
commit | c1a8d29bb179f31e83ea03bd9a4c8b6a3d80609a (patch) | |
tree | fddbd4fd9f7826f5bec9c3dff875057551eece31 /www | |
parent | d895e3ea64daca3bf3f7e5c9bb0b292cf804a952 (diff) | |
download | pkgsrc-c1a8d29bb179f31e83ea03bd9a4c8b6a3d80609a.tar.gz |
incorporate a fix from the master bozohttpd repo: fix files with spaces.
(or any special char, with no ?.)
Diffstat (limited to 'www')
-rw-r--r-- | www/bozohttpd/Makefile | 3 | ||||
-rw-r--r-- | www/bozohttpd/distinfo | 3 | ||||
-rw-r--r-- | www/bozohttpd/patches/patch-ac | 24 |
3 files changed, 28 insertions, 2 deletions
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile index 6015059c62a..d598ec523d0 100644 --- a/www/bozohttpd/Makefile +++ b/www/bozohttpd/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.61 2008/03/03 15:53:03 jlam Exp $ +# $NetBSD: Makefile,v 1.62 2008/03/07 18:17:26 mrg Exp $ # DISTNAME= bozohttpd-20080303 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 ee228e4b6a2..70e6621a216 100644 --- a/www/bozohttpd/distinfo +++ b/www/bozohttpd/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.44 2008/03/03 15:53:03 jlam Exp $ +$NetBSD: distinfo,v 1.45 2008/03/07 18:17:26 mrg Exp $ SHA1 (bozohttpd-20080303.tar.bz2) = 44810304239d5dd2ffe7853f15e69ffa211e384f RMD160 (bozohttpd-20080303.tar.bz2) = 2941823266033b204c4aa3f5d63d488b70b78a64 Size (bozohttpd-20080303.tar.bz2) = 34469 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 new file mode 100644 index 00000000000..cc3eb68d726 --- /dev/null +++ b/www/bozohttpd/patches/patch-ac @@ -0,0 +1,24 @@ +$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++; + } |