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 <p.debruijn@unilogic.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Pascal de Bruijn 2020-01-21 11:42:12 +01:00 committed by Peter Korsgaard
parent f22eaec0c0
commit b6e0aaa544

View 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