diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-10-04 22:51:10 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-10-08 15:24:38 -0400 |
commit | e63009af1934a4c455758e33ca0ea06a5fd25631 (patch) | |
tree | b4e8c4956399a4c1e922a86a32af64e60ac83cf6 /dynamic-layers/meta-python | |
parent | 31b70d93fcfac878caa2903c99b5b7f610befa35 (diff) | |
download | meta-security-e63009af1934a4c455758e33ca0ea06a5fd25631.tar.gz |
fail2ban: change sqlite3 dependency to python3-sqlite3
Currently, one gets
Unable to import fail2ban database module as sqlite is not available
So we need to ensure the sqlite3 python module is available. That will
automatically pull in libsqlite3.
Since fail2ban does not actually depend on the the CLI which the
sqlite3 package provides, drop that dependency.
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 | 3 |
1 files changed, 2 insertions, 1 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 81fa00d..d64108a 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 | |||
@@ -66,7 +66,8 @@ INITSCRIPT_PARAMS = "defaults 25" | |||
66 | 66 | ||
67 | INSANE_SKIP:${PN}:append = "already-stripped" | 67 | INSANE_SKIP:${PN}:append = "already-stripped" |
68 | 68 | ||
69 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog} iptables sqlite3 python3-core python3-pyinotify" | 69 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog} iptables python3-core python3-pyinotify" |
70 | RDEPENDS:${PN} += "python3-sqlite3" | ||
70 | RDEPENDS:${PN} += " python3-logging python3-fcntl python3-json" | 71 | RDEPENDS:${PN} += " python3-logging python3-fcntl python3-json" |
71 | RDEPENDS:${PN}-ptest = "python3-core python3-io python3-modules python3-fail2ban" | 72 | RDEPENDS:${PN}-ptest = "python3-core python3-io python3-modules python3-fail2ban" |
72 | 73 | ||