summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-08-19 06:35:43 +0000
committerAlin Năstac <mrness@gentoo.org>2006-08-19 06:35:43 +0000
commitd19bd56e8cf37c36f93369a50944837cf75483d2 (patch)
treefe30bae80d9e77a6cc258324dc2e6d955da0e174 /net-proxy/havp/files/havp-0.82-gentoo.patch
parentNew patch to fix the watch file and reload feature thanks to Johan Nilsson <w... (diff)
downloadgentoo-2-d19bd56e8cf37c36f93369a50944837cf75483d2.tar.gz
gentoo-2-d19bd56e8cf37c36f93369a50944837cf75483d2.tar.bz2
gentoo-2-d19bd56e8cf37c36f93369a50944837cf75483d2.zip
Remove old version. Version bump (#142767). Demote "need clamd" to "use clamd" (havp can use clamlib instead clamd).
(Portage version: 2.1-r2)
Diffstat (limited to 'net-proxy/havp/files/havp-0.82-gentoo.patch')
-rw-r--r--net-proxy/havp/files/havp-0.82-gentoo.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/net-proxy/havp/files/havp-0.82-gentoo.patch b/net-proxy/havp/files/havp-0.82-gentoo.patch
new file mode 100644
index 000000000000..86d619e81396
--- /dev/null
+++ b/net-proxy/havp/files/havp-0.82-gentoo.patch
@@ -0,0 +1,56 @@
+diff -Nurd havp-0.82.orig/etc/havp/havp.config havp-0.82/etc/havp/havp.config
+--- havp-0.82.orig/etc/havp/havp.config 2006-08-10 20:03:49.000000000 +0200
++++ havp-0.82/etc/havp/havp.config 2006-08-10 20:04:45.000000000 +0200
+@@ -187,7 +187,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.
+@@ -201,13 +201,13 @@
+ # List of URLs not to scan.
+ #
+ # Default:
+-# WHITELIST /usr/local/etc/havp/whitelist
++# WHITELIST /etc/havp/whitelist
+
+ #
+ # List of URLs that are denied access.
+ #
+ # Default:
+-# BLACKLIST /usr/local/etc/havp/blacklist
++# BLACKLIST /etc/havp/blacklist
+
+ #
+ # Is scanner error fatal?
+diff -Nurd havp-0.82.orig/havp/default.h.in havp-0.82/havp/default.h.in
+--- havp-0.82.orig/havp/default.h.in 2006-08-10 20:03:49.000000000 +0200
++++ havp-0.82/havp/default.h.in 2006-08-10 20:04:11.000000000 +0200
+@@ -51,7 +51,7 @@
+ "ENABLEAVAST","AVASTSOCKET","AVASTSERVER","AVASTPORT"
+ //SCANNERS
+
+-#define CONFIGFILE "/usr/local/etc/havp/havp.config"
++#define CONFIGFILE "/etc/havp/havp.config"
+
+
+ //##############################################################
+diff -Nurd havp-0.82.orig/havp/params.cpp havp-0.82/havp/params.cpp
+--- havp-0.82.orig/havp/params.cpp 2006-08-10 20:03:49.000000000 +0200
++++ havp-0.82/havp/params.cpp 2006-08-10 20:05:52.000000000 +0200
+@@ -58,9 +58,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");