27 lines
843 B
Bash
27 lines
843 B
Bash
# Template file for 'fail2ban'
|
|
pkgname=fail2ban
|
|
version=1.1.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="pkg-config python3-setuptools"
|
|
depends="python3-pyasynchat"
|
|
short_desc="Authentication failure monitor system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://www.fail2ban.org/"
|
|
changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
|
|
distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
|
|
checksum=474fcc25afdaf929c74329d1e4d24420caabeea1ef2e041a267ce19269570bae
|
|
conf_files="
|
|
/etc/fail2ban/fail2ban.conf
|
|
/etc/fail2ban/jail.conf
|
|
/etc/fail2ban/action.d/*.conf
|
|
/etc/fail2ban/filter.d/*.conf"
|
|
make_dirs="/var/lib/fail2ban 0700 root root"
|
|
|
|
post_install() {
|
|
vman man/jail.conf.5
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/fail2ban/tests
|
|
vsv fail2ban
|
|
}
|