pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/bozohttpd incorporate a fix from the master bozoht...
details: https://anonhg.NetBSD.org/pkgsrc/rev/65cc14e9d7b9
branches: trunk
changeset: 539501:65cc14e9d7b9
user: mrg <mrg%pkgsrc.org@localhost>
date: Fri Mar 07 18:17:26 2008 +0000
description:
incorporate a fix from the master bozohttpd repo: fix files with spaces.
(or any special char, with no ?.)
diffstat:
www/bozohttpd/Makefile | 3 ++-
www/bozohttpd/distinfo | 3 ++-
www/bozohttpd/patches/patch-ac | 24 ++++++++++++++++++++++++
3 files changed, 28 insertions(+), 2 deletions(-)
diffs (57 lines):
diff -r 1299388a9b19 -r 65cc14e9d7b9 www/bozohttpd/Makefile
--- a/www/bozohttpd/Makefile Fri Mar 07 18:02:30 2008 +0000
+++ b/www/bozohttpd/Makefile Fri Mar 07 18:17:26 2008 +0000
@@ -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@localhost
HOMEPAGE= http://www.eterna.com.au/bozohttpd/
diff -r 1299388a9b19 -r 65cc14e9d7b9 www/bozohttpd/distinfo
--- a/www/bozohttpd/distinfo Fri Mar 07 18:02:30 2008 +0000
+++ b/www/bozohttpd/distinfo Fri Mar 07 18:17:26 2008 +0000
@@ -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 -r 1299388a9b19 -r 65cc14e9d7b9 www/bozohttpd/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bozohttpd/patches/patch-ac Fri Mar 07 18:17:26 2008 +0000
@@ -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++;
+ }
Home |
Main Index |
Thread Index |
Old Index