summaryrefslogtreecommitdiff
path: root/www/adzap
diff options
context:
space:
mode:
Diffstat (limited to 'www/adzap')
-rw-r--r--www/adzap/Makefile4
-rw-r--r--www/adzap/files/md54
-rw-r--r--www/adzap/files/patch-sum6
-rw-r--r--www/adzap/patches/patch-aa17
-rw-r--r--www/adzap/patches/patch-ab6
5 files changed, 17 insertions, 20 deletions
diff --git a/www/adzap/Makefile b/www/adzap/Makefile
index 329fbc6035d..fc17d22b380 100644
--- a/www/adzap/Makefile
+++ b/www/adzap/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2001/04/04 07:08:48 simonb Exp $
+# $NetBSD: Makefile,v 1.12 2001/04/04 07:17:05 simonb Exp $
#
-DISTNAME= adzap-20010227
+DISTNAME= adzap-20010403
CATEGORIES= www perl5
MASTER_SITES= http://www.zip.com.au/~cs/adzap/
diff --git a/www/adzap/files/md5 b/www/adzap/files/md5
index 3990e9ad3fa..8abaa79fa76 100644
--- a/www/adzap/files/md5
+++ b/www/adzap/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.7 2001/03/05 20:21:20 wiz Exp $
+$NetBSD: md5,v 1.8 2001/04/04 07:17:05 simonb Exp $
-MD5 (adzap-20010227.tar.gz) = 2c8f9c957d320630c0550a3415790bcb
+SHA1 (adzap-20010403.tar.gz) = f3e498a4c78120b40ef9b338e02dc0838557c1d7
diff --git a/www/adzap/files/patch-sum b/www/adzap/files/patch-sum
index 7eb43567efd..d44cb25d489 100644
--- a/www/adzap/files/patch-sum
+++ b/www/adzap/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.3 2001/01/14 14:06:01 simonb Exp $
+$NetBSD: patch-sum,v 1.4 2001/04/04 07:17:05 simonb Exp $
-MD5 (patch-aa) = 8b4e841c66db26cc180da69416882d07
-MD5 (patch-ab) = fc2846ff29202bc4dd81bf403390e882
+SHA1 (patch-aa) = 4bcfa1d96fecb3bea7d4abf410c71c446bfdae8c
+SHA1 (patch-ab) = a7c3d22cff52e65639b3f99e48f2a2424f152de0
diff --git a/www/adzap/patches/patch-aa b/www/adzap/patches/patch-aa
index 786ceeb8d23..dd57e352be2 100644
--- a/www/adzap/patches/patch-aa
+++ b/www/adzap/patches/patch-aa
@@ -1,18 +1,15 @@
-$NetBSD: patch-aa,v 1.3 2001/01/14 14:06:01 simonb Exp $
+$NetBSD: patch-aa,v 1.4 2001/04/04 07:17:05 simonb Exp $
---- wrapzap.orig Thu Jan 11 12:23:23 2001
-+++ wrapzap Mon Jan 15 00:49:46 2001
-@@ -16,26 +16,9 @@
+--- wrapzap.orig Tue Apr 3 10:24:56 2001
++++ wrapzap Wed Apr 4 17:01:34 2001
+@@ -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
@@ -27,7 +24,9 @@ $NetBSD: patch-aa,v 1.3 2001/01/14 14:06:01 simonb Exp $
-STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
-STUBURL_COUNTER=$ZAP_BASE/counter.gif
-STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
++zapper=@@PREFIX@@/libexec/squid_redirect
++
+. /etc/adzap.conf
- export ZAP_MODE ZAP_BASE ZAP_CHAINING ZAP_PREMATCH ZAP_POSTMATCH
+ export ZAP_MODE ZAP_BASE ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADJS STUBURL_ADHTML STUBURL_ADPOPUP \
diff --git a/www/adzap/patches/patch-ab b/www/adzap/patches/patch-ab
index fe112826825..65f43d33f3a 100644
--- a/www/adzap/patches/patch-ab
+++ b/www/adzap/patches/patch-ab
@@ -1,16 +1,14 @@
-$NetBSD: patch-ab,v 1.2 2001/01/14 14:06:01 simonb Exp $
+$NetBSD: patch-ab,v 1.3 2001/04/04 07:17:05 simonb Exp $
--- /dev/null Mon Jan 15 00:57:20 2001
+++ adzap.conf Mon Jan 15 00:59:08 2001
-@@ -0,0 +1,22 @@
+@@ -0,0 +1,20 @@
+# 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_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