diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-02-02 01:43:23 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-02-02 01:43:23 +0800 |
commit | 37ee42b7bef96dbd3d9b527cedc6b7f35308e57b (patch) | |
tree | 6563118532780ff1a65e8bc2b705d4d06446a24e | |
parent | f053c7ebde093fe897a446283660f13bb2bc9ea5 (diff) | |
download | freebsd-ports-gnome-37ee42b7bef96dbd3d9b527cedc6b7f35308e57b.tar.gz freebsd-ports-gnome-37ee42b7bef96dbd3d9b527cedc6b7f35308e57b.tar.zst freebsd-ports-gnome-37ee42b7bef96dbd3d9b527cedc6b7f35308e57b.zip |
- Fix command_interpreter in the rc.d script
PR: ports/143053
Submitted by: Frank Wall <fw@moov.de>
Tweaked by: Janos Mohacsi <mohacsi@niif.hu> (maintainer)
Corrected by: pgollucci (myself)
-rw-r--r-- | security/denyhosts/Makefile | 3 | ||||
-rw-r--r-- | security/denyhosts/files/denyhosts.in | 2 |
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" |