/[smeserver]/rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz11945-require.patch
ViewVC logotype

Contents of /rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz11945-require.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Apr 17 21:41:38 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-horde-1_0_0-33_el7_sme, smeserver-horde-1_0_0-35_el7_sme, smeserver-horde-1_0_0-32_el7_sme, smeserver-horde-1_0_0-34_el7_sme, HEAD
Error occurred while calculating annotation data.
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0.0-32.sme
- use httpd 2.4 access control syntax [SME: 11945]

1 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess
2 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2022-04-17 16:11:38.021000000 -0400
3 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2022-04-17 17:34:41.393000000 -0400
4 @@ -19,16 +19,13 @@
5 <Directory /usr/share/horde/>
6 SSLRequireSSL
7 <FilesMatch "test.php\$">
8 - Order Deny,Allow
9 - Deny from all
10 + Require all denied
11 </FilesMatch>
12 Options Indexes Includes FollowSymLinks
13 AllowOverride None
14 - order deny,allow
15 - deny from all
16 );
17 - $OUT .= " allow from ";
18 - $OUT .= ( $horde{access} eq "public" ) ? "all" : $localAccess;
19 + $OUT .= " ";
20 + $OUT .= ( $horde{access} eq "public" ) ? "Require all granted" : "Require ip $localAccess";
21 $OUT .= "\n";
22
23 if (exists $php{status} and $php{status} eq "enabled" and $phpModule eq "enabled")
24 @@ -68,48 +65,39 @@
25 </Directory>
26
27 <Directory /usr/share/horde/config>
28 - order deny,allow
29 - deny from all
30 + Require all denied
31 </Directory>
32
33 <Directory /usr/share/horde/content>
34 - order deny,allow
35 - deny from all
36 + Require all denied
37 </Directory>
38
39 <Directory /usr/share/horde/install>
40 - order deny,allow
41 - deny from all
42 + Require all denied
43 </Directory>
44
45 <Directory /usr/share/horde/lib>
46 - order deny,allow
47 - deny from all
48 + Require all denied
49 </Directory>
50
51 <Directory /usr/share/horde/locale>
52 - order deny,allow
53 - deny from all
54 + Require all denied
55 </Directory>
56
57 <Directory /usr/share/horde/smeserver>
58 - order deny,allow
59 - deny from all
60 + Require all denied
61 </Directory>
62
63 <Directory /usr/share/horde/scripts>
64 - order deny,allow
65 - deny from all
66 + Require all denied
67 </Directory>
68
69 <Directory /usr/share/horde/templates>
70 - order deny,allow
71 - deny from all
72 + Require all denied
73 </Directory>
74
75 <Directory /usr/share/horde/util>
76 - order deny,allow
77 - deny from all
78 + Require all denied
79 </Directory>
80 );
81 }
82 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess
83 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess 2016-06-16 18:26:00.000000000 -0400
84 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess 2022-04-17 17:35:42.743000000 -0400
85 @@ -6,33 +6,27 @@
86 $OUT .= qq(
87 # IMP specific access configuration
88 <Directory /usr/share/horde/imp/config>
89 - order deny,allow
90 - deny from all
91 + Require all denied
92 </Directory>
93
94 <Directory /usr/share/horde/imp/lib>
95 - order deny,allow
96 - deny from all
97 + Require all denied
98 </Directory>
99
100 <Directory /usr/share/horde/imp/locale>
101 - order deny,allow
102 - deny from all
103 + Require all denied
104 </Directory>
105
106 <Directory /usr/share/horde/imp/migration>
107 - order deny,allow
108 - deny from all
109 + Require all denied
110 </Directory>
111
112 <Directory /usr/share/horde/imp/SSLonly>
113 - order deny,allow
114 - deny from all
115 + Require all denied
116 </Directory>
117
118 <Directory /usr/share/horde/imp/templates>
119 - order deny,allow
120 - deny from all
121 + Require all denied
122 </Directory>
123 );
124 }
125 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85IngoAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85IngoAccess
126 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85IngoAccess 2016-06-16 18:43:13.000000000 -0400
127 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85IngoAccess 2022-04-17 17:36:04.092000000 -0400
128 @@ -6,28 +6,23 @@
129 $OUT .= qq(
130 # INGO specific access configuration
131 <Directory /usr/share/horde/ingo/config>
132 - order deny,allow
133 - deny from all
134 + Require all denied
135 </Directory>
136
137 <Directory /usr/share/horde/ingo/lib>
138 - order deny,allow
139 - deny from all
140 + Require all denied
141 </Directory>
142
143 <Directory /usr/share/horde/ingo/locale>
144 - order deny,allow
145 - deny from all
146 + Require all denied
147 </Directory>
148
149 <Directory /usr/share/horde/ingo/migration>
150 - order deny,allow
151 - deny from all
152 + Require all denied
153 </Directory>
154
155 <Directory /usr/share/horde/ingo/templates>
156 - order deny,allow
157 - deny from all
158 + Require all denied
159 </Directory>
160 );
161 }
162 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85TurbaAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85TurbaAccess
163 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85TurbaAccess 2016-06-17 00:14:50.000000000 -0400
164 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85TurbaAccess 2022-04-17 17:37:36.680000000 -0400
165 @@ -5,33 +5,27 @@
166 $OUT .= qq(
167 # Turba specific access configuration
168 <Directory /usr/share/horde/turba/config>
169 - order deny,allow
170 - deny from all
171 + Require all denied
172 </Directory>
173
174 <Directory /usr/share/horde/turba/lib>
175 - order deny,allow
176 - deny from all
177 + Require all denied
178 </Directory>
179
180 <Directory /usr/share/horde/turba/locale>
181 - order deny,allow
182 - deny from all
183 + Require all denied
184 </Directory>
185
186 <Directory /usr/share/horde/turba/migration>
187 - order deny,allow
188 - deny from all
189 + Require all denied
190 </Directory>
191
192 <Directory /usr/share/horde/turba/smeserver>
193 - order deny,allow
194 - deny from all
195 + Require all denied
196 </Directory>
197
198 <Directory /usr/share/horde/turba/templates>
199 - order deny,allow
200 - deny from all
201 + Require all denied
202 </Directory>
203 );
204 }
205 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86MnemoAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86MnemoAccess
206 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86MnemoAccess 2016-06-17 12:34:19.000000000 -0400
207 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86MnemoAccess 2022-04-17 17:37:01.550000000 -0400
208 @@ -6,28 +6,23 @@
209 $OUT .= qq(
210 # Mnemo specific access configuration
211 <Directory /usr/share/horde/mnemo/config>
212 - order deny,allow
213 - deny from all
214 + Require all denied
215 </Directory>
216
217 <Directory /usr/share/horde/mnemo/lib>
218 - order deny,allow
219 - deny from all
220 + Require all denied
221 </Directory>
222
223 <Directory /usr/share/horde/mnemo/locale>
224 - order deny,allow
225 - deny from all
226 + Require all denied
227 </Directory>
228
229 <Directory /usr/share/horde/mnemo/migration>
230 - order deny,allow
231 - deny from all
232 + Require all denied
233 </Directory>
234
235 <Directory /usr/share/horde/mnemo/templates>
236 - order deny,allow
237 - deny from all
238 + Require all denied
239 </Directory>
240 );
241 }
242 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86NagAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86NagAccess
243 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86NagAccess 2022-04-17 16:11:37.933000000 -0400
244 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86NagAccess 2022-04-17 17:36:40.591000000 -0400
245 @@ -6,38 +6,31 @@
246 $OUT .= qq(
247 # Nag specific access configuration
248 <Directory /usr/share/horde/nag/app>
249 - order deny,allow
250 - deny from all
251 + Require all denied
252 </Directory>
253
254 <Directory /usr/share/horde/nag/config>
255 - order deny,allow
256 - deny from all
257 + Require all denied
258 </Directory>
259
260 <Directory /usr/share/horde/nag/lib>
261 - order deny,allow
262 - deny from all
263 + Require all denied
264 </Directory>
265
266 <Directory /usr/share/horde/nag/locale>
267 - order deny,allow
268 - deny from all
269 + Require all denied
270 </Directory>
271
272 <Directory /usr/share/horde/nag/migration>
273 - order deny,allow
274 - deny from all
275 + Require all denied
276 </Directory>
277
278 <Directory /usr/share/horde/nag/tasks>
279 - order deny,allow
280 - deny from all
281 + Require all denied
282 </Directory>
283
284 <Directory /usr/share/horde/nag/templates>
285 - order deny,allow
286 - deny from all
287 + Require all denied
288 </Directory>
289 );
290 }
291 diff -Nur --no-dereference smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/87KronolithAccess smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/87KronolithAccess
292 --- smeserver-horde-1.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/87KronolithAccess 2016-06-17 10:01:15.000000000 -0400
293 +++ smeserver-horde-1.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/87KronolithAccess 2022-04-17 17:38:06.900000000 -0400
294 @@ -6,43 +6,35 @@
295 $OUT .= qq(
296 # Kronolith specific access configuration
297 <Directory /usr/share/horde/kronolith/calendars>
298 - order deny,allow
299 - deny from all
300 + Require all denied
301 </Directory>
302
303 <Directory /usr/share/horde/kronolith/config>
304 - order deny,allow
305 - deny from all
306 + Require all denied
307 </Directory>
308
309 <Directory /usr/share/horde/kronolith/feed>
310 - order deny,allow
311 - deny from all
312 + Require all denied
313 </Directory>
314
315 <Directory /usr/share/horde/kronolith/lib>
316 - order deny,allow
317 - deny from all
318 + Require all denied
319 </Directory>
320
321 <Directory /usr/share/horde/kronolith/locale>
322 - order deny,allow
323 - deny from all
324 + Require all denied
325 </Directory>
326
327 <Directory /usr/share/horde/kronolith/migration>
328 - order deny,allow
329 - deny from all
330 + Require all denied
331 </Directory>
332
333 <Directory /usr/share/horde/kronolith/resources>
334 - order deny,allow
335 - deny from all
336 + Require all denied
337 </Directory>
338
339 <Directory /usr/share/horde/kronolith/templates>
340 - order deny,allow
341 - deny from all
342 + Require all denied
343 </Directory>
344 );
345 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed