Changeset 50395


Ignore:
Timestamp:
Apr 30, 2009, 4:06:27 AM (11 years ago)
Author:
snc@…
Message:

removing accidental hardcoded prefix

Location:
trunk/dports/python/py25-denyhosts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py25-denyhosts/Portfile

    r50394 r50395  
    3232    reinplace s|/usr/share|${prefix}/share| ${worksrcpath}/README.txt
    3333    reinplace s|@PYTHON@|${python.bin}| ${worksrcpath}/daemon-control-dist
     34    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/daemon-control-dist
     35    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/denyhosts.cfg-dist
    3436}
    3537
  • trunk/dports/python/py25-denyhosts/files/patch-daemon-control-dist.diff

    r50394 r50395  
    1414-DENYHOSTS_LOCK  = "/var/lock/subsys/denyhosts"
    1515-DENYHOSTS_CFG   = "/usr/share/denyhosts/denyhosts.cfg"
    16 +DENYHOSTS_BIN   = "/opt/local/bin/denyhosts.py"
    17 +DENYHOSTS_LOCK  = "/opt/local/var/run/denyhosts.pid"
    18 +DENYHOSTS_CFG   = "/opt/local/share/denyhosts/denyhosts.cfg"
     16+DENYHOSTS_BIN   = "@PREFIX@/bin/denyhosts.py"
     17+DENYHOSTS_LOCK  = "@PREFIX@/var/run/denyhosts.pid"
     18+DENYHOSTS_CFG   = "@PREFIX@/share/denyhosts/denyhosts.cfg"
    1919 
    2020-PYTHON_BIN      = "/usr/bin/env python"
  • trunk/dports/python/py25-denyhosts/files/patch-denyhosts.cfg-dist.diff

    r50394 r50395  
    2424 #
    2525-WORK_DIR = /usr/share/denyhosts/data
    26 +WORK_DIR = /opt/local/share/denyhosts/data
     26+WORK_DIR = @PREFIX@/share/denyhosts/data
    2727 #
    2828 #######################################################################
     
    3737 # Debian
    3838-#LOCK_FILE = /var/run/denyhosts.pid
    39 +LOCK_FILE = /opt/local/var/run/denyhosts.pid
     39+LOCK_FILE = @PREFIX@/var/run/denyhosts.pid
    4040 #
    4141 # Misc
     
    4646 #
    4747-DAEMON_LOG = /var/log/denyhosts
    48 +DAEMON_LOG = /opt/local/var/log/denyhosts
     48+DAEMON_LOG = @PREFIX@/var/log/denyhosts
    4949 #
    5050 # disable logging:
Note: See TracChangeset for help on using the changeset viewer.