New package: sshguard-1.6.3
This commit is contained in:
parent
81eaaaa0d5
commit
e9bc864932
3 changed files with 38 additions and 0 deletions
5
srcpkgs/sshguard/files/sshguard-socklog/run
Executable file
5
srcpkgs/sshguard/files/sshguard-socklog/run
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
sv check iptables >/dev/null || exit 1
|
||||
sv check socklog-unix >/dev/null || exit 1
|
||||
|
||||
exec sshguard -l /var/log/socklog/secure/current -b 200:/var/db/sshguard/blacklist.db 2>&1
|
14
srcpkgs/sshguard/patches/patch-src_sshguard_logsuck.c
Normal file
14
srcpkgs/sshguard/patches/patch-src_sshguard_logsuck.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
Logging that one reads from the log causes an infinite loop.
|
||||
|
||||
--- src/sshguard_logsuck.c.orig 2015-11-11 23:00:05.096089572 +0000
|
||||
+++ src/sshguard_logsuck.c 2016-03-09 19:18:06.326044898 +0000
|
||||
@@ -286,7 +286,6 @@
|
||||
}
|
||||
list_iterator_stop(& sources_list);
|
||||
|
||||
- sshguard_log(LOG_INFO, "Refreshing sources showed %u changes.", numchanged);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
19
srcpkgs/sshguard/template
Normal file
19
srcpkgs/sshguard/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'sshguard'
|
||||
pkgname=sshguard
|
||||
version=1.6.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-firewall=iptables"
|
||||
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=6c4d3be2acf6349b4ac5d6fff4bbcd8fa988c82876d848cbbd0c7c99bc0438c7
|
||||
|
||||
post_install() {
|
||||
vsv sshguard-socklog
|
||||
vlicense COPYING
|
||||
}
|
Loading…
Reference in a new issue