diff options
author | kris <kris@FreeBSD.org> | 2001-03-04 13:07:23 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-03-04 13:07:23 +0800 |
commit | f842fe649f57e0a55b6de28e446b8939cf8100ae (patch) | |
tree | 65674f11a173e1a914efdb756320d57c891da099 /www/adzap/files | |
parent | b437fa75df62c4b48baf5d83c9f0f6c00c9458ce (diff) | |
download | freebsd-ports-gnome-f842fe649f57e0a55b6de28e446b8939cf8100ae.tar.gz freebsd-ports-gnome-f842fe649f57e0a55b6de28e446b8939cf8100ae.tar.zst freebsd-ports-gnome-f842fe649f57e0a55b6de28e446b8939cf8100ae.zip |
adzap is a squid plugin which filters out banner ads, web bugs, javascript
popup consoles, and other annoying crap.
Obtained from: NetBSD
Diffstat (limited to 'www/adzap/files')
-rw-r--r-- | www/adzap/files/patch-aa | 33 | ||||
-rw-r--r-- | www/adzap/files/patch-ab | 27 |
2 files changed, 60 insertions, 0 deletions
diff --git a/www/adzap/files/patch-aa b/www/adzap/files/patch-aa new file mode 100644 index 000000000000..ca52f4843c5e --- /dev/null +++ b/www/adzap/files/patch-aa @@ -0,0 +1,33 @@ +$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 @@ + # + + # 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 +-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 +-STUBURL_AD=$ZAP_BASE/ad.gif +-STUBURL_ADBG=$ZAP_BASE/adbg.gif +-STUBURL_ADJS=$ZAP_BASE/no-op.js +-STUBURL_ADHTML=$ZAP_BASE/no-op.html +-STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html +-STUBURL_COUNTER=$ZAP_BASE/counter.gif +-STUBURL_WEBBUG=$ZAP_BASE/webbug.gif ++. %PREFIX%/etc/adzap.conf + + export ZAP_MODE ZAP_BASE ZAP_CHAINING ZAP_PREMATCH ZAP_POSTMATCH + export STUBURL_AD STUBURL_ADJS STUBURL_ADHTML STUBURL_ADPOPUP \ diff --git a/www/adzap/files/patch-ab b/www/adzap/files/patch-ab new file mode 100644 index 000000000000..506eb1df32c6 --- /dev/null +++ b/www/adzap/files/patch-ab @@ -0,0 +1,27 @@ +$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 @@ ++# 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 ++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 ++STUBURL_AD=$ZAP_BASE/ad.gif ++STUBURL_ADBG=$ZAP_BASE/adbg.gif ++STUBURL_ADJS=$ZAP_BASE/no-op.js ++STUBURL_ADHTML=$ZAP_BASE/no-op.html ++STUBURL_ADPOPUP=$ZAP_BASE/closepopup.html ++STUBURL_COUNTER=$ZAP_BASE/counter.gif ++STUBURL_WEBBUG=$ZAP_BASE/webbug.gif |