/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz10776-wordpress.patch
ViewVC logotype

Contents of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18-bz10776-wordpress.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jun 3 04:31:13 2019 UTC (5 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-fail2ban-0_1_18-6_el6_sme, smeserver-fail2ban-0_1_18-5_el6_sme, smeserver-fail2ban-0_1_18-7_el6_sme, smeserver-fail2ban-0_1_18-9_el6_sme, smeserver-fail2ban-0_1_18-8_el6_sme, smeserver-fail2ban-0_1_18-10_el6_sme, HEAD
* Mon Jun 03 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-5.sme
- fix wordpress fragment error preventing jail.conf to be updated [SME: 10776]

1 diff -Nur smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress
2 --- smeserver-fail2ban-0.1.18.old/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress 2019-06-03 00:27:57.264000000 -0400
3 +++ smeserver-fail2ban-0.1.18/root/etc/e-smith/templates/etc/fail2ban/jail.conf/45wordpress 2019-06-03 00:28:59.724000000 -0400
4 @@ -29,7 +29,7 @@
5 backend = polling
6 action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wphbantime]
7 EOF
8 -$OUT .= " smeserver-sendmail[name="Wordpress (hard)",dest=$maildest]\n"
9 +$OUT .= " smeserver-sendmail[name=\"Wordpress (hard)\",dest=$maildest]\n"
10 if ($mail eq 'enabled');
11
12
13 @@ -45,7 +45,7 @@
14 backend = polling
15 action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wpsbantime]
16 EOF
17 -$OUT .= " smeserver-sendmail[name="Wordpress (soft)",dest=$maildest]\n"
18 +$OUT .= " smeserver-sendmail[name=\"Wordpress (soft)\",dest=$maildest]\n"
19 if ($mail eq 'enabled');
20
21
22 @@ -61,7 +61,7 @@
23 bantime = $wpxbantime
24 action = smeserver-iptables[port="$port",protocol=tcp,bantime=$wpxbantime]
25 EOF
26 -$OUT .= " smeserver-sendmail[name="Wordpress (xmlrpc)",dest=$maildest]\n"
27 +$OUT .= " smeserver-sendmail[name=\"Wordpress (xmlrpc)\",dest=$maildest]\n"
28 if ($mail eq 'enabled');
29
30 }

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