aboutsummaryrefslogtreecommitdiff
path: root/security/denyhosts
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 17:43:23 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-01 17:43:23 +0000
commitddfe33e5f7d90ea656dab97f8256b8907b73ef56 (patch)
tree470bbf019c547cd99f85bd3aa39a0c75e10243a2 /security/denyhosts
parent9a7174a78f82c4408d6553b00b65f9a9aeb6526b (diff)
downloadports-ddfe33e5f7d90ea656dab97f8256b8907b73ef56.tar.gz
ports-ddfe33e5f7d90ea656dab97f8256b8907b73ef56.zip
Notes
Diffstat (limited to 'security/denyhosts')
-rw-r--r--security/denyhosts/Makefile3
-rw-r--r--security/denyhosts/files/denyhosts.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/security/denyhosts/Makefile b/security/denyhosts/Makefile
index 6107440e0224..3b86fccb37d0 100644
--- a/security/denyhosts/Makefile
+++ b/security/denyhosts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= denyhosts
PORTVERSION= 2.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF
DISTNAME= DenyHosts-${PORTVERSION}
@@ -20,6 +20,7 @@ USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= DenyHosts
USE_RC_SUBR= denyhosts
+SUB_LIST+= PYTHON=${PYTHON_CMD}
SUB_FILES= pkg-message
PORTDOCS= CHANGELOG.txt LICENSE.txt README.txt
diff --git a/security/denyhosts/files/denyhosts.in b/security/denyhosts/files/denyhosts.in
index 1524c48ef328..284b07bd18d9 100644
--- a/security/denyhosts/files/denyhosts.in
+++ b/security/denyhosts/files/denyhosts.in
@@ -12,7 +12,7 @@ name="denyhosts"
rcvar=${name}_enable
command="%%PREFIX%%/bin/denyhosts.py"
-command_interpreter="/usr/local/bin/python"
+command_interpreter="%%PYTHON%%"
command_args="--config %%PREFIX%%/etc/denyhosts.conf --daemon"
pidfile="/var/run/${name}.pid"