SHA256
1
0
forked from pool/fail2ban
Dominique Leuenberger 2022-01-26 20:27:03 +00:00 committed by Git OBS Bridge
commit e97a7a459f
4 changed files with 18 additions and 3 deletions

View File

@ -6,7 +6,7 @@ diff -ur fail2ban-0.11.2-orig/files/fail2ban.service.in fail2ban-0.11.2/files/fa
Documentation=man:fail2ban(1) Documentation=man:fail2ban(1)
After=network.target iptables.service firewalld.service ip6tables.service ipset.service nftables.service After=network.target iptables.service firewalld.service ip6tables.service ipset.service nftables.service
-PartOf=iptables.service firewalld.service ip6tables.service ipset.service nftables.service -PartOf=iptables.service firewalld.service ip6tables.service ipset.service nftables.service
+PartOf=firewalld.service ipset.service nftables.service +PartOf=firewalld.service
[Service] [Service]
Type=simple Type=simple

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Jan 22 11:17:48 UTC 2022 - Arjen de Korte <suse+build@de-korte.org>
- Fail2ban can't be PartOf ipset.service and nftables.service that
conflict with firewalld.service (as it will prevent restarting the
latter and which are not provided anymore)
* fail2ban-opensuse-service.patch
* harden_fail2ban.service.patch
-------------------------------------------------------------------
Wed Jan 19 13:05:44 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add python-rpm-macros buildrequires (bsc#1194752)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 12 10:49:20 UTC 2021 - Johannes Weberhofer <jweberhofer@weberhofer.at> Fri Nov 12 10:49:20 UTC 2021 - Johannes Weberhofer <jweberhofer@weberhofer.at>

View File

@ -1,7 +1,7 @@
# #
# spec file for package fail2ban # spec file for package fail2ban
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -58,6 +58,7 @@ Patch401: fail2ban-0.11.2-upstream-patch-python-3.9.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: logrotate BuildRequires: logrotate
BuildRequires: python-rpm-macros
BuildRequires: python3-tools BuildRequires: python3-tools
# timezone package is required to run the tests # timezone package is required to run the tests
BuildRequires: timezone BuildRequires: timezone

View File

@ -3,7 +3,7 @@ Index: fail2ban-0.11.2/files/fail2ban.service.in
--- fail2ban-0.11.2.orig/files/fail2ban.service.in --- fail2ban-0.11.2.orig/files/fail2ban.service.in
+++ fail2ban-0.11.2/files/fail2ban.service.in +++ fail2ban-0.11.2/files/fail2ban.service.in
@@ -5,6 +5,18 @@ After=network.target iptables.service fi @@ -5,6 +5,18 @@ After=network.target iptables.service fi
PartOf=firewalld.service ipset.service nftables.service PartOf=firewalld.service
[Service] [Service]
+# added automatically, for details please see +# added automatically, for details please see