aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-17 16:55:35 +0800
committerkris <kris@FreeBSD.org>2002-05-17 16:55:35 +0800
commitf943a2b1b411f9634a66a3d7215f862716182823 (patch)
treeb029182e3fa07d0051f2146477a521d5992270c0
parent69890fdf76b0eee7f197bd7143f708de17ebd3d8 (diff)
downloadfreebsd-ports-gnome-f943a2b1b411f9634a66a3d7215f862716182823.tar.gz
freebsd-ports-gnome-f943a2b1b411f9634a66a3d7215f862716182823.tar.zst
freebsd-ports-gnome-f943a2b1b411f9634a66a3d7215f862716182823.zip
At some point I broke the ability to actually use adzap according to
the instructions. Fix this by reconstructing the patches from scratch.
-rw-r--r--www/adzap/files/patch-aa25
-rw-r--r--www/adzap/files/patch-ab10
2 files changed, 15 insertions, 20 deletions
diff --git a/www/adzap/files/patch-aa b/www/adzap/files/patch-aa
index f1d32bcddb29..a10c96c7712b 100644
--- a/www/adzap/files/patch-aa
+++ b/www/adzap/files/patch-aa
@@ -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 \
diff --git a/www/adzap/files/patch-ab b/www/adzap/files/patch-ab
index 601c40c81930..8439ae98a21a 100644
--- a/www/adzap/files/patch-ab
+++ b/www/adzap/files/patch-ab
@@ -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