/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz9669-sogo.patch
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz9669-sogo.patch

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


Revision 1.1 - (show annotations) (download)
Fri Jul 19 03:30:25 2019 UTC (5 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-8_el6_sme, smeserver-fail2ban-0_1_18-7_el6_sme, smeserver-fail2ban-0_1_18-9_el6_sme, smeserver-fail2ban-0_1_18-10_el6_sme, HEAD
Error occurred while calculating annotation data.
* Fri Jul 19 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-7.sme
- prevent fail2ban failure if sogo not installed while a backup restored db entries [SME: 9669]

1 diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo
2 --- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo 2017-10-27 14:34:58.000000000 +0200
3 +++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service35SOGo 2019-07-19 05:27:39.867424267 +0200
4 @@ -2,6 +2,7 @@
5
6 my $status = $sogod{'status'} || 'disabled';
7 my $f2b = $sogod{'Fail2Ban'} || 'enabled';
8 +return "\n#Sogo not available" unless ( -f "/var/log/sogo/sogo.log" );
9 return "" if (($status ne 'enabled') || ($f2b ne 'enabled'));
10 my @ports = ();
11 push @ports, (${'httpd-e-smith'}{'TCPPort'} || '80');
12 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
13 --- smeserver-fail2ban-0.1.18.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-07-19 05:16:09.830566001 +0200
14 +++ smeserver-fail2ban-0.1.18/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/fail2ban.pm 2019-07-19 05:26:47.372430806 +0200
15 @@ -38,7 +38,7 @@
16 "ftp" => 'enabled',
17 "lemonldap" => 'enabled',
18 "ejabberd" => 'enabled',
19 - "sogod" => 'enabled',
20 + "sogod" => 'disabled',
21 "wordpress" => 'disabled',
22
23 ) ;

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