package/fail2ban: add conditional python-systemd dependancy
authorPascal de Bruijn <p.debruijn@unilogic.nl>
Tue, 21 Jan 2020 10:42:12 +0000 (11:42 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Feb 2020 17:24:27 +0000 (18:24 +0100)
fail2ban needs python-systemd for its systemd backend to
be able to read logs from systemd/journald

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fail2ban/Config.in

index 39e996fdb6d42b2127735ec5867e105170f1eef7..86e6233793efb41fc30d140de6fb128916b28c27 100644 (file)
@@ -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