24 lines
698 B
Bash
24 lines
698 B
Bash
# Template file for 'sshguard'
|
|
pkgname=sshguard
|
|
version=2.3.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="flex"
|
|
depends="iptables"
|
|
short_desc="Protects networked hosts from brute force attacks"
|
|
maintainer="Lodvær <lodvaer@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.sshguard.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/sshguard/${pkgname}-${version}.tar.gz"
|
|
checksum=d4b53f87a3c26652e5a2899b16506b815fa56a36aaf5bde9c2704bfb1a0ca068
|
|
|
|
make_dirs="/var/db/sshguard 0755 root root"
|
|
conf_files="/etc/sshguard.conf"
|
|
|
|
post_install() {
|
|
vsv sshguard-socklog
|
|
vconf examples/sshguard.conf.sample sshguard.conf
|
|
sed -i 's@/usr/local/@/usr/@g' ${DESTDIR}/etc/sshguard.conf
|
|
vlicense COPYING
|
|
}
|