1 |
%define version 0.1.18 |
%define version 0.1.18 |
2 |
%define release 2 |
%define release 4 |
3 |
%define name smeserver-fail2ban |
%define name smeserver-fail2ban |
4 |
|
|
5 |
|
|
13 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
14 |
Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch |
Patch0:smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch |
15 |
Patch1: smeserver-fail2ban-0.1.18.bz9709-wordpress.patch |
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 Apr 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1.18-2.sme |
* 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] |
- add admin panel [SME: 10767] |
36 |
- add wordpress jails and filters [SME: 9709] |
- add wordpress jails and filters [SME: 9709] |
37 |
|
|
105 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
106 |
%patch0 -p1 |
%patch0 -p1 |
107 |
%patch1 -p1 |
%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 |