Update to adzap 20010417

This commit is contained in:
Kris Kennaway 2001-04-17 16:11:10 +00:00
parent 440bcdb879
commit 6322bbde7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41569
4 changed files with 13 additions and 18 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= adzap
PORTVERSION= 20010227
PORTVERSION= 20010417
CATEGORIES= www perl5
MASTER_SITES= http://www.zip.com.au/~cs/adzap/
@ -23,11 +23,11 @@ do-configure:
-e "s:@@PREFIX@@:${PREFIX}:g" \
<${WRKSRC}/${FILE}.orig >${WRKSRC}/${FILE}
.endfor
${SED} s,%PREFIX%,${PREFIX}, < ${WRKSRC}/wrapzap > ${WRKSRC}/adzap
# ${SED} s,%PREFIX%,${PREFIX}, < ${WRKSRC}/wrapzap > ${WRKSRC}/adzap
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/squid_redirect ${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/adzap ${PREFIX}/libexec
${INSTALL_SCRIPT} ${WRKSRC}/wrapzap ${PREFIX}/libexec/adzap
${MKDIR} ${PREFIX}/share/examples/adzap
.for FILE in adzap.conf proxy-cisra.pac proxy-home.pac proxy-zip.pac \
closepopup-clear.html no-op-clear.html closepopup.html no-op.html \

View file

@ -1 +1 @@
MD5 (adzap-20010227.tar.gz) = 2c8f9c957d320630c0550a3415790bcb
MD5 (adzap-20010417.tar.gz) = 6dbb664a731c6fe1c19914d572b687d8

View file

@ -1,18 +1,13 @@
$NetBSD: patch-aa,v 1.2 2000/05/20 13:32:14 sommerfeld Exp $
--- wrapzap.orig Thu Jan 11 12:23:23 2001
+++ wrapzap Mon Jan 15 00:49:46 2001
@@ -16,26 +16,9 @@
--- wrapzap.orig Mon Apr 2 17:24:56 2001
+++ wrapzap Tue Apr 17 09:08:03 2001
@@ -16,25 +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 +22,9 @@ $NetBSD: patch-aa,v 1.2 2000/05/20 13:32:14 sommerfeld Exp $
-STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html
-STUBURL_COUNTER=$ZAP_BASE/counter.gif
-STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
+. %PREFIX%/etc/adzap.conf
+zapper=@@PREFIX@@/libexec/squid_redirect
export ZAP_MODE ZAP_BASE ZAP_CHAINING ZAP_PREMATCH ZAP_POSTMATCH
+. @@PREFIX@@/etc/adzap.conf
export ZAP_MODE ZAP_BASE ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADJS STUBURL_ADHTML STUBURL_ADPOPUP \
STUBURL_COUNTER STUBURL_WEBBUG

View file

@ -2,15 +2,13 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/04/25 09:40:25 rh 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 ${PREFIX}/etc/adzap.conf,
+# then modify this to match your install
+
+ZAP_MODE=CLEAR # 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