--- rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban.spec 2019/05/15 04:00:41 1.5 +++ rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban.spec 2019/11/28 02:49:23 1.11 @@ -1,5 +1,5 @@ %define version 0.1.18 -%define release 4 +%define release 10 %define name smeserver-fail2ban @@ -15,7 +15,11 @@ Patch0:smeserver-fail2ban-0.1.18.bz10767 Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch Patch2: smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch Patch3: smeserver-fail2ban-0.1.18-locale-2019-05-15.patch - +Patch4: smeserver-fail2ban-0.1.18-bz10776-wordpress.patch +Patch5: smeserver-fail2ban-0.1.18-bz9669-sogo.patch +Patch6: smeserver-fail2ban-0.1.18-bz10814-denylist-display.patch +Patch7: smeserver-fail2ban-0.1.18-bz10817-configure.patch +Patch8: smeserver-fail2ban-0.1.18.bz10839.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools @@ -23,10 +27,30 @@ BuildRequires: e-smith-devtools Requires: e-smith-base >= 5.2.0 Requires: fail2ban + %description Configure fail2ban on SME Server %changelog +* Wed Nov 27 2019 Jean-Philipe Pialasse 0.1.18-10.sme +- fix wordpress template error [SME: 10839] +- rewrite rule for [SME: 9719] + +* Wed Oct 16 2019 Jean-Philipe Pialasse 0.1.18-9.sme +- propagate configuration changes to fail2ban after submiting changes [SME: 10817] + +* Wed Oct 16 2019 Jean-Philipe Pialasse 0.1.18-8.sme +- fix blocked hosts list not displaying unless smeserver-denyhosts also installed [SME: 10814] + +* Fri Jul 19 2019 Jean-Philipe Pialasse 0.1.18-7.sme +- prevent fail2ban failure if sogo not installed while a backup restored db entries [SME: 9669] + +* Mon Jun 03 2019 Jean-Philipe Pialasse 0.1.18-6.sme +- fix incorrect permissions on sfail2ban [SME: 10775] + +* Mon Jun 03 2019 Jean-Philipe Pialasse 0.1.18-5.sme +- fix wordpress fragment error preventing jail.conf to be updated [SME: 10776] + * Tue May 14 2019 Jean-Philipe Pialasse 0.1.18-4.sme - fix missing sfail2ban exec [SME: 10775] - Apply locals @@ -107,6 +131,11 @@ Configure fail2ban on SME Server %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 %build %{__mkdir_p} root/var/log/fail2ban @@ -121,6 +150,7 @@ perl createlinks --file /var/log/fail2ban/daemon.log 'config(noreplace) %attr(0600,root,root)' \ --file /etc/cron.daily/cleanup_fail2ban 'attr(0755,root,root)' \ --file /etc/fail2ban/filter.d/apache-auth.local 'config(noreplace) %attr(0644,root,root)' \ + --file /usr/bin/sfail2ban 'attr(0755,root,root)' \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist