/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz10817-configure.patch
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz10817-configure.patch

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


Revision 1.1 - (show annotations) (download)
Thu Oct 17 01:53:11 2019 UTC (5 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-9_el6_sme, smeserver-fail2ban-0_1_18-10_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Oct 16 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-9.sme
- propagate configuration changes to fail2ban after submiting changes [SME: 10817]

1 diff -Nur smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm
2 --- smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-10-16 21:50:53.945000000 -0400
3 +++ smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-10-16 21:51:01.294000000 -0400
4 @@ -350,6 +350,12 @@
5 $fm->error('ERROR_UPDATING');
6 return undef;
7 }
8 +
9 + unless ( system( "/sbin/e-smith/signal-event", "fail2ban-conf" ) == 0 )
10 + {
11 + $fm->error('ERROR_UPDATING');
12 + return undef;
13 + }
14
15 if ( $rec->prop('status') eq 'disabled' )
16 {

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