aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-11-20 09:10:18 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-11-20 09:10:18 +0000
commitea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0 (patch)
tree1fe7c9512ccef6e9cf841a3f76d1af25bd9d1ccf /www/webalizer
parent9ce74c49b56c15a3ae83bc07fcbfd3b24f900bb5 (diff)
downloadports-ea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0.tar.gz
ports-ea5f3d2798ee1a670c4de19c7e5456c4f0ae98c0.zip
Notes
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/webalizer/files/patch-agent-bug29
2 files changed, 30 insertions, 1 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index f5acaebb02f8..89d2885d78bf 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webalizer
PORTVERSION= 2.1.10
-PORTREVISION= 5
+PORTREVISION= 6
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-agent-bug b/www/webalizer/files/patch-agent-bug
new file mode 100644
index 000000000000..5a5354581a30
--- /dev/null
+++ b/www/webalizer/files/patch-agent-bug
@@ -0,0 +1,29 @@
+--- webalizer.c.orig Sun Nov 20 09:52:31 2005
++++ webalizer.c Sun Nov 20 09:54:10 2005
+@@ -805,7 +805,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - try to get OS */
+- cp1=strstr(str,")");
++ cp1=strstr(cp1,")");
+ if (cp1!=NULL)
+ {
+ *cp2++=' ';
+@@ -840,7 +840,7 @@
+ *cp2++=*cp1++;
+ if (mangle_agent<2)
+ {
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;
+@@ -873,7 +873,7 @@
+ if (mangle_agent<2)
+ {
+ /* Level 1 - Try to get OS */
+- cp1=strstr(str,"(");
++ cp1=strstr(cp1,"(");
+ if (cp1!=NULL)
+ {
+ cp1++;