public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sai Harsha Suryadevara <ssuryad@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fail2ban] f44: Add a build conditional for the hostsdeny subpackage, default on
Date: Wed, 11 Nov 2026 01:35:55 GMT [thread overview]
Message-ID: <179436095563.1.16305028940485310229.rpms-fail2ban-7c98d3fd3ffb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fail2ban
Branch : f44
Commit : 7c98d3fd3ffbee7226c62c4de0b5de27c21e4eee
Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
Date : 2026-11-02T01:02:42+00:00
Stats : +13/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fail2ban/c/7c98d3fd3ffbee7226c62c4de0b5de27c21e4eee?branch=f44
Log:
Add a build conditional for the hostsdeny subpackage, default on
---
diff --git a/fail2ban.spec b/fail2ban.spec
index fe40ebe..fbfe23f 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -4,6 +4,9 @@
%bcond_without shorewall
%endif
+# The hostsdeny action needs tcp_wrappers
+%bcond_without tcpwrappers
+
# RHEL < 10 and Fedora < 40 use file context entries in /var/run
%if %{defined rhel} && 0%{?rhel} < 10
%define legacy_var_run 1
@@ -11,7 +14,7 @@
Name: fail2ban
Version: 1.1.0
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Daemon to ban hosts that cause multiple authentication errors
License: GPL-2.0-or-later
@@ -140,7 +143,9 @@ installation and know what you are doing.
%package all
Summary: Install all Fail2Ban packages and dependencies
Requires: %{name}-firewalld = %{version}-%{release}
+%if %{with tcpwrappers}
Requires: %{name}-hostsdeny = %{version}-%{release}
+%endif
Requires: %{name}-mail = %{version}-%{release}
Requires: %{name}-sendmail = %{version}-%{release}
Requires: %{name}-server = %{version}-%{release}
@@ -165,6 +170,7 @@ This package enables support for manipulating firewalld rules. This is the
default firewall service in Fedora.
+%if %{with tcpwrappers}
%package hostsdeny
Summary: Hostsdeny (tcp_wrappers) support for Fail2Ban
Requires: %{name}-server = %{version}-%{release}
@@ -174,6 +180,7 @@ Requires: tcp_wrappers
%description hostsdeny
This package enables support for manipulating tcp_wrapper's /etc/hosts.deny
files.
+%endif
%package tests
@@ -400,8 +407,10 @@ fi
%files firewalld
%config(noreplace) %{_sysconfdir}/fail2ban/jail.d/00-firewalld.conf
+%if %{with tcpwrappers}
%files hostsdeny
%config(noreplace) %{_sysconfdir}/fail2ban/action.d/hostsdeny.conf
+%endif
%files tests
%{_bindir}/fail2ban-testcases
@@ -431,6 +440,9 @@ fi
%changelog
+* Sun Nov 01 2026 Sai Harsha Suryadevara <ssuryad@amazon.com> - 1.1.0-20
+- Add a build conditional for the hostsdeny subpackage, default on, for builds without tcp_wrappers
+
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
reply other threads:[~2026-11-11 1:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179436095563.1.16305028940485310229.rpms-fail2ban-7c98d3fd3ffb@fedoraproject.org \
--to=ssuryad@amazon.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox