|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Daemon to ban hosts that cause multiple authentication errors
|
|
|
|
|
Name: fail2ban
|
|
|
|
|
Version: 0.9.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://fail2ban.sourceforge.net/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
@ -138,6 +138,7 @@ by default.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
# Use Fedora paths
|
|
|
|
|
sed -i -e 's/^before = paths-.*/before = paths-fedora.conf/' config/jail.conf
|
|
|
|
|
# Start after firewalld (https://bugzilla.redhat.com/show_bug.cgi?id=1067147)
|
|
|
|
|