/[smeserver]/rpms/e-smith-proxy/sme10/e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch
ViewVC logotype

Annotation of /rpms/e-smith-proxy/sme10/e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Apr 12 21:24:57 2017 UTC (7 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-proxy-5_6_0-10_el7_sme, e-smith-proxy-5_6_0-12_el7_sme, e-smith-proxy-5_6_0-11_el7_sme, e-smith-proxy-5_6_0-8_el7_sme, e-smith-proxy-5_6_0-6_el7_sme, e-smith-proxy-5_6_0-9_el7_sme, HEAD
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme
- fix disabling smtp proxy via SM doesn't work [SME: 9639]

1 unnilennium 1.1 diff -Nur e-smith-proxy-5.6.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/proxy.pm e-smith-proxy-5.6.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/proxy.pm
2     --- e-smith-proxy-5.6.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/proxy.pm 2013-02-13 10:22:01.000000000 -0500
3     +++ e-smith-proxy-5.6.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/proxy.pm 2017-04-12 17:21:01.414000000 -0400
4     @@ -74,7 +74,7 @@
5     sub get_smtp_proxy_status
6     {
7     my $self = shift;
8     - return $self->{db}->get_prop('smtpd', 'Proxy');
9     + return $self->{db}->get_prop('qpsmtpd', 'Proxy');
10     }
11    
12     =head2 change_settings
13     @@ -95,7 +95,7 @@
14     or return $self->error('ERR_NO_SQUID_REC');
15     # smtpd is allowed to not exist, as the relevant packages may not be
16     # installed.
17     - my $smtpd = $self->{db}->get('smtpd') || undef;
18     + my $smtpd = $self->{db}->get('qpsmtpd') || undef;
19    
20     $squid->set_prop('status', $http_proxy_status);
21     $smtpd->set_prop('Proxy', $smtp_proxy_status) if $smtpd;

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