diff options
| -rw-r--r-- | recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb index 4118732..96e17b7 100644 --- a/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb +++ b/recipes-security/fail2ban/python3-fail2ban_0.11.2.bb | |||
| @@ -9,6 +9,8 @@ HOMEPAGE = "http://www.fail2ban.org" | |||
| 9 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f" |
| 11 | 11 | ||
| 12 | DEPENDS = "python3-native" | ||
| 13 | |||
| 12 | SRCREV ="4fe4ac8dde6ba14841da598ec37f8c6911fe0f64" | 14 | SRCREV ="4fe4ac8dde6ba14841da598ec37f8c6911fe0f64" |
| 13 | SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11;protocol=https \ | 15 | SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11;protocol=https \ |
| 14 | file://initd \ | 16 | file://initd \ |
| @@ -21,6 +23,11 @@ S = "${WORKDIR}/git" | |||
| 21 | 23 | ||
| 22 | do_compile () { | 24 | do_compile () { |
| 23 | cd ${S} | 25 | cd ${S} |
| 26 | |||
| 27 | #remove symlink to python3 | ||
| 28 | # otherwise 2to3 is run against it | ||
| 29 | rm -f bin/fail2ban-python | ||
| 30 | |||
| 24 | ./fail2ban-2to3 | 31 | ./fail2ban-2to3 |
| 25 | } | 32 | } |
| 26 | 33 | ||
