Changeset 126664


Ignore:
Timestamp:
Oct 13, 2014, 12:00:26 PM (5 years ago)
Author:
jmr@…
Message:

denyhosts: use unified python portgroup, correct license, mark noarch

File:
1 edited

Legend:

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

    r103268 r126664  
    33
    44PortSystem          1.0
    5 PortGroup           python27 1.0
     5PortGroup           python 1.0
    66
    77name                denyhosts
     
    99version             2.6
    1010revision            5
    11 license             GPL
     11license             GPL-2
    1212maintainers         snc openmaintainer
    1313description         DenyHosts is a utility to help sys admins thwart ssh hackers
     
    1818
    1919platforms           darwin freebsd
     20supported_archs     noarch
    2021distname            DenyHosts-${version}
    2122homepage            http://denyhosts.sourceforge.net/
     
    2728patchfiles          patch-denyhosts.cfg-dist.diff \
    2829                    patch-daemon-control-dist.diff
     30
     31python.default_version  27
    2932
    3033pre-fetch {
     
    4346    reinplace s|/usr/share|${prefix}/share| ${worksrcpath}/README.txt
    4447    reinplace s|@PYTHON@|${python.bin}| ${worksrcpath}/daemon-control-dist
    45     set bin_path [string map {python2.7 denyhosts.py} ${python.bin}]
     48    set bin_path [string map [list python${python.branch} denyhosts.py] ${python.bin}]
    4649    reinplace s|@BIN_PATH@|${bin_path}| ${worksrcpath}/daemon-control-dist
    4750    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/daemon-control-dist
Note: See TracChangeset for help on using the changeset viewer.