--- rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2021/09/08 05:04:12 1.7 +++ rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2022/01/07 14:48:18 1.15 @@ -1,5 +1,5 @@ %define version 0.1.18 -%define release 16 +%define release 25 %define name smeserver-fail2ban Summary: fail2ban integration on SME Server @@ -10,7 +10,7 @@ Epoch: 9 License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch +Patch0: smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch 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 @@ -25,6 +25,12 @@ Patch11: smeserver-fail2ban-0.1.18-bz115 Patch12: smeserver-fail2ban-0.1.18-bz11636-smanager.patch Patch13: smeserver-fail2ban-0.1.18-locale-2021-08-22.patch Patch14: smeserver-fail2ban-0.1.18-locale-2021-09-08.patch +Patch15: smeserver-fail2ban-0.1.18-bz11586-redofailtostart.patch +Patch16: smeserver-fail2ban-0.1.18-bz11650.patch +Patch17: smeserver-fail2ban-0.1.18-bz11651-wordpress.patch +Patch18: smeserver-fail2ban-0.1.18-bz10857.patch +Patch19: smeserver-fail2ban-0.1.18-bz10819-whitelisthostfix.patch +Patch20: smeserver-fail2ban-0.1.18-Add-class-to-div-for-AdminLTE.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -32,6 +38,7 @@ BuildRequires: e-smith-devtools Requires: e-smith-base >= 5.2.0 Requires: fail2ban-server, fail2ban-sendmail +Requires: perl-Data-Validate-IP Obsoletes: fail2ban-firewalld, firewalld AutoReqProv: no @@ -39,6 +46,33 @@ AutoReqProv: no Configure fail2ban on SME Server %changelog +* Fri Jan 07 2022 Brian Read 0.1.18-25.sme +- Add-class-to-div-for-AdminLTE [SME: 11837] + +* Thu Dec 09 2021 Jean-Philippe Pialasse 0.1.18-24.sme +- fix adding removing whitelisted hosts [SME: 10819] + moved config options to dedicated page +- removed apache-badbots.local, lot of false positives [SME: 10857] + +* Wed Dec 08 2021 Jean-Philippe Pialasse 0.1.18-22.sme +- fix apache-badbots logfile definition [SME: 10857] + add updated badbot list. + +* Wed Dec 08 2021 Jean-Philippe Pialasse 0.1.18-21.sme +- update wordpress filters [SME: 11651] + +* Wed Dec 08 2021 Jean-Philippe Pialasse 0.1.18-20.sme +- allow baning subnet [SME: 11650] + +* Wed Oct 27 2021 John Crisp 0.1.18-19.sme +- Fix my versioning + +* Wed Oct 27 2021 John Crisp 0.1.18-18.sme +- Add Requires for perl-Data-Validate-IP [SME: 11720] + +* Sun Sep 12 2021 Terry Fage 0.1.18-17.sme +- redo fix for typo qpsmtpd status [SME: 11636] + * Wed Sep 08 2021 Terry Fage 0.1.18-16.sme - Update locale 2021-09-08 patch @@ -171,6 +205,12 @@ Configure fail2ban on SME Server %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 %build %{__mkdir_p} root/var/log/fail2ban @@ -187,6 +227,7 @@ perl createlinks --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 +#--file /etc/fail2ban/filter.d/apache-badbots.local 'config(noreplace) %attr(0644,root,root)' \ %files -f %{name}-%{version}-filelist %defattr(-,root,root)