/[smeserver]/rpms/e-smith-email/sme8/e-smith-email-5.2.0-smtpMigrate.patch
ViewVC logotype

Annotation of /rpms/e-smith-email/sme8/e-smith-email-5.2.0-smtpMigrate.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Mar 16 23:27:23 2013 UTC (11 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-email-5_2_0-24_el5_sme, e-smith-email-5_2_0-20_el5_sme, e-smith-email-5_2_0-21_el5_sme, e-smith-email-5_2_0-22_el5_sme, e-smith-email-5_2_0-27_el5_sme, e-smith-email-5_2_0-23_el5_sme, e-smith-email-5_2_0-25_el5_sme, e-smith-email-5_2_0-26_el5_sme, e-smith-email-5_2_0-28_el5_sme, HEAD
* Sat Mar 16 2013 Ian Wells <esmith@wellsi.com> 5.2.0-20.sme
- Avoid use of unitialised variables in smtp migrate fragments [SME: 7495]

1 wellsi 1.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