2001-04-04 09:17:05 +02:00
|
|
|
$NetBSD: patch-aa,v 1.4 2001/04/04 07:17:05 simonb Exp $
|
2000-04-25 11:40:25 +02:00
|
|
|
|
2001-04-04 09:17:05 +02:00
|
|
|
--- wrapzap.orig Tue Apr 3 10:24:56 2001
|
|
|
|
+++ wrapzap Wed Apr 4 17:01:34 2001
|
|
|
|
@@ -16,24 +16,9 @@
|
2000-04-25 11:40:25 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# modify this to match your install
|
|
|
|
-zapper=/usr/local/script/squid_redirect
|
2001-04-04 09:17:05 +02:00
|
|
|
-
|
2000-04-25 11:40:25 +02:00
|
|
|
-ZAP_MODE= # or "CLEAR"
|
|
|
|
-ZAP_BASE=http://adzap.cs.zip.com.au # a local web server will be better
|
|
|
|
-ZAP_PREMATCH= # pathname of extra pattern file
|
2000-05-20 15:32:13 +02:00
|
|
|
- # for patterns to preempt the stock
|
2000-04-25 11:40:25 +02:00
|
|
|
- # zapper
|
|
|
|
-ZAP_POSTMATCH= # pathname of extra pattern file
|
|
|
|
- # for patterns in addition to the
|
2000-05-20 15:32:13 +02:00
|
|
|
- # stock zapper; this is the one to
|
|
|
|
- # which you should add new ads
|
2000-04-25 11:40:25 +02:00
|
|
|
-STUBURL_AD=$ZAP_BASE/ad.gif
|
2001-01-14 15:06:01 +01:00
|
|
|
-STUBURL_ADBG=$ZAP_BASE/adbg.gif
|
2000-04-25 11:40:25 +02:00
|
|
|
-STUBURL_ADJS=$ZAP_BASE/no-op.js
|
|
|
|
-STUBURL_ADHTML=$ZAP_BASE/no-op.html
|
|
|
|
-STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
|
2000-05-20 15:32:13 +02:00
|
|
|
-STUBURL_COUNTER=$ZAP_BASE/counter.gif
|
2001-01-14 15:06:01 +01:00
|
|
|
-STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
|
2001-04-04 09:17:05 +02:00
|
|
|
+zapper=@@PREFIX@@/libexec/squid_redirect
|
|
|
|
+
|
2000-04-25 11:40:25 +02:00
|
|
|
+. /etc/adzap.conf
|
|
|
|
|
2001-04-04 09:17:05 +02:00
|
|
|
export ZAP_MODE ZAP_BASE ZAP_PREMATCH ZAP_POSTMATCH
|
2000-05-20 15:32:13 +02:00
|
|
|
export STUBURL_AD STUBURL_ADJS STUBURL_ADHTML STUBURL_ADPOPUP \
|