fail2ban: fix switch to python3
See https://github.com/fail2ban/fail2ban/issues/2105.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'fail2ban'
|
# Template file for 'fail2ban'
|
||||||
pkgname=fail2ban
|
pkgname=fail2ban
|
||||||
version=0.10.3.1
|
version=0.10.3.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
@@ -19,6 +19,9 @@ conf_files="
|
|||||||
/etc/fail2ban/action.d/*.conf
|
/etc/fail2ban/action.d/*.conf
|
||||||
/etc/fail2ban/filter.d/*.conf"
|
/etc/fail2ban/filter.d/*.conf"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
./fail2ban-2to3
|
||||||
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv fail2ban
|
vsv fail2ban
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user