1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/adzap/files/patch-aa
Kris Kennaway 9e9461e7f8 At some point I broke the ability to actually use adzap according to
the instructions.  Fix this by reconstructing the patches from scratch.
2002-05-17 08:55:35 +00:00

24 lines
811 B
Plaintext

--- scripts/wrapzap.orig Fri May 17 01:37:42 2002
+++ scripts/wrapzap Fri May 17 01:38:15 2002
@@ -16,9 +16,9 @@
#
# modify this to match your install
-zapper=/usr/local/script/squid_redirect
+zapper=%%PREFIX%%/libexec/squid_redirect
-ZAP_MODE= # or "CLEAR"
+ZAP_MODE=CLEAR # 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_PREMATCH= # pathname of extra pattern file
@@ -40,6 +40,8 @@
STUBURL_COUNTERJS=$ZAP_BASE/no-op-counter.js
STUBURL_WEBBUG=$ZAP_BASE/webbug.gif
STUBURL_WEBBUGJS=$ZAP_BASE/webbug.js
+
+. %%PREFIX%%/etc/adzap.conf
export ZAP_MODE ZAP_BASE ZAP_BASE_SSL ZAP_PREMATCH ZAP_POSTMATCH
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \