28 lines
794 B
Bash
28 lines
794 B
Bash
# Template file for 'fail2ban'
|
|
pkgname=fail2ban
|
|
version=0.11.2
|
|
revision=3
|
|
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="https://www.fail2ban.org/"
|
|
changelog="https://raw.githubusercontent.com/fail2ban/fail2ban/master/ChangeLog"
|
|
distfiles="https://github.com/fail2ban/fail2ban/archive/${version}.tar.gz"
|
|
checksum=383108e5f8644cefb288537950923b7520f642e7e114efb843f6e7ea9268b1e0
|
|
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"
|
|
|
|
pre_build() {
|
|
./fail2ban-2to3
|
|
}
|
|
|
|
post_install() {
|
|
vsv fail2ban
|
|
}
|