1 |
%define version 0.1.18 |
%define version 0.1.18 |
2 |
%define release 1 |
%define release 4 |
3 |
%define name smeserver-fail2ban |
%define name smeserver-fail2ban |
4 |
|
|
5 |
|
|
11 |
License: GPL |
License: GPL |
12 |
Group: Networking/Daemons |
Group: Networking/Daemons |
13 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
14 |
|
Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch |
15 |
|
Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch |
16 |
|
Patch2: smeserver-fail2ban-0.1.18.bz10775-sfail2ban.patch |
17 |
|
Patch3: smeserver-fail2ban-0.1.18-locale-2019-05-15.patch |
18 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Configure fail2ban on SME Server |
Configure fail2ban on SME Server |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Tue May 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-4.sme |
31 |
|
- fix missing sfail2ban exec [SME: 10775] |
32 |
|
- Apply locals |
33 |
|
|
34 |
|
* Tue Apr 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-3.sme |
35 |
|
- add admin panel [SME: 10767] |
36 |
|
- add wordpress jails and filters [SME: 9709] |
37 |
|
|
38 |
* Fri Oct 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.18-1.sme |
* Fri Oct 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.18-1.sme |
39 |
- Ignore greylisting, from Michael McCarn [SME: 10447] |
- Ignore greylisting, from Michael McCarn [SME: 10447] |
40 |
|
|
103 |
|
|
104 |
%prep |
%prep |
105 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
106 |
|
%patch0 -p1 |
107 |
|
%patch1 -p1 |
108 |
|
%patch2 -p1 |
109 |
|
%patch3 -p1 |
110 |
|
|
111 |
%build |
%build |
112 |
%{__mkdir_p} root/var/log/fail2ban |
%{__mkdir_p} root/var/log/fail2ban |