diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-01-21 21:41:57 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-01-21 21:41:57 -0800 |
commit | b02f3fae9dfd5d696ff784d47f589361a6f59ec1 (patch) | |
tree | a90304d159479405a9a6cbf58b2b557f18c8cbfa | |
parent | fa8d29bffc1d8d4d44048aa72cf985b506dad68b (diff) | |
download | meta-security-b02f3fae9dfd5d696ff784d47f589361a6f59ec1.tar.gz |
python3-fail2ban: update to latest
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/fail2ban/python3-fail2ban_0.10.4.0.bb | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/recipes-security/fail2ban/python3-fail2ban_0.10.4.0.bb b/recipes-security/fail2ban/python3-fail2ban_0.10.4.0.bb index 53f94ff..79bd2b0 100644 --- a/recipes-security/fail2ban/python3-fail2ban_0.10.4.0.bb +++ b/recipes-security/fail2ban/python3-fail2ban_0.10.4.0.bb | |||
@@ -9,13 +9,11 @@ HOMEPAGE = "http://www.fail2ban.org" | |||
9 | LICENSE = "GPL-2.0" | 9 | LICENSE = "GPL-2.0" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f" |
11 | 11 | ||
12 | SRCREV ="aa565eb80ec6043317e8430cabcaf9c3f4e61578" | 12 | SRCREV ="3befbb177017957869425c81a560edb8e27db75a" |
13 | SRC_URI = " \ | 13 | SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11 \ |
14 | git://github.com/fail2ban/fail2ban.git;branch=0.11 \ | 14 | file://initd \ |
15 | file://initd \ | ||
16 | file://fail2ban_setup.py \ | 15 | file://fail2ban_setup.py \ |
17 | file://run-ptest \ | 16 | file://run-ptest \ |
18 | file://0001-To-fix-build-error-of-xrang.patch \ | ||
19 | " | 17 | " |
20 | 18 | ||
21 | inherit update-rc.d ptest setuptools3 | 19 | inherit update-rc.d ptest setuptools3 |
@@ -27,16 +25,16 @@ do_compile_prepend () { | |||
27 | } | 25 | } |
28 | 26 | ||
29 | do_install_append () { | 27 | do_install_append () { |
30 | install -d ${D}/${sysconfdir}/fail2ban | 28 | install -d ${D}/${sysconfdir}/fail2ban |
31 | install -d ${D}/${sysconfdir}/init.d | 29 | install -d ${D}/${sysconfdir}/init.d |
32 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server | 30 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server |
33 | chown -R root:root ${D}/${bindir} | 31 | chown -R root:root ${D}/${bindir} |
34 | } | 32 | } |
35 | 33 | ||
36 | do_install_ptest_append () { | 34 | do_install_ptest_append () { |
37 | install -d ${D}${PTEST_PATH} | 35 | install -d ${D}${PTEST_PATH} |
38 | sed -i -e 's/##PYTHON##/${PYTHON_PN}/g' ${D}${PTEST_PATH}/run-ptest | 36 | sed -i -e 's/##PYTHON##/${PYTHON_PN}/g' ${D}${PTEST_PATH}/run-ptest |
39 | install -D ${S}/bin/fail2ban-testcases ${D}${PTEST_PATH} | 37 | install -D ${S}/bin/fail2ban-testcases ${D}${PTEST_PATH} |
40 | } | 38 | } |
41 | 39 | ||
42 | FILES_${PN} += "/run" | 40 | FILES_${PN} += "/run" |