mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
fail2ban: update to 10.3.1
covert to python package standard Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -9,14 +9,14 @@ HOMEPAGE = "http://www.fail2ban.org"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f"
|
||||
|
||||
SRCREV ="a45488465e0dd547eb8479c0fa9fd577c1837213"
|
||||
SRCREV ="ac0d441fd68852ffda7b15c71f16b7f4fde1a7ee"
|
||||
SRC_URI = " \
|
||||
git://github.com/fail2ban/fail2ban.git;branch=0.10 \
|
||||
git://github.com/fail2ban/fail2ban.git;branch=0.11 \
|
||||
file://initd \
|
||||
file://fail2ban_setup.py \
|
||||
file://fail2ban_setup.py \
|
||||
"
|
||||
|
||||
inherit update-rc.d setuptools
|
||||
inherit update-rc.d
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -32,10 +32,11 @@ do_install_append () {
|
||||
install -d ${D}/${sysconfdir}/fail2ban
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/initd ${D}${sysconfdir}/init.d/fail2ban-server
|
||||
chown -R root:root ${D}/${bindir}
|
||||
}
|
||||
|
||||
FILES_${PN} += "/run"
|
||||
|
||||
INSANE_SKIP_${PN}_append = "already-stripped"
|
||||
|
||||
RDEPENDS_${PN} = "sysklogd iptables sqlite3 python python-pyinotify"
|
||||
RDEPENDS_${PN} = "sysklogd iptables sqlite3 ${PYTHON_PN} ${PYTHON_PN}-pyinotify"
|
||||
2
recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb
Normal file
2
recipes-security/fail2ban/python-fail2ban_0.10.3.1.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit setuptools
|
||||
require python-fail2ban.inc
|
||||
2
recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb
Normal file
2
recipes-security/fail2ban/python3-fail2ban_0.10.3.1.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
inherit setuptools3
|
||||
require python-fail2ban.inc
|
||||
Reference in New Issue
Block a user