blob: bd73223831978b4f3882ce4e90bf5408cc19320f (
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
|
$NetBSD: patch-aa,v 1.2 2000/05/20 13:32:14 sommerfeld Exp $
--- wrapzap.orig Tue May 9 01:12:22 2000
+++ wrapzap Sat May 20 08:46:05 2000
@@ -16,24 +16,9 @@
#
# modify this to match your install
-zapper=/usr/local/script/squid_redirect
+zapper=@@PREFIX@@/libexec/squid_redirect
-ZAP_MODE= # or "CLEAR"
-ZAP_BASE=http://adzap.cs.zip.com.au # a local web server will be better
-ZAP_CHAINING= # set to "1" or "FULL" if chaining
- # redirectors; see web page
-ZAP_PREMATCH= # pathname of extra pattern file
- # for patterns to preempt the stock
- # zapper
-ZAP_POSTMATCH= # pathname of extra pattern file
- # for patterns in addition to the
- # stock zapper; this is the one to
- # which you should add new ads
-STUBURL_AD=$ZAP_BASE/ad.gif
-STUBURL_ADJS=$ZAP_BASE/no-op.js
-STUBURL_ADHTML=$ZAP_BASE/no-op.html
-STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
-STUBURL_COUNTER=$ZAP_BASE/counter.gif
+. /etc/adzap.conf
export ZAP_MODE ZAP_BASE ZAP_CHAINING ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADJS STUBURL_ADHTML STUBURL_ADPOPUP \
|