summaryrefslogtreecommitdiff
path: root/www/adzap/patches
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-01-22 12:52:35 +0000
committersimonb <simonb@pkgsrc.org>2003-01-22 12:52:35 +0000
commiteb18912869fda8af3170684ef5a3cc9f4bf33525 (patch)
treead82ba94347e9bf97d05d1da6a1f48acfbdb1daf /www/adzap/patches
parent80f0925bd3d2391860186da315577ee76c54c2b6 (diff)
downloadpkgsrc-eb18912869fda8af3170684ef5a3cc9f4bf33525.tar.gz
Update to version 20030120. Adds more ad patterns. Adds a new variable
(ZAP_MATCH); users should update to the latest adzap.conf as shown in the message.
Diffstat (limited to 'www/adzap/patches')
-rw-r--r--www/adzap/patches/patch-aa19
-rw-r--r--www/adzap/patches/patch-ab17
2 files changed, 23 insertions, 13 deletions
diff --git a/www/adzap/patches/patch-aa b/www/adzap/patches/patch-aa
index 36ebbe2dd63..95cdf7fbaef 100644
--- a/www/adzap/patches/patch-aa
+++ b/www/adzap/patches/patch-aa
@@ -1,16 +1,17 @@
-$NetBSD: patch-aa,v 1.10 2002/09/07 14:23:26 simonb Exp $
+$NetBSD: patch-aa,v 1.11 2003/01/22 12:52:35 simonb Exp $
---- scripts/wrapzap.orig Fri Aug 23 10:32:23 2002
-+++ scripts/wrapzap Tue Sep 3 09:59:48 2002
-@@ -16,31 +16,9 @@
+--- scripts/wrapzap.orig Mon Oct 28 15:02:14 2002
++++ scripts/wrapzap
+@@ -16,36 +16,9 @@
#
# modify this to match your install
-zapper=/usr/local/script/squid_redirect
-
-ZAP_MODE= # 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_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
@@ -18,6 +19,10 @@ $NetBSD: patch-aa,v 1.10 2002/09/07 14:23:26 simonb Exp $
- # 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
+-
-STUBURL_AD=$ZAP_BASE/ad.gif
-STUBURL_ADSSL=$ZAP_BASE_SSL/ad.gif
-STUBURL_ADBG=$ZAP_BASE/adbg.gif
@@ -35,5 +40,5 @@ $NetBSD: patch-aa,v 1.10 2002/09/07 14:23:26 simonb Exp $
+
+. /etc/adzap.conf
- export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH
+ export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH ZAP_MATCH
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \
diff --git a/www/adzap/patches/patch-ab b/www/adzap/patches/patch-ab
index 3562ffb8e80..87a0ef1a2e1 100644
--- a/www/adzap/patches/patch-ab
+++ b/www/adzap/patches/patch-ab
@@ -1,15 +1,16 @@
-$NetBSD: patch-ab,v 1.8 2002/09/07 14:23:26 simonb Exp $
+$NetBSD: patch-ab,v 1.9 2003/01/22 12:52:36 simonb Exp $
---- scripts/adzap.conf.orig Tue Sep 3 09:57:53 2002
-+++ scripts/adzap.conf Tue Sep 3 09:57:53 2002
-@@ -0,0 +1,27 @@
+--- scripts/adzap.conf.orig Fri Nov 22 15:41:33 2002
++++ scripts/adzap.conf Fri Nov 22 15:41:33 2002
+@@ -0,0 +1,32 @@
+# 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://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_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
@@ -17,6 +18,10 @@ $NetBSD: patch-ab,v 1.8 2002/09/07 14:23:26 simonb Exp $
+ # 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
++
+STUBURL_AD=$ZAP_BASE/ad.gif
+STUBURL_ADSSL=$ZAP_BASE_SSL/ad.gif
+STUBURL_ADBG=$ZAP_BASE/adbg.gif