void-packages/srcpkgs/sshguard/template
2017-03-12 12:35:39 +00:00

22 lines
670 B
Bash

# Template file for 'sshguard'
pkgname=sshguard
version=2.0.0
revision=1
build_style=gnu-configure
make_dirs="/var/db/sshguard 0755 root root"
depends="iptables"
short_desc="Protects networked hosts from brute force attacks"
maintainer="Lodvær <lodvaer@gmail.com>"
license="3-clause-BSD"
homepage="http://www.sshguard.net/"
distfiles="${SOURCEFORGE_SITE}/sshguard/$pkgname-$version.tar.gz"
checksum=e87c6c4a6dddf06f440ea76464eb6197869c0293f0a60ffa51f8a6a0d7b0cb06
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
}