fail2ban: fix switch to python3
See https://github.com/fail2ban/fail2ban/issues/2105.
This commit is contained in:
parent
36fa3f1341
commit
892dc83c44
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'fail2ban'
|
||||
pkgname=fail2ban
|
||||
version=0.10.3.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="pkg-config python3"
|
||||
depends="python3"
|
||||
|
@ -19,6 +19,9 @@ conf_files="
|
|||
/etc/fail2ban/action.d/*.conf
|
||||
/etc/fail2ban/filter.d/*.conf"
|
||||
|
||||
pre_build() {
|
||||
./fail2ban-2to3
|
||||
}
|
||||
post_install() {
|
||||
vsv fail2ban
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue