diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-09-09 11:34:16 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-09-17 21:08:19 -0700 |
commit | 32def3971b6f55863dce96b1c32358277a337092 (patch) | |
tree | a6760966ae23617c3f738c2135a4c8aaba2a8eb8 | |
parent | d743e447108e74053291abba924d1ed2bb76a0a7 (diff) | |
download | meta-security-32def3971b6f55863dce96b1c32358277a337092.tar.gz |
fail2ban: update to 10.3.1
covert to python package standard
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/fail2ban/python-fail2ban.inc (renamed from recipes-security/fail2ban/fail2ban_0.10.2.bb) | 11 | ||||
-rw-r--r-- | recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb | 2 | ||||
-rw-r--r-- | recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/recipes-security/fail2ban/fail2ban_0.10.2.bb b/recipes-security/fail2ban/python-fail2ban.inc index 7e2deba..0b88f83 100644 --- a/recipes-security/fail2ban/fail2ban_0.10.2.bb +++ b/recipes-security/fail2ban/python-fail2ban.inc | |||
@@ -9,14 +9,14 @@ 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 ="a45488465e0dd547eb8479c0fa9fd577c1837213" | 12 | SRCREV ="ac0d441fd68852ffda7b15c71f16b7f4fde1a7ee" |
13 | SRC_URI = " \ | 13 | SRC_URI = " \ |
14 | git://github.com/fail2ban/fail2ban.git;branch=0.10 \ | 14 | git://github.com/fail2ban/fail2ban.git;branch=0.11 \ |
15 | file://initd \ | 15 | file://initd \ |
16 | file://fail2ban_setup.py \ | 16 | file://fail2ban_setup.py \ |
17 | " | 17 | " |
18 | 18 | ||
19 | inherit update-rc.d setuptools | 19 | inherit update-rc.d |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
22 | 22 | ||
@@ -32,10 +32,11 @@ do_install_append () { | |||
32 | install -d ${D}/${sysconfdir}/fail2ban | 32 | install -d ${D}/${sysconfdir}/fail2ban |
33 | install -d ${D}/${sysconfdir}/init.d | 33 | install -d ${D}/${sysconfdir}/init.d |
34 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server | 34 | install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server |
35 | chown -R root:root ${D}/${bindir} | ||
35 | } | 36 | } |
36 | 37 | ||
37 | FILES_${PN} += "/run" | 38 | FILES_${PN} += "/run" |
38 | 39 | ||
39 | INSANE_SKIP_${PN}_append = "already-stripped" | 40 | INSANE_SKIP_${PN}_append = "already-stripped" |
40 | 41 | ||
41 | RDEPENDS_${PN} = "sysklogd iptables sqlite3 python python-pyinotify" | 42 | RDEPENDS_${PN} = "sysklogd iptables sqlite3 ${PYTHON_PN} ${PYTHON_PN}-pyinotify" |
diff --git a/recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb b/recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb new file mode 100644 index 0000000..70c3bd9 --- /dev/null +++ b/recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools | ||
2 | require python-fail2ban.inc | ||
diff --git a/recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb b/recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb new file mode 100644 index 0000000..bdb4146 --- /dev/null +++ b/recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-fail2ban.inc | ||