Merge pull request #5972 from lodvaer/sshguard

sshguard: update to 2.0.0.
This commit is contained in:
Enno Boland 2017-03-12 19:36:18 +01:00 committed by GitHub
commit 6df4be2953
1 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'sshguard' # Template file for 'sshguard'
pkgname=sshguard pkgname=sshguard
version=1.99.0 version=2.0.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-firewall=iptables"
make_dirs="/var/db/sshguard 0755 root root" make_dirs="/var/db/sshguard 0755 root root"
depends="iptables" depends="iptables"
short_desc="Protects networked hosts from brute force attacks" short_desc="Protects networked hosts from brute force attacks"
@ -11,9 +10,13 @@ maintainer="Lodvær <lodvaer@gmail.com>"
license="3-clause-BSD" license="3-clause-BSD"
homepage="http://www.sshguard.net/" homepage="http://www.sshguard.net/"
distfiles="${SOURCEFORGE_SITE}/sshguard/$pkgname-$version.tar.gz" distfiles="${SOURCEFORGE_SITE}/sshguard/$pkgname-$version.tar.gz"
checksum=d55ec6f57c24d954998328e0363000dbded9aed0580cfe4b558fce0abe550f95 checksum=e87c6c4a6dddf06f440ea76464eb6197869c0293f0a60ffa51f8a6a0d7b0cb06
conf_files="/etc/sshguard.conf"
post_install() { post_install() {
vsv sshguard-socklog vsv sshguard-socklog
vconf examples/sshguard.conf.sample sshguard.conf
sed -i 's@/usr/local/@/usr/@g' ${DESTDIR}/etc/sshguard.conf
vlicense COPYING vlicense COPYING
} }