aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-fail2ban
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-18 13:24:38 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-18 13:24:38 +0800
commitc6f80a5925f6df980c9ce7ffb8569734597d6626 (patch)
treecd7017cd65b4872c9076534b9e5d1772ee980935 /security/py-fail2ban
parentf8cf9a2774c7996e6503e94ba7b4ede689f6262c (diff)
downloadfreebsd-ports-gnome-c6f80a5925f6df980c9ce7ffb8569734597d6626.tar.gz
freebsd-ports-gnome-c6f80a5925f6df980c9ce7ffb8569734597d6626.tar.zst
freebsd-ports-gnome-c6f80a5925f6df980c9ce7ffb8569734597d6626.zip
- rc.d fix [2]
- broken on 2.6, 2.3 is gone, and 2.4 is gone soon, so only 2.5 [1] PR: ports/142849 [2] Submitted by: Krzysztof Stryjek <admin@bsdserwis.com> [1], miwi [2]
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"