mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
python3-fail2ban: add 2-3 conversion changes
Had to use the fail2ban-2.3 program to create py3 code Add it as a patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: t -*-
|
||||
# vi: set ft=python sts=4 ts=4 sw=4 noet :
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11 \
|
||||
file://initd \
|
||||
file://fail2ban_setup.py \
|
||||
file://run-ptest \
|
||||
file://0001-python3-fail2ban-2-3-conversion.patch \
|
||||
"
|
||||
|
||||
inherit update-rc.d ptest setuptools3
|
||||
@@ -45,5 +46,6 @@ INITSCRIPT_PARAMS = "defaults 25"
|
||||
|
||||
INSANE_SKIP_${PN}_append = "already-stripped"
|
||||
|
||||
RDEPENDS_${PN} = "sysklogd iptables sqlite3 ${PYTHON_PN} ${PYTHON_PN}-pyinotify"
|
||||
RDEPENDS_${PN} = "sysklogd iptables sqlite3 python3-core python3-pyinotify python3-logging python3-fcntl"
|
||||
RDEPENDS_${PN} += " python3-json "
|
||||
RDEPENDS_${PN}-ptest = "python3-core python3-io python3-modules python3-fail2ban"
|
||||
|
||||
Reference in New Issue
Block a user