/[smeserver]/rpms/e-smith-email/sme9/e-smith-email-5.4.0-smtpMigrate.patch
ViewVC logotype

Contents of /rpms/e-smith-email/sme9/e-smith-email-5.4.0-smtpMigrate.patch

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


Revision 1.1 - (show annotations) (download)
Sat Mar 16 23:05:59 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-email-5_4_0-11_el6_sme, e-smith-email-5_4_0-10_el6_sme, e-smith-email-5_4_0-4_el6_sme, e-smith-email-5_4_0-3_el6_sme, e-smith-email-5_4_0-12_el6_sme, e-smith-email-5_4_0-7_el6_sme, e-smith-email-5_4_0-9_el6_sme, e-smith-email-5_4_0-6_el6_sme, e-smith-email-5_4_0-2_el6_sme, e-smith-email-5_4_0-5_el6_sme, e-smith-email-5_4_0-8_el6_sme, HEAD
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.4.0-2.sme
- Avoid use of unitialised variables in smtp migrate fragments [SME: 7487]

1 diff -ruN e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug
2 --- e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug 2013-02-06 13:56:01.000000000 -0800
3 +++ e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug 2013-03-16 15:37:32.000000000 -0700
4 @@ -1,5 +1,5 @@
5 {
6 - my $debug = $DB->get_prop('smtp-auth-proxy','Debug');
7 + my $debug = $DB->get_prop('smtp-auth-proxy','Debug') or return;
8
9 $DB->set_prop('smtp-auth-proxy','Debug', 'disabled') if $debug eq 0;
10 }
11 diff -ruN e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy
12 --- e-smith-email-5.4.0.old/root/etc/e-smith/db/configuration/migrate/20smtpProxy 2013-02-06 13:56:01.000000000 -0800
13 +++ e-smith-email-5.4.0/root/etc/e-smith/db/configuration/migrate/20smtpProxy 2013-03-16 15:37:19.000000000 -0700
14 @@ -1,5 +1,9 @@
15 {
16 - my $proxy = $DB->get_prop('smtpd','Proxy');
17 +# In SME Server 7 smtpd Proxy used 'enabled'.
18 +# In SME Server 8 the UI uses enabled but the configuration value is transparent.
19 +# This migrate fragment is needed to allow upgrades from SME Server 7.
20 +
21 + my $proxy = $DB->get_prop('smtpd','Proxy') or return;
22
23 if ($proxy eq 'enabled')
24 {

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