pkgsrc/www/adzap/patches/patch-ab
simonb eddb542343 Update to version 20060414:
- Add more ad patterns.
 - Add ADJSTEXT and ADHTMLTEXT zap classes.

Note: adds the STUBURL_ADJSTEXT and STUBURL_ADHTMLTEXT variables; users
should update to the latest adzap.conf as shown in the install message.
2006-04-17 08:56:08 +00:00

43 lines
1.5 KiB
Text

$NetBSD: patch-ab,v 1.13 2006/04/17 08:56:09 simonb Exp $
--- scripts/adzap.conf.orig Mon Apr 17 08:45:56 2006
+++ scripts/adzap.conf Mon Apr 17 08:45:56 2006
@@ -0,0 +1,38 @@
+# example adzap configuration file
+# copy this file over to /etc/adzap.conf,
+# then modify this to match your install
+
+ZAP_MODE= # or "CLEAR"
+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
+
+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
+ZAP_MATCH= # pathname of extra pattern file
+ # for patterns to use instead of the
+ # inbuilt pattern list
+ZAP_NO_CHANGE= # set to "NULL" is your proxy is Apache2 instead of Squid
+
+STUBURL_AD=$ZAP_BASE/ad.gif
+STUBURL_ADSSL=$ZAP_BASE_SSL/ad.gif
+STUBURL_ADBG=$ZAP_BASE/adbg.gif
+STUBURL_ADJS=$ZAP_BASE/no-op.js
+STUBURL_ADJSTEXT=
+STUBURL_ADHTML=$ZAP_BASE/no-op.html
+STUBURL_ADHTMLTEXT=
+STUBURL_ADMP3=$ZAP_BASE/ad.mp3
+STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
+STUBURL_ADSWF=$ZAP_BASE/ad.swf
+STUBURL_COUNTER=$ZAP_BASE/counter.gif
+STUBURL_COUNTERJS=$ZAP_BASE/no-op-counter.js
+STUBURL_COUNTERHTML=$ZAP_BASE/no-op-counter.html
+STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
+STUBURL_WEBBUGJS=$ZAP_BASE/webbug.js
+STUBURL_WEBBUGHTML=$ZAP_BASE/webbug.html
+
+STUBURL_PRINT= # off by default, set to 1