summaryrefslogtreecommitdiff
path: root/www/webalizer
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-06-28 20:00:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-06-28 20:00:49 +0000
commit3848dedf9a4f8d3d3000e1791d1929d726ceeca2 (patch)
tree8de27c072ee979205843b1897f8fcd166322ff82 /www/webalizer
parentHarden a wording of ``do not commit here'' warning at the top of the file. It (diff)
Attached is a patch to fix a problem I noticed where webalizer
was crashing everytime it was run with -M1 and it encountered a log entry created by Opera/5.0. Here's an example entry just for reference. as6-5-2.kp.g.bonet.se - - [28/Jun/2001:03:32:35 -0500] "GET / HTTP/1.1" 200 2078 "-" "Opera/5.0 (Linux 2.4.5 i686; U) [en]" Submitted by: steve
Notes
Notes: svn path=/head/; revision=44533
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile2
-rw-r--r--www/webalizer/files/patch-ac21
2 files changed, 16 insertions, 7 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 19e6e2268d61..3184847ae7e2 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -7,7 +7,7 @@
PORTNAME= webalizer
PORTVERSION= 2.1.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES+= www
MASTER_SITES= ftp://ftp.mrunix.net/pub/webalizer/ \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
diff --git a/www/webalizer/files/patch-ac b/www/webalizer/files/patch-ac
index 2f257c710ad7..9039f1fb13b7 100644
--- a/www/webalizer/files/patch-ac
+++ b/www/webalizer/files/patch-ac
@@ -1,5 +1,5 @@
---- webalizer.c.orig Fri Oct 6 11:59:08 2000
-+++ webalizer.c Sat Oct 14 17:17:29 2000
+--- webalizer.c.orig Mon Oct 16 23:15:53 2000
++++ webalizer.c Thu Jun 28 12:52:50 2001
@@ -569,7 +569,7 @@
/* convert month name to lowercase */
@@ -9,7 +9,16 @@
/* get year/month/day/hour/min/sec values */
for (i=0;i<12;i++)
-@@ -1459,19 +1459,19 @@
+@@ -820,7 +820,7 @@
+ cp1=strstr(str,"Opera"); /* Netscape flavor */
+ if (cp1!=NULL)
+ {
+- while (*cp1!=' '&&*cp1!=' '&&*cp1!='\0') *cp2++=*cp1++;
++ while (*cp1!='/'&&*cp1!=' '&&*cp1!='\0') *cp2++=*cp1++;
+ while (*cp1!='.'&&*cp1!='\0') *cp2++=*cp1++;
+ if (mangle_agent<5)
+ {
+@@ -1460,19 +1460,19 @@
while ( (fgets(buffer,BUFSIZE,fp)) != NULL)
{
/* skip comments and blank lines */
@@ -33,7 +42,7 @@
/* check if blank keyword/value */
if ( (keyword[0]=='\0') || (value[0]=='\0') ) continue;
-@@ -1720,7 +1720,7 @@
+@@ -1721,7 +1721,7 @@
int isurlchar(char ch)
{
@@ -42,7 +51,7 @@
return (strchr(":/\\.,' *-+_@~()[]",ch)!=NULL); /* and a few special ones */
}
-@@ -1813,7 +1813,7 @@
+@@ -1814,7 +1814,7 @@
if (*cp1=='+') *cp1=' '; /* change + to space */
if (sp_flg && *cp1==' ') { cp1++; continue; } /* compress spaces */
if (*cp1==' ') sp_flg=1; else sp_flg=0; /* (flag spaces here) */
@@ -51,7 +60,7 @@
cp1++;
}
}
-@@ -1848,7 +1848,7 @@
+@@ -1849,7 +1849,7 @@
int i=group_domains+1;
cp = str+strlen(str)-1;