/[smeserver]/rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-RequireSSL.patch
ViewVC logotype

Contents of /rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-RequireSSL.patch

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


Revision 1.1 - (show annotations) (download)
Fri Jan 3 04:41:14 2014 UTC (10 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-ibays-2_4_0-7_el6_sme, e-smith-ibays-2_4_0-14_el6_sme, e-smith-ibays-2_4_0-12_el6_sme, e-smith-ibays-2_4_0-13_el6_sme, e-smith-ibays-2_4_0-11_el6_sme, e-smith-ibays-2_4_0-6_el6_sme, e-smith-ibays-2_4_0-8_el6_sme, HEAD
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
- Provide the ability to restrict ibay access to https, by JPP [SME: 882]
- Remove old migrate fragment [SME: 8080]
- Whitespace cleanup, mainly tab removal, of 90e-smithAccess40ibays

1 diff -ruN e-smith-ibays-2.4.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays e-smith-ibays-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
2 --- e-smith-ibays-2.4.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays 2013-12-21 16:55:09.000000000 -0800
3 +++ e-smith-ibays-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays 2013-12-21 17:09:45.000000000 -0800
4 @@ -92,6 +92,7 @@
5 my $dynamicContent = $properties{'CgiBin'} || "disabled";
6 my $followSymLinks = $properties{'FollowSymLinks'} || "disabled";
7 my $indexes = $properties{'Indexes'} || "enabled";
8 + my $sslRequireSSL = $properties{'SSLRequireSSL'} || "disabled";
9 $OUT .= "\n";
10 $OUT .= "#------------------------------------------------------------\n";
11 $OUT .= "# $key ibay directories ($properties{'Name'})\n";
12 @@ -99,6 +100,10 @@
13
14 $OUT .= "\n";
15 $OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
16 + if ($sslRequireSSL eq 'enabled')
17 + {
18 + $OUT .=" SSLRequireSSL\n";
19 + }
20 $OUT .= " Options None\n";
21 $OUT .= " Options +Indexes\n" if ($indexes eq 'enabled');
22 $OUT .= " Options +FollowSymLinks\n" if ($followSymLinks eq 'enabled');
23 diff -ruN e-smith-ibays-2.4.0.ooo/root/etc/e-smith/db/accounts/migrate/20ibay-accounts e-smith-ibays-2.4.0/root/etc/e-smith/db/accounts/migrate/20ibay-accounts
24 --- e-smith-ibays-2.4.0.ooo/root/etc/e-smith/db/accounts/migrate/20ibay-accounts 1969-12-31 16:00:00.000000000 -0800
25 +++ e-smith-ibays-2.4.0/root/etc/e-smith/db/accounts/migrate/20ibay-accounts 2014-01-02 19:45:40.000000000 -0800
26 @@ -0,0 +1,8 @@
27 +{
28 + foreach my $ibay ($DB->get_all_by_prop(type => 'ibay'))
29 + {
30 + # SME9 introduced SSLRequireSSL with enabled/disabled.
31 + # This replaces local customisation, so migrate 'on' to 'enabled'
32 + $ibay->set_prop ('SSLRequireSSL', 'enabled') if (($ibay->prop ('SSLRequireSSL') || '') eq 'on');
33 + }
34 +}

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