freebsd-ports/www/adzap/files/patch-scripts-wrapzap

24 lines
770 B
Text
Raw Normal View History

--- scripts/wrapzap.orig Fri Nov 25 14:36:00 2005
+++ scripts/wrapzap Fri Nov 25 15:39:42 2005
@@ -16,9 +16,9 @@
#
# modify this to match your install
2003-10-05 06:17:38 +02:00
-zapper=/usr/local/bin/squid_redirect
+zapper=%%PREFIX%%/libexec/squid_redirect
-ZAP_MODE= # or "CLEAR"
+ZAP_MODE=blank # or blank
ZAP_BASE=http://adzapper.sourceforge.net/zaps # a local web server will be better
ZAP_BASE_SSL=https://adzapper.sourceforge.net/zaps # this can probably be ignored
@@ -50,6 +50,8 @@
STUBURL_WEBBUGHTML=$ZAP_BASE/webbug.html
2003-10-05 06:17:38 +02:00
STUBURL_PRINT= # off by default, set to 1
+
+. %%PREFIX%%/etc/adzap.conf
2003-10-05 06:17:38 +02:00
export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH ZAP_MATCH ZAP_NO_CHANGE
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \