summaryrefslogtreecommitdiff
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
parent- Fix build error on amd64. (diff)
- 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]
Notes
Notes: svn path=/head/; revision=248071
-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"