You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.3 KiB
85 lines
2.3 KiB
Index: Makefile |
|
--- Makefile.orig 2006-03-30 17:31:49.000000000 +0200 |
|
+++ Makefile 2013-02-05 08:35:59.962151188 +0100 |
|
@@ -5,7 +5,7 @@ |
|
|
|
DEBUG?= -g |
|
CFLAGS?= -O2 -Wall -W |
|
-CCOPT= $(CFLAGS) |
|
+CCOPT= $(CFLAGS) $(CPPFLAGS) |
|
|
|
OBJ = visitors.o aht.o antigetopt.o tail.o |
|
PRGNAME = visitors |
|
@@ -14,7 +14,7 @@ |
|
|
|
visitors.o: visitors.c blacklist.h |
|
visitors: $(OBJ) |
|
- $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) |
|
+ $(CC) -o $(PRGNAME) $(LDFLAGS) $(CCOPT) $(DEBUG) $(OBJ) |
|
|
|
.c.o: |
|
$(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $< |
|
Index: visitors.1 |
|
--- visitors.1.orig 2006-03-30 17:31:49.000000000 +0200 |
|
+++ visitors.1 2013-02-05 08:35:59.962151188 +0100 |
|
@@ -291,7 +291,7 @@ |
|
Set the max number of entries in the domains report. |
|
.PP |
|
.TP 8 |
|
-.BI "\-P \-\-prefix" " number" |
|
+.BI "\-P \-\-prefix" " string" |
|
Prefixes specify to visitors how a link should look like to be |
|
classified as internal to your site. This option is required for |
|
.B --trails |
|
Index: visitors.c |
|
--- visitors.c.orig 2006-03-30 17:31:49.000000000 +0200 |
|
+++ visitors.c 2013-02-05 08:37:08.822148359 +0100 |
|
@@ -1435,10 +1435,15 @@ |
|
"MSIE 4", "Explorer 4.x", |
|
"MSIE 5", "Explorer 5.x", |
|
"MSIE 6", "Explorer 6.x", |
|
+ "MSIE 7", "Explorer 7.x", |
|
+ "MSIE 8", "Explorer 8.x", |
|
+ "MSIE 9", "Explorer 9.x", |
|
+ "MSIE 10", "Explorer 10.x", |
|
"MSIE", "Explorer unknown version", |
|
"Safari", NULL, |
|
"Konqueror", NULL, |
|
"Galeon", NULL, |
|
+ "Iceweasel", NULL, |
|
"Firefox", NULL, |
|
"MultiZilla", NULL, |
|
"Gecko", "Other Mozilla based", |
|
@@ -1447,6 +1452,7 @@ |
|
"Links ", "Links", |
|
"ELinks ", "Links", |
|
"Elinks ", "Links", |
|
+ "Liferea", NULL, |
|
"w3m", "W3M", |
|
"NATSU-MICAN", NULL, |
|
"msnbot", "MSNbot", |
|
@@ -1460,6 +1466,15 @@ |
|
"NSPlayer", NULL, |
|
"Googlebot", "GoogleBot", |
|
"googlebot", "GoogleBot", |
|
+ "yacybot", "YaCy-Bot", |
|
+ "Sogou", "Sogou.com Bot", |
|
+ "psbot", "Picsearch.com Bot", |
|
+ "sosospider", "Soso.com Bot", |
|
+ "Baiduspider+", "Baidu.com Bot", |
|
+ "Yandex", "Yandex.com Bot", |
|
+ "Yeti", "Nava.com Bot", |
|
+ "APT-HTTP", "Apt", |
|
+ "git", "Git", |
|
"", "Unknown", |
|
NULL, NULL, |
|
}; |
|
@@ -2279,7 +2294,7 @@ |
|
r = (0xAA*val)/max; |
|
g = (0xBB*val)/max; |
|
b = (0xFF*val)/max; |
|
- fprintf(fp, "<td style=\"background-color: #%02X%02X%02X;\"> </td>\n", r, g, b); |
|
+ fprintf(fp, "<td style=\"background-color: #%02X%02X%02X;\" title=\"%d\"> </td>\n", r, g, b, val); |
|
} |
|
fprintf(fp, "</tr>\n"); |
|
}
|
|
|