--- rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2021/06/01 03:09:27 1.4 +++ rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban.spec 2022/07/30 03:27:04 1.20 @@ -1,8 +1,7 @@ %define version 0.1.18 -%define release 13 +%define release 30 %define name smeserver-fail2ban - Summary: fail2ban integration on SME Server Name: %{name} Version: %{version} @@ -11,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 @@ -23,6 +22,18 @@ Patch8: smeserver-fail2ban-0.1.18.bz1083 Patch9: smeserver-fail2ban-0.1.18.bz10370.patch Patch10: smeserver-fail2ban-0.1.18-Add-update-to-createlinks.patch Patch11: smeserver-fail2ban-0.1.18-bz11586-serverfailstostart.patch +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 +Patch21: smeserver-fail2ban-0.1.18-locale-2022-07-22.patch +Patch22: smeserver-fail2ban-0.1.18-bz12008-backup.patch +Patch23: smeserver-fail2ban-0.1.18-locale-2022-07-30.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -30,12 +41,66 @@ 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 %description Configure fail2ban on SME Server %changelog +* Fri Jul 29 2022 Jean-Philippe Pialasse 0.1.18-30.sme +- add to core backup [SME: 12008] +- add local 2022-07-30 patch + +* Mon Jul 25 2022 Jean-Philippe Pialasse 0.1.18-28.sme +- revert previous patch, wrong package [SME: 12011] + +* Fri Jul 22 2022 Jean-Philippe Pialasse 0.1.18-27.sme +- add to core backup [SME: 12011] + +* Fri Jul 22 2022 Jean-Philippe Pialasse 0.1.18-26.sme +- apply locale patch 2022-07-22 + +* 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 + +* Sun Aug 22 2021 Terry Fage 0.1.18-15.sme +- Update locale 2021-08-21 patch + +* Thu Jul 08 2021 Michel Begue 0.1.18-14.sme +- Add fail2ban panel in smeserver-manager [SME: 11636] +- add smanager jail and filter +- fix typo for qsmtpd status change +- add AutoReqProv so smeserver-manager is not required + * Mon May 31 2021 Jean-Philippe Pialasse 0.1.18-13.sme - fix requirements and avoid firewalld [SME: 10949] @@ -125,7 +190,6 @@ Configure fail2ban on SME Server * Wed Apr 23 2014 Daniel Berteaud - 0.1.4-1.sme - New branch for SME9 - Remove sogo-auth.conf which is included in EL6 build of fail2ban ->>>>>>> sme9 * Wed Dec 18 2013 Daniel Berteaud - 0.1.3-1.sme - Fix port, which was incorrectly set to proto @@ -154,6 +218,18 @@ Configure fail2ban on SME Server %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 %build %{__mkdir_p} root/var/log/fail2ban @@ -170,6 +246,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)