summaryrefslogtreecommitdiff
blob: 0f86370184f37406abaaded39b6822cfaa656e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff -Nru havp-0.79.orig/etc/havp/havp.config havp-0.79/etc/havp/havp.config
--- havp-0.79.orig/etc/havp/havp.config	2006-03-29 13:12:29.000000000 +0300
+++ havp-0.79/etc/havp/havp.config	2006-04-14 11:54:02.000000000 +0300
@@ -182,7 +182,7 @@
 # Path to template files.
 #
 # Default:
-# TEMPLATEPATH /usr/local/etc/havp/templates/en
+# TEMPLATEPATH /etc/havp/templates/en
 
 #
 # Set to true if you want to prefer Whitelist.
@@ -196,13 +196,13 @@
 # Whitelist of URLs not to scan.
 #
 # Default:
-# WHITELIST /usr/local/etc/havp/whitelist
+# WHITELIST /etc/havp/whitelist
 
 #
 # Blacklist of URLs that are denied access.
 #
 # Default:
-# BLACKLIST /usr/local/etc/havp/blacklist
+# BLACKLIST /etc/havp/blacklist
 
 #
 # Is scanner error fatal?
diff -Nru havp-0.79.orig/havp/default.h.in havp-0.79/havp/default.h.in
--- havp-0.79.orig/havp/default.h.in	2006-03-29 13:04:37.000000000 +0300
+++ havp-0.79/havp/default.h.in	2006-04-14 11:54:44.000000000 +0300
@@ -49,7 +49,7 @@
  "ENABLESOPHIE","SOPHIESOCKET"
 //SCANNERS
 
-#define CONFIGFILE "/usr/local/etc/havp/havp.config"
+#define CONFIGFILE "/etc/havp/havp.config"
 
 
 //##############################################################
diff -Nru havp-0.79.orig/havp/params.cpp havp-0.79/havp/params.cpp
--- havp-0.79.orig/havp/params.cpp	2006-03-29 12:44:39.000000000 +0300
+++ havp-0.79/havp/params.cpp	2006-04-14 11:55:44.000000000 +0300
@@ -46,9 +46,9 @@
     SetConfig("KEEPBACKTIME",	"5");
     SetConfig("TRICKLING",	"30");
     SetConfig("WHITELISTFIRST",	"true");
-    SetConfig("WHITELIST",	"/usr/local/etc/havp/whitelist");
-    SetConfig("BLACKLIST",	"/usr/local/etc/havp/blacklist");
-    SetConfig("TEMPLATEPATH",	"/usr/local/etc/havp/templates/en");
+    SetConfig("WHITELIST",	"/etc/havp/whitelist");
+    SetConfig("BLACKLIST",	"/etc/havp/blacklist");
+    SetConfig("TEMPLATEPATH",	"/etc/havp/templates/en");
     SetConfig("TEMPDIR",	"/var/tmp");
     SetConfig("SCANTEMPFILE",	"/var/tmp/havp/havp-XXXXXX");
     SetConfig("PIDFILE",	"/var/run/havp/havp.pid");