From 892dc83c445101bc2f4c4bbf433e14d4b1e76ef9 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 28 May 2018 20:06:54 +0200 Subject: [PATCH] fail2ban: fix switch to python3 See https://github.com/fail2ban/fail2ban/issues/2105. --- srcpkgs/fail2ban/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/fail2ban/template b/srcpkgs/fail2ban/template index ea98c959607..064ace4a559 100644 --- a/srcpkgs/fail2ban/template +++ b/srcpkgs/fail2ban/template @@ -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 }