mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
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'
|
# 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue