freebsd-ports/www/adzap/files/patch-aa

24 lines
811 B
Text
Raw Normal View History

--- scripts/wrapzap.orig Fri May 17 01:37:42 2002
+++ scripts/wrapzap Fri May 17 01:38:15 2002
@@ -16,9 +16,9 @@
#
# modify this to match your install
-zapper=/usr/local/script/squid_redirect
+zapper=%%PREFIX%%/libexec/squid_redirect
-ZAP_MODE= # or "CLEAR"
+ZAP_MODE=CLEAR # or "CLEAR"
ZAP_BASE=http://adzap.cs.zip.com.au # a local web server will be better
ZAP_BASE_SSL=https://adzap.cs.zip.com.au # this can probably be ignored
ZAP_PREMATCH= # pathname of extra pattern file
@@ -40,6 +40,8 @@
STUBURL_COUNTERJS=$ZAP_BASE/no-op-counter.js
STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
STUBURL_WEBBUGJS=$ZAP_BASE/webbug.js
+
+. %%PREFIX%%/etc/adzap.conf
export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \