diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/bruteforceblocker/Makefile | 5 | ||||
-rw-r--r-- | security/bruteforceblocker/distinfo | 4 | ||||
-rw-r--r-- | security/bruteforceblocker/files/bruteforceblocker.sh.in | 33 | ||||
-rw-r--r-- | security/bruteforceblocker/files/pkg-message.in | 3 | ||||
-rw-r--r-- | security/bruteforceblocker/pkg-descr | 2 |
5 files changed, 4 insertions, 43 deletions
diff --git a/security/bruteforceblocker/Makefile b/security/bruteforceblocker/Makefile index 0452b970432e..8b986ec1c29c 100644 --- a/security/bruteforceblocker/Makefile +++ b/security/bruteforceblocker/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bruteforceblocker -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= security MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \ ${MASTER_SITE_LOCAL} @@ -15,11 +15,8 @@ MASTER_SITE_SUBDIR= pav MAINTAINER= danger@rulez.sk COMMENT= Checks for failed login attempts and blocks given IPs -RUN_DEPENDS= ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail - NO_BUILD= yes USE_PERL5_RUN= yes -USE_RC_SUBR= ${PORTNAME}.sh WRKSRC= ${WRKDIR} PLIST_FILES= bin/${PORTNAME}.pl diff --git a/security/bruteforceblocker/distinfo b/security/bruteforceblocker/distinfo index 1fd785da9093..217aa5d1f65a 100644 --- a/security/bruteforceblocker/distinfo +++ b/security/bruteforceblocker/distinfo @@ -1,2 +1,2 @@ -MD5 (bruteforceblocker-1.0.tar.gz) = e82fc32fe3fbde2a4291cbdeada188c7 -SIZE (bruteforceblocker-1.0.tar.gz) = 1845 +MD5 (bruteforceblocker-1.1.tar.gz) = 98f1c8bebd445b06b414b52931d0df93 +SIZE (bruteforceblocker-1.1.tar.gz) = 1451 diff --git a/security/bruteforceblocker/files/bruteforceblocker.sh.in b/security/bruteforceblocker/files/bruteforceblocker.sh.in deleted file mode 100644 index 86e76655df4f..000000000000 --- a/security/bruteforceblocker/files/bruteforceblocker.sh.in +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -# PROVIDE: bruteforceblocker -# REQUIRE: LOGIN -# KEYWORD: FreeBSD shutdown - -# -# Add the following lines to /etc/rc.conf to enable bruteforceblocker: -# -# bruteforceblocker_enable="YES" -# - -. %%RC_SUBR%% - -name="bruteforceblocker" -rcvar=`set_rcvar` -load_rc_config $name - -command="%%PREFIX%%/bin/bruteforceblocker.pl" -pidfile="/var/run/bruteforceblocker.pid" -procname="/usr/bin/perl" - -stop_postcmd=stop_postcmd - -stop_postcmd() -{ - rm -f $pidfile -} - -# set defaults -bruteforceblocker_enable=${bruteforceblocker_enable:-"NO"} - -run_rc_command "$1" diff --git a/security/bruteforceblocker/files/pkg-message.in b/security/bruteforceblocker/files/pkg-message.in index 5dadbe11c672..9b3a75aabfda 100644 --- a/security/bruteforceblocker/files/pkg-message.in +++ b/security/bruteforceblocker/files/pkg-message.in @@ -3,6 +3,3 @@ To setup bruteforceblocker, you should check main script located at %%PREFIX%%/bin/bruteforceblocker.pl -when you are done, you will also need to add to /etc/rc.conf -bruteforceblocker_enable="YES", so you will be able to start -bruteforceblocker via rcNG script. diff --git a/security/bruteforceblocker/pkg-descr b/security/bruteforceblocker/pkg-descr index 2a4d5ba8322b..93ad7cbcfe02 100644 --- a/security/bruteforceblocker/pkg-descr +++ b/security/bruteforceblocker/pkg-descr @@ -3,7 +3,7 @@ When this script is running, it checks sshd's auth log for Failed Password attempts and counts it's number. When given IP reaches specified number of fails, script adds this IP to the pf's table and block any other traffic to the given box. If you are bored of those automated auth tries, you will be -happy with this script. It also includes a simple rc script. +happy with this script. WWW: http://danger.rulez.sk/projects/bruteforceblocker/ |