|
|
@ -1,7 +1,7 @@
|
|
|
|
Summary: Ban IPs that make too many password failures
|
|
|
|
Summary: Ban IPs that make too many password failures
|
|
|
|
Name: fail2ban
|
|
|
|
Name: fail2ban
|
|
|
|
Version: 0.9
|
|
|
|
Version: 0.9
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://fail2ban.sourceforge.net/
|
|
|
|
URL: http://fail2ban.sourceforge.net/
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
@ -37,6 +37,10 @@ and shorewall respectively.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
# 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)
|
|
|
|
|
|
|
|
sed -i -e '/^After=/s/$/ firewalld.service/' files/fail2ban.service
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
python setup.py build
|
|
|
@ -111,6 +115,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Mar 18 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-2
|
|
|
|
|
|
|
|
- Use Fedora paths
|
|
|
|
|
|
|
|
- Start after firewalld (bug #1067147)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 17 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-1
|
|
|
|
* Mon Mar 17 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9-1
|
|
|
|
- Update to 0.9
|
|
|
|
- Update to 0.9
|
|
|
|
|
|
|
|
|
|
|
|