Ignore:
Timestamp:
Sep 25, 2009, 12:23:48 AM (10 years ago)
Author:
snc@…
Message:

fixed path in daemon control, ticket #21501

Location:
trunk/dports/security/denyhosts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/denyhosts/Portfile

    r57278 r58256  
    88categories          security sysutils
    99version             2.6
    10 revision            1
     10revision            2
    1111license             GPL
    1212maintainers         snc openmaintainer
     
    3434    reinplace s|/usr/share|${prefix}/share| ${worksrcpath}/README.txt
    3535    reinplace s|@PYTHON@|${python.bin}| ${worksrcpath}/daemon-control-dist
     36    set bin_path [string map {python2.6 denyhosts.py} ${python.bin}]
     37    reinplace s|@BIN_PATH@|${bin_path}| ${worksrcpath}/daemon-control-dist
    3638    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/daemon-control-dist
    3739    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/denyhosts.cfg-dist
  • trunk/dports/security/denyhosts/files/patch-daemon-control-dist.diff

    r50395 r58256  
    1414-DENYHOSTS_LOCK  = "/var/lock/subsys/denyhosts"
    1515-DENYHOSTS_CFG   = "/usr/share/denyhosts/denyhosts.cfg"
    16 +DENYHOSTS_BIN   = "@PREFIX@/bin/denyhosts.py"
     16+DENYHOSTS_BIN   = "@BIN_PATH@"
    1717+DENYHOSTS_LOCK  = "@PREFIX@/var/run/denyhosts.pid"
    1818+DENYHOSTS_CFG   = "@PREFIX@/share/denyhosts/denyhosts.cfg"
Note: See TracChangeset for help on using the changeset viewer.