/[smecontribs]/rpms/smeserver-mailman/contribs10/smeserver-mailman-1.5.0-bz12050-24syntax.patch
ViewVC logotype

Contents of /rpms/smeserver-mailman/contribs10/smeserver-mailman-1.5.0-bz12050-24syntax.patch

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


Revision 1.1 - (show annotations) (download)
Sat Jul 30 04:23:48 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-mailman-1_5_0-17_el7_sme, smeserver-mailman-1_5_0-21_el7_sme, smeserver-mailman-1_5_0-19_el7_sme, smeserver-mailman-1_5_0-20_el7_sme, smeserver-mailman-1_5_0-18_el7_sme, HEAD
* Sat Jul 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.5.0-17.sme
- update to httpd 2.4 access syntax [SME: 12050]
- rebuild for core backup [SME: 12015]

1 diff -urN smeserver-mailman-1.5.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman smeserver-mailman-1.5.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman
2 --- smeserver-mailman-1.5.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman 2022-07-25 12:47:23.092460859 +0300
3 +++ smeserver-mailman-1.5.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess90mailman 2022-07-25 12:51:26.660180859 +0300
4 @@ -4,50 +4,21 @@
5
6 <Directory /usr/lib/mailman/cgi-bin>
7 Options ExecCGI
8 - <IfModule mod_access_compat.c>
9 - AllowOverride None
10 - order deny,allow
11 - deny from all
12 - allow from { (($mailman{access} || 'public' ) eq "public" ) ? "all": "$localAccess";}
13 - </IfModule>
14 - <IfModule !mod_access_compat.c>
15 - Require { (($mailman{access} || 'public' ) eq "public" ) ? "all granted": "ip $localAccess";}
16 - </IfModule>
17 + Require { (($mailman{access} || 'public' ) eq "public" ) ? "all granted": "ip $localAccess";}
18 </Directory>
19
20 <Directory /var/lib/mailman/archives/public>
21 Options Indexes Includes FollowSymLinks
22 - <IfModule mod_access_compat.c>
23 - order deny,allow
24 - deny from all
25 - allow from { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";}
26 - </IfModule>
27 - <IfModule !mod_access_compat.c>
28 - Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
29 - </IfModule>
30 + Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
31 </Directory>
32
33 <Directory /var/lib/mailman/archives/private>
34 Options Indexes Includes FollowSymLinks
35 - <IfModule mod_access_compat.c>
36 - order deny,allow
37 - deny from all
38 - allow from { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";}
39 - </IfModule>
40 - <IfModule !mod_access_compat.c>
41 - Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
42 - </IfModule>
43 + Require { (($mailman{archivesaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
44 </Directory>
45
46 <LocationMatch ^/mailman/(admin|admindb|rmlist|create|private)>
47 - <IfModule mod_access_compat.c>
48 - order deny,allow
49 - deny from all
50 - allow from { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all": "$localAccess";}
51 - </IfModule>
52 - <IfModule !mod_access_compat.c>
53 - Require { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
54 - </IfModule>
55 + Require { (($mailman{adminaccess} || 'private' ) eq "public" ) ? "all granted": "ip $localAccess";}
56 </LocationMatch>
57
58

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