mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
At some point I broke the ability to actually use adzap according to
the instructions. Fix this by reconstructing the patches from scratch.
This commit is contained in:
parent
8208ff6664
commit
9e9461e7f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59302
@ -1,25 +1,18 @@
|
||||
--- scripts/wrapzap.orig Wed Jan 9 16:57:21 2002
|
||||
+++ scripts/wrapzap Sun Jan 13 01:02:59 2002
|
||||
@@ -16,7 +16,7 @@
|
||||
--- 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= # or "CLEAR"
|
||||
+ZAP_MODE=CLEAR # or "CLEAR"
|
||||
ZAP_BASE=http://adzap.cs.zip.com.au # a local web server will be better
|
||||
@@ -28,6 +28,9 @@
|
||||
# for patterns in addition to the
|
||||
# stock zapper; this is the one to
|
||||
# which you should add new ads
|
||||
+
|
||||
+. %%PREFIX%%/etc/adzap.conf
|
||||
+
|
||||
STUBURL_AD=$ZAP_BASE/ad.gif
|
||||
STUBURL_ADSSL=$ZAP_BASE_SSL/ad.gif
|
||||
STUBURL_ADBG=$ZAP_BASE/adbg.gif
|
||||
@@ -40,6 +43,8 @@
|
||||
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
|
||||
@ -27,4 +20,4 @@
|
||||
+. %%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 STUDURL_ADMP3 \
|
||||
export STUBURL_AD STUBURL_ADSSL STUBURL_ADJS STUBURL_ADHTML STUBURL_ADMP3 \
|
||||
|
@ -1,13 +1,13 @@
|
||||
--- /dev/null Fri Dec 28 09:15:33 2001
|
||||
+++ zaps/adzap.conf Fri Dec 28 09:15:03 2001
|
||||
@@ -0,0 +1,24 @@
|
||||
--- /dev/null Fri May 17 01:36:29 2002
|
||||
+++ zaps/adzap.conf Fri May 17 01:39:27 2002
|
||||
@@ -0,0 +1,26 @@
|
||||
+# example adzap configuration file
|
||||
+# copy this file over to ${PREFIX}/etc/adzap.conf,
|
||||
+# then modify this to match your install
|
||||
+
|
||||
+zapper=%%PREFIX%%/libexec/adzap # location of the zapper
|
||||
+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
|
||||
+ # for patterns to preempt the stock
|
||||
+ # zapper
|
||||
@ -16,6 +16,7 @@
|
||||
+ # stock zapper; this is the one to
|
||||
+ # which you should add new ads
|
||||
+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
|
||||
@ -23,5 +24,6 @@
|
||||
+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_WEBBUG=$ZAP_BASE/webbug.gif
|
||||
+STUBURL_WEBBUGJS=$ZAP_BASE/webbug.js
|
||||
|
Loading…
Reference in New Issue
Block a user