summaryrefslogtreecommitdiff
path: root/www/adzap
diff options
context:
space:
mode:
Diffstat (limited to 'www/adzap')
-rw-r--r--www/adzap/DESCR5
-rw-r--r--www/adzap/MESSAGE13
-rw-r--r--www/adzap/Makefile53
-rw-r--r--www/adzap/PLIST37
-rw-r--r--www/adzap/distinfo7
-rw-r--r--www/adzap/patches/patch-aa48
-rw-r--r--www/adzap/patches/patch-ab40
7 files changed, 0 insertions, 203 deletions
diff --git a/www/adzap/DESCR b/www/adzap/DESCR
deleted file mode 100644
index cccd6221291..00000000000
--- a/www/adzap/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
- Adzap is a http-redirector script for squid, that zaps by replacing
-those annoying ad banners from web pages with placeholder GIFs.
-It lives in the web proxy and so requires no special browser
-facilities. It's readily customizable, small, fast, and easy to
-install.
diff --git a/www/adzap/MESSAGE b/www/adzap/MESSAGE
deleted file mode 100644
index e6e531b4099..00000000000
--- a/www/adzap/MESSAGE
+++ /dev/null
@@ -1,13 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/24 12:30:41 wiz Exp $
-
- Adzap has now been installed. To get it up and running, copy
- ${PREFIX}/share/examples/adzap/adzap.conf to /etc and modify
- it to match your setup. Then edit your squid configuration and
- add ${PREFIX}/libexec/adzap as your http-redirector.
-
- If you run a web server, you can copy the *.{html,js,gif,swf,mp3}
- files from ${PREFIX}/share/examples/adzap to your htdocs tree and
- modify the web locations in /etc/adzap.conf accordingly.
-
-===========================================================================
diff --git a/www/adzap/Makefile b/www/adzap/Makefile
deleted file mode 100644
index a0bb591914e..00000000000
--- a/www/adzap/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# $NetBSD: Makefile,v 1.54 2005/10/12 08:48:26 kleink Exp $
-#
-
-DISTNAME= adzap-20051006
-CATEGORIES= www perl5
-# XXX: should use the following one day:
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=adzapper/}
-MASTER_SITES= http://adzapper.sourceforge.net/
-
-MAINTAINER= simonb@NetBSD.org
-HOMEPAGE= http://adzapper.sourceforge.net/
-COMMENT= Filter out animated ad banners from web pages
-
-WRKSRC= ${WRKDIR}/adzap
-NO_BUILD= yes
-USE_TOOLS+= perl:run
-
-INSTALLATION_DIRS= libexec
-
-do-configure:
-.for FILE in scripts/squid_redirect scripts/wrapzap
- ${CP} ${WRKSRC}/${FILE} ${WRKSRC}/${FILE}.ORIG
- ${SED} -e "s:/usr/bin/perl:${PERL5}:g" \
- -e "s:@@PREFIX@@:${PREFIX}:g" \
- <${WRKSRC}/${FILE}.ORIG >${WRKSRC}/${FILE}
-.endfor
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/squid_redirect ${PREFIX}/libexec
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrapzap ${PREFIX}/libexec/adzap
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/adzap
-.for FILE in ad-clear.gif ad-clear.mp3 ad-clear.swf \
- ad-grey.gif ad-old.gif \
- ad.gif ad.mp3 ad.swf \
- adbg-clear.gif adbg.gif \
- closepopup-clear.html closepopup.html \
- counter-clear.gif counter-clear.js \
- counter.gif counter.js \
- no-op-clear.html no-op-clear.js \
- no-op-counter-clear.html no-op-counter-clear.js \
- no-op-counter.html no-op-counter.js \
- no-op.html no-op.js \
- webbug-clear.gif webbug-clear.html webbug-clear.js \
- webbug.gif webbug.html webbug.js
- ${INSTALL_DATA} ${WRKSRC}/zaps/${FILE} ${PREFIX}/share/examples/adzap
-.endfor
-.for FILE in proxy-home.pac proxy-zip.pac
- ${INSTALL_DATA} ${WRKSRC}/rc/${FILE} ${PREFIX}/share/examples/adzap
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/scripts/adzap.conf \
- ${PREFIX}/share/examples/adzap
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/www/adzap/PLIST b/www/adzap/PLIST
deleted file mode 100644
index 955e35fdbe7..00000000000
--- a/www/adzap/PLIST
+++ /dev/null
@@ -1,37 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2005/01/03 23:48:21 simonb Exp $
-libexec/adzap
-libexec/squid_redirect
-share/examples/adzap/ad-clear.gif
-share/examples/adzap/ad-clear.mp3
-share/examples/adzap/ad-clear.swf
-share/examples/adzap/ad-grey.gif
-share/examples/adzap/ad-old.gif
-share/examples/adzap/ad.gif
-share/examples/adzap/ad.mp3
-share/examples/adzap/ad.swf
-share/examples/adzap/adbg-clear.gif
-share/examples/adzap/adbg.gif
-share/examples/adzap/adzap.conf
-share/examples/adzap/closepopup-clear.html
-share/examples/adzap/closepopup.html
-share/examples/adzap/counter-clear.gif
-share/examples/adzap/counter-clear.js
-share/examples/adzap/counter.gif
-share/examples/adzap/counter.js
-share/examples/adzap/no-op-clear.html
-share/examples/adzap/no-op-clear.js
-share/examples/adzap/no-op-counter-clear.html
-share/examples/adzap/no-op-counter-clear.js
-share/examples/adzap/no-op-counter.html
-share/examples/adzap/no-op-counter.js
-share/examples/adzap/no-op.html
-share/examples/adzap/no-op.js
-share/examples/adzap/proxy-home.pac
-share/examples/adzap/proxy-zip.pac
-share/examples/adzap/webbug-clear.gif
-share/examples/adzap/webbug-clear.html
-share/examples/adzap/webbug-clear.js
-share/examples/adzap/webbug.gif
-share/examples/adzap/webbug.html
-share/examples/adzap/webbug.js
-@dirrm share/examples/adzap
diff --git a/www/adzap/distinfo b/www/adzap/distinfo
deleted file mode 100644
index 9b5cc084f82..00000000000
--- a/www/adzap/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.36 2005/10/12 08:48:26 kleink Exp $
-
-SHA1 (adzap-20051006.tar.gz) = 081773a00c4f9facdc76fb022868b6c4dcc30d1b
-RMD160 (adzap-20051006.tar.gz) = 5544943d846a517d0b04880e6510bc7726674168
-Size (adzap-20051006.tar.gz) = 51470 bytes
-SHA1 (patch-aa) = 6bdb5e8d2487a977907d20e0e40afbc900cad919
-SHA1 (patch-ab) = b98776ed6627e743b50cb233f5af0842a92cd6b7
diff --git a/www/adzap/patches/patch-aa b/www/adzap/patches/patch-aa
deleted file mode 100644
index 455fb0bfc8e..00000000000
--- a/www/adzap/patches/patch-aa
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-aa,v 1.13 2005/05/04 12:35:54 simonb Exp $
-
---- scripts/wrapzap.orig 2005-04-07 21:41:33.000000000 +1000
-+++ scripts/wrapzap
-@@ -15,40 +15,9 @@
- # - Cameron Simpson <cs@zip.com.au> 21apr2000
- #
-
--# modify this to match your install
--zapper=/usr/local/bin/squid_redirect
--
--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_ADHTML=$ZAP_BASE/no-op.html
--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_PRINT= # off by default, set to 1
-+zapper=@@PREFIX@@/libexec/squid_redirect
-+
-+. /etc/adzap.conf
-
- export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH ZAP_MATCH ZAP_NO_CHANGE
- 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
deleted file mode 100644
index 8cfea1c75ab..00000000000
--- a/www/adzap/patches/patch-ab
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ab,v 1.11 2005/05/04 12:35:54 simonb Exp $
-
---- scripts/adzap.conf.orig Sat Apr 7 21:41:33 2005
-+++ scripts/adzap.conf Sat Apr 7 21:41:33 2005
-@@ -0,0 +1,35 @@
-+# 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_ADHTML=$ZAP_BASE/no-op.html
-+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_PRINT= # off by default, set to 1