1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 24_global_action.dpatch by Roland Rosenfeld <roland@debian.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Move the global default for all pages (/) from default.action
6 ## DP: to global.action to make updates with local configurations easier.
9 diff -urNad privoxy~/GNUmakefile.in privoxy/GNUmakefile.in
10 --- privoxy~/GNUmakefile.in
11 +++ privoxy/GNUmakefile.in
13 #############################################################################
14 # We include these files in our distributions
15 #############################################################################
16 -CONFIGS = config trust default.action standard.action user.action default.filter user.filter
17 +CONFIGS = config trust global.action default.action standard.action user.action default.filter user.filter
18 # take care that no CVS .cvsignore or other crappy files
20 # and escape every '#' in the find. doh.
21 diff -urNad privoxy~/config privoxy/config
25 # without at least one actions file.
27 actionsfile standard # Internal purpose, recommended
28 +actionsfile global # Global default setting for all sites
29 actionsfile default # Main actions file
30 actionsfile user # User customizations
32 diff -urNad privoxy~/default.action.master privoxy/default.action.master
33 --- privoxy~/default.action.master
34 +++ privoxy/default.action.master
37 allow-ads = -block -filter{banners-by-size} -filter{banners-by-link}
39 -#############################################################################
41 -#############################################################################
45 --content-type-overwrite \
46 --crunch-client-header \
47 --crunch-if-none-match \
48 --crunch-outgoing-cookies \
49 --crunch-incoming-cookies \
50 --crunch-server-header \
52 --downgrade-http-version \
54 --filter{js-annoyances} \
56 --filter{html-annoyances} \
57 --filter{content-cookies} \
58 --filter{refresh-tags} \
59 --filter{unsolicited-popups} \
60 --filter{all-popups} \
61 --filter{img-reorder} \
62 --filter{banners-by-size} \
63 --filter{banners-by-link} \
65 --filter{tiny-textforms} \
66 --filter{jumping-windows} \
67 --filter{frameset-borders} \
68 --filter{demoronizer} \
69 --filter{shockwave-flash} \
70 --filter{quicktime-kioskmode} \
72 --filter{crude-parental} \
73 --filter{ie-exploits} \
74 --filter{site-specifics} \
79 --filter{xml-to-html} \
80 --filter{html-to-xml} \
82 --filter{hide-tor-exit-notation} \
83 --filter-client-headers \
84 --filter-server-headers \
86 --handle-as-empty-document \
88 --hide-accept-language \
89 --hide-content-disposition \
90 --hide-if-modified-since \
91 -+hide-forwarded-for-headers \
92 -+hide-from-header{block} \
98 --prevent-compression \
99 --overwrite-last-modified \
101 --send-vanilla-wafer \
103 --session-cookies-only \
104 -+set-image-blocker{pattern} \
105 --treat-forbidden-connects-like-blocks \
109 #############################################################################
110 # These extensions belong to images:
111 diff -urNad privoxy~/global.action privoxy/global.action
112 --- privoxy~/global.action
113 +++ privoxy/global.action
115 +#############################################################################
117 +#############################################################################
121 +-content-type-overwrite \
122 +-crunch-client-header \
123 +-crunch-if-none-match \
124 +-crunch-outgoing-cookies \
125 +-crunch-incoming-cookies \
126 +-crunch-server-header \
128 +-downgrade-http-version \
130 +-filter{js-annoyances} \
131 +-filter{js-events} \
132 +-filter{html-annoyances} \
133 +-filter{content-cookies} \
134 +-filter{refresh-tags} \
135 +-filter{unsolicited-popups} \
136 +-filter{all-popups} \
137 +-filter{img-reorder} \
138 +-filter{banners-by-size} \
139 +-filter{banners-by-link} \
141 +-filter{tiny-textforms} \
142 +-filter{jumping-windows} \
143 +-filter{frameset-borders} \
144 +-filter{demoronizer} \
145 +-filter{shockwave-flash} \
146 +-filter{quicktime-kioskmode} \
148 +-filter{crude-parental} \
149 +-filter{ie-exploits} \
150 +-filter{site-specifics} \
155 +-filter{xml-to-html} \
156 +-filter{html-to-xml} \
158 +-filter{hide-tor-exit-notation} \
159 +-filter-client-headers \
160 +-filter-server-headers \
162 +-handle-as-empty-document \
164 +-hide-accept-language \
165 +-hide-content-disposition \
166 +-hide-if-modified-since \
167 ++hide-forwarded-for-headers \
168 ++hide-from-header{block} \
174 +-prevent-compression \
175 +-overwrite-last-modified \
177 +-send-vanilla-wafer \
179 +-session-cookies-only \
180 ++set-image-blocker{pattern} \
181 +-treat-forbidden-connects-like-blocks \