denyhost: renamed from denyhosts which is a dead project, denyhost is a active fork of denyhosts

This commit is contained in:
Danny Rawlins 2014-11-21 23:40:52 +11:00
parent 6db33dc1eb
commit 91b1410836
4 changed files with 12 additions and 3 deletions

View File

@ -1,13 +1,13 @@
# Description: DenyHosts is a script intended to be run by Linux system administrators to help thwart ssh server attacks.
# Description: A script intended to be run by Linux system administrators to help thwart ssh server attacks. (fork of denyhosts)
# URL: http://denyhost.sourceforge.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: python
name=denyhosts
name=denyhost
version=2.9
release=1
source=(http://downloads.sourceforge.net/project/denyhost/denyhost-$version/$name-$version.tar.gz)
source=(http://downloads.sourceforge.net/project/$name/$name-$version/denyhosts-$version.tar.gz)
build() {
cd DenyHosts-$version
@ -31,4 +31,10 @@ build() {
-e 's|^DENYHOSTS_LOCK = .*|DENYHOSTS_LOCK = "/var/run/denyhosts.pid"|' \
-e 's|^DENYHOSTS_CFG = .*|DENYHOSTS_CFG = "/etc/denyhosts/denyhosts.conf"|' \
$PKG/etc/rc.d/denyhosts
sed -i \
-e 's|^SECURE_LOG = /var/log/auth.log|SECURE_LOG = /var/log/auth|' \
-e 's|^IPTABLES = /sbin/iptables|IPTABLES = /usr/sbin/iptables|' \
-e 's|^# BLOCKPORT = 22|BLOCKPORT = 22|' \
$PKG/etc/denyhosts/denyhosts.conf
}

View File

@ -1,3 +1,6 @@
This is a fork of denyhosts, it'll run the same with a few small changes. I
expect more code cleanup and a total shift to iptables in future.
REQUIREMENTS:
PRECAUTION: