[58256] trunk/dports/security/denyhosts

snc at macports.org snc at macports.org
Thu Sep 24 17:23:52 PDT 2009


Revision: 58256
          http://trac.macports.org/changeset/58256
Author:   snc at macports.org
Date:     2009-09-24 17:23:48 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
fixed path in daemon control, ticket #21501

Modified Paths:
--------------
    trunk/dports/security/denyhosts/Portfile
    trunk/dports/security/denyhosts/files/patch-daemon-control-dist.diff

Modified: trunk/dports/security/denyhosts/Portfile
===================================================================
--- trunk/dports/security/denyhosts/Portfile	2009-09-25 00:05:39 UTC (rev 58255)
+++ trunk/dports/security/denyhosts/Portfile	2009-09-25 00:23:48 UTC (rev 58256)
@@ -7,7 +7,7 @@
 name                denyhosts
 categories          security sysutils
 version             2.6
-revision            1
+revision            2
 license             GPL
 maintainers         snc openmaintainer
 description         DenyHosts is a utility to help sys admins thwart ssh hackers
@@ -33,6 +33,8 @@
     reinplace s|/usr/share|${prefix}/share| ${worksrcpath}/setup.py
     reinplace s|/usr/share|${prefix}/share| ${worksrcpath}/README.txt
     reinplace s|@PYTHON@|${python.bin}| ${worksrcpath}/daemon-control-dist
+    set bin_path [string map {python2.6 denyhosts.py} ${python.bin}]
+    reinplace s|@BIN_PATH@|${bin_path}| ${worksrcpath}/daemon-control-dist
     reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/daemon-control-dist
     reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/denyhosts.cfg-dist
 }

Modified: trunk/dports/security/denyhosts/files/patch-daemon-control-dist.diff
===================================================================
--- trunk/dports/security/denyhosts/files/patch-daemon-control-dist.diff	2009-09-25 00:05:39 UTC (rev 58255)
+++ trunk/dports/security/denyhosts/files/patch-daemon-control-dist.diff	2009-09-25 00:23:48 UTC (rev 58256)
@@ -13,7 +13,7 @@
 -DENYHOSTS_BIN   = "/usr/bin/denyhosts.py"
 -DENYHOSTS_LOCK  = "/var/lock/subsys/denyhosts"
 -DENYHOSTS_CFG   = "/usr/share/denyhosts/denyhosts.cfg"
-+DENYHOSTS_BIN   = "@PREFIX@/bin/denyhosts.py"
++DENYHOSTS_BIN   = "@BIN_PATH@"
 +DENYHOSTS_LOCK  = "@PREFIX@/var/run/denyhosts.pid"
 +DENYHOSTS_CFG   = "@PREFIX@/share/denyhosts/denyhosts.cfg"
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/f2c3f8cf/attachment-0001.html>


More information about the macports-changes mailing list