diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-10-04 22:51:11 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-10-08 15:24:38 -0400 |
commit | 3f7d40b0fc92e4de3c008c8a0e1d26960d3f4085 (patch) | |
tree | d1cfd229188fdf549d095a8cf90d6aec4de0c597 /dynamic-layers/meta-python | |
parent | e63009af1934a4c455758e33ca0ea06a5fd25631 (diff) | |
download | meta-security-3f7d40b0fc92e4de3c008c8a0e1d26960d3f4085.tar.gz |
fail2ban: add useful recommendations
On a systemd-based system, one is likely to make use of
'backend=systemd', which requires the systemd module.
Both the pyinotify and systemd backends require the distutils module.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'dynamic-layers/meta-python')
-rw-r--r-- | dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_1.0.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_1.0.2.bb b/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_1.0.2.bb index d64108a..68695f2 100644 --- a/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_1.0.2.bb +++ b/dynamic-layers/meta-python/recipes-security/fail2ban/python3-fail2ban_1.0.2.bb | |||
@@ -71,3 +71,5 @@ RDEPENDS:${PN} += "python3-sqlite3" | |||
71 | RDEPENDS:${PN} += " python3-logging python3-fcntl python3-json" | 71 | RDEPENDS:${PN} += " python3-logging python3-fcntl python3-json" |
72 | RDEPENDS:${PN}-ptest = "python3-core python3-io python3-modules python3-fail2ban" | 72 | RDEPENDS:${PN}-ptest = "python3-core python3-io python3-modules python3-fail2ban" |
73 | 73 | ||
74 | RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'python3-systemd', '', d)}" | ||
75 | RRECOMMENDS:${PN} += "python3-distutils" | ||