27 lines
684 B
Bash
27 lines
684 B
Bash
# Template file for 'fail2ban'
|
|
pkgname=fail2ban
|
|
version=0.11.1
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
hostmakedepends="pkg-config python3"
|
|
depends="python3"
|
|
short_desc="Authentication failure monitor system"
|
|
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=71d2a52b66bb0f87ac3812246bdd3819ec561913cd44afd39130a342f043aa6d
|
|
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
|
|
}
|