|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: fail2ban
|
|
|
|
Name: fail2ban
|
|
|
|
Version: 1.0.2
|
|
|
|
Version: 1.0.2
|
|
|
|
Release: 11%{?dist}
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Summary: Daemon to ban hosts that cause multiple authentication errors
|
|
|
|
Summary: Daemon to ban hosts that cause multiple authentication errors
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
@ -67,7 +67,11 @@ BuildRequires: sqlite
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: selinux-policy-devel
|
|
|
|
BuildRequires: selinux-policy-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 41
|
|
|
|
|
|
|
|
BuildRequires: bash-completion-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
|
|
|
|
|
|
|
# Default components
|
|
|
|
# Default components
|
|
|
@ -121,7 +125,7 @@ Requires: (%{name}-selinux if selinux-policy-%{selinuxtype})
|
|
|
|
Requires: %{name}-selinux
|
|
|
|
Requires: %{name}-selinux
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# see note above in BuildRequires section
|
|
|
|
# see note above in BuildRequires section
|
|
|
|
%if v"0%{?python3_version}" >= v"3.12"
|
|
|
|
%if 0%{?fedora} > 38
|
|
|
|
Requires: python3-pyasyncore
|
|
|
|
Requires: python3-pyasyncore
|
|
|
|
Requires: python3-pyasynchat
|
|
|
|
Requires: python3-pyasynchat
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -241,7 +245,7 @@ by default.
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -p1
|
|
|
|
# this test uses smtpd which is removed in Python 3.12, rewriting it
|
|
|
|
# this test uses smtpd which is removed in Python 3.12, rewriting it
|
|
|
|
# isn't trivial
|
|
|
|
# isn't trivial
|
|
|
|
%if v"0%{?python3_version}" >= v"3.12"
|
|
|
|
%if 0%{?fedora} > 38
|
|
|
|
rm -f fail2ban/tests/action_d/test_smtp.py
|
|
|
|
rm -f fail2ban/tests/action_d/test_smtp.py
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -456,6 +460,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 22 2024 Orion Poplawski <orion@nwra.com> - 1.0.2-12
|
|
|
|
|
|
|
|
- Allow watch on more logfiles
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-11
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|