void-packages/srcpkgs/fail2ban/template

29 lines
712 B
Bash

# Template file for 'fail2ban'
pkgname=fail2ban
version=0.10.4
revision=2
archs=noarch
build_style=python3-module
hostmakedepends="pkg-config python3"
depends="python3"
short_desc="Authentication failure monitor system"
pycompile_module="fail2ban"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
license="GPL-2.0-only"
homepage="http://www.fail2ban.org/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=d6ca1bbc7e7944f7acb2ba7c1065953cd9837680bc4d175f30ed155c6a372449
conf_files="
/etc/fail2ban/fail2ban.conf
/etc/fail2ban/jail.conf
/etc/fail2ban/action.d/*.conf
/etc/fail2ban/filter.d/*.conf"
pre_build() {
./fail2ban-2to3
}
post_install() {
vsv fail2ban
}