23 lines
687 B
Bash
23 lines
687 B
Bash
# Template file for 'sshguard'
|
|
pkgname=sshguard
|
|
version=2.4.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="flex"
|
|
short_desc="Protects networked hosts from brute force attacks"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.sshguard.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/sshguard/sshguard-${version}.tar.gz"
|
|
checksum=64029deff6de90fdeefb1f497d414f0e4045076693a91da1a70eb7595e97efeb
|
|
|
|
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
|
|
vsed -i 's@/usr/local/@/usr/@g' ${DESTDIR}/etc/sshguard.conf
|
|
vlicense COPYING
|
|
}
|