aboutsummaryrefslogtreecommitdiff
path: root/security/py-fail2ban
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-18 05:24:38 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-18 05:24:38 +0000
commit8baf6704502b19029f668742510fc559bde6b882 (patch)
tree1f50612b096ff2d76e1c9fa40a5f52b9eea404af /security/py-fail2ban
parent693358cc83c1574eefa2158d753809b04d5ee843 (diff)
downloadports-8baf6704502b19029f668742510fc559bde6b882.tar.gz
ports-8baf6704502b19029f668742510fc559bde6b882.zip
Notes
Diffstat (limited to 'security/py-fail2ban')
-rw-r--r--security/py-fail2ban/Makefile4
-rw-r--r--security/py-fail2ban/files/fail2ban.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile
index 199daf406839..5fd7bd2bea40 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fail2ban
PORTVERSION= 0.8.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
-USE_PYTHON= yes
+USE_PYTHON= 2.5
USE_PYDISTUTILS= yes
USE_RC_SUBR= fail2ban
diff --git a/security/py-fail2ban/files/fail2ban.in b/security/py-fail2ban/files/fail2ban.in
index 6573a90eb2c6..a9ab5a03d514 100644
--- a/security/py-fail2ban/files/fail2ban.in
+++ b/security/py-fail2ban/files/fail2ban.in
@@ -23,11 +23,11 @@ client="%%PREFIX%%/bin/fail2ban-client"
extra_commands="reload jailstatus"
+load_rc_config ${name}
+
start_cmd="${client} ${fail2ban_flags} start"
stop_cmd="${client} ${fail2ban_flags} stop"
reload_cmd="${client} ${fail2ban_flags} reload"
jailstatus_cmd="${client} ${fail2ban_flags} status"
-load_rc_config $name
-
run_rc_command "$1"