From b6e0aaa5441275675ea953b5d980ca7d6df918e1 Mon Sep 17 00:00:00 2001
From: Pascal de Bruijn
Date: Tue, 21 Jan 2020 11:42:12 +0100
Subject: [PATCH] package/fail2ban: add conditional python-systemd dependancy
fail2ban needs python-systemd for its systemd backend to
be able to read logs from systemd/journald
Signed-off-by: Pascal de Bruijn
Signed-off-by: Peter Korsgaard
---
package/fail2ban/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/fail2ban/Config.in b/package/fail2ban/Config.in
index 39e996fdb6..86e6233793 100644
--- a/package/fail2ban/Config.in
+++ b/package/fail2ban/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_FAIL2BAN
bool "fail2ban"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD
help
Fail2ban scans log files (e.g. /var/log/apache/error_log) and
bans IPs that show the malicious signs -- too many password