diff options
Diffstat (limited to 'net-proxy/havp/files/havp-0.76-gentoo.patch')
-rw-r--r-- | net-proxy/havp/files/havp-0.76-gentoo.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/net-proxy/havp/files/havp-0.76-gentoo.patch b/net-proxy/havp/files/havp-0.76-gentoo.patch new file mode 100644 index 000000000000..b8540c7f049f --- /dev/null +++ b/net-proxy/havp/files/havp-0.76-gentoo.patch @@ -0,0 +1,62 @@ +diff -Nur havp-0.76.orig/etc/havp/havp.config havp-0.76/etc/havp/havp.config +--- havp-0.76.orig/etc/havp/havp.config 2006-01-08 18:29:00.000000000 +0200 ++++ havp-0.76/etc/havp/havp.config 2006-01-15 20:55:18.320500500 +0200 +@@ -24,7 +24,7 @@ + # + # Default: + # USER nobody +-# GROUP nogroup ++# GROUP nobody + + # + # The process id (PID) of the main HAVP process is written to this file. +@@ -159,7 +159,7 @@ + # en, de, it + # + # Default: +-# TEMPLATEPATH /usr/local/etc/havp/templates/en ++# TEMPLATEPATH /etc/havp/templates/en + + # + # Allow Range Requests +@@ -176,14 +176,14 @@ + # URL which won't be scanned + # + # Default: +-# WHITELIST /usr/local/etc/havp/whitelist ++# WHITELIST /etc/havp/whitelist + + # + # Blacklist files + # URL which are denied + # + # Default: +-# BLACKLIST /usr/local/etc/havp/blacklist ++# BLACKLIST /etc/havp/blacklist + + # + # Max size of downloads which were scanned +diff -Nur havp-0.76.orig/havp/default.h.in havp-0.76/havp/default.h.in +--- havp-0.76.orig/havp/default.h.in 2006-01-08 18:32:36.000000000 +0200 ++++ havp-0.76/havp/default.h.in 2006-01-15 20:54:57.835220250 +0200 +@@ -45,15 +45,15 @@ + #endif + #endif + +-#define WHITELISTFILE "/usr/local/etc/havp/whitelist" +-#define BLACKLISTFILE "/usr/local/etc/havp/blacklist" +-#define TEMPLATEDIR "/usr/local/etc/havp/templates/en" +-#define CONFIGFILE "/usr/local/etc/havp/havp.config" ++#define WHITELISTFILE "/etc/havp/whitelist" ++#define BLACKLISTFILE "/etc/havp/blacklist" ++#define TEMPLATEDIR "/etc/havp/templates/en" ++#define CONFIGFILE "/etc/havp/havp.config" + + + //Change to User and Group + #define USER "nobody" +-#define GROUP "nogroup" ++#define GROUP "nobody" + + //Fork min server + #define SERVERNUMBER 4 |