aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-03-10 17:04:08 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-03-10 17:04:08 +0000
commit42932524a20556ddbb6ef34552f1f732309be215 (patch)
treeca73fb7ed0217e5cc19bd2e5d228e46ca6c038a9 /www/webalizer
parent829ded25bf340c80583ce2c22847c5609309a3b5 (diff)
downloadports-42932524a20556ddbb6ef34552f1f732309be215.tar.gz
ports-42932524a20556ddbb6ef34552f1f732309be215.zip
Notes
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/webalizer/files/patch-unescape11
-rw-r--r--www/webalizer/files/webalizer-a-urasim_2.patch9
3 files changed, 12 insertions, 10 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 769b5ae7ff6a..f48d13307ddc 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webalizer
PORTVERSION= 2.1.10
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/:main \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/:main \
diff --git a/www/webalizer/files/patch-unescape b/www/webalizer/files/patch-unescape
new file mode 100644
index 000000000000..f14c9b37871f
--- /dev/null
+++ b/www/webalizer/files/patch-unescape
@@ -0,0 +1,11 @@
+--- webalizer.c.a-urasim Wed Apr 17 07:11:31 2002
++++ webalizer.c Tue Dec 23 23:26:23 2003
+@@ -1783,7 +1809,7 @@
+ if (*cp1) *cp2=from_hex(*cp1++)*16; /* convert hex to an ascii */
+ if (*cp1) *cp2+=from_hex(*cp1); /* (hopefully) character */
+ if ((*cp2<32)||(*cp2==127)) *cp2='_'; /* make '_' if its bad */
+- if (*cp1) cp2++; cp1++;
++ if (*cp1){ cp2++; cp1++;} /* bug? */
+ }
+ else *cp2++='%';
+ }
diff --git a/www/webalizer/files/webalizer-a-urasim_2.patch b/www/webalizer/files/webalizer-a-urasim_2.patch
index 9195ab73c0b9..42d49acc14d0 100644
--- a/www/webalizer/files/webalizer-a-urasim_2.patch
+++ b/www/webalizer/files/webalizer-a-urasim_2.patch
@@ -61,15 +61,6 @@
while (*cp1)
{
if (*cp1=='%') /* Found an escape? */
-@@ -1783,7 +1809,7 @@
- if (*cp1) *cp2=from_hex(*cp1++)*16; /* convert hex to an ascii */
- if (*cp1) *cp2+=from_hex(*cp1); /* (hopefully) character */
- if ((*cp2<32)||(*cp2==127)) *cp2='_'; /* make '_' if its bad */
-- if (*cp1) cp2++; cp1++;
-+ if (*cp1){ cp2++; cp1++;} /* bug? */
- }
- else *cp2++='%';
- }
@@ -1793,6 +1819,116 @@
return str; /* return the string */
}