Changeset 148299


Ignore:
Timestamp:
May 3, 2016, 12:35:18 PM (3 years ago)
Author:
mps@…
Message:

rkhunter: code cleanup.

Location:
trunk/dports/sysutils/rkhunter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rkhunter/Portfile

    r148268 r148299  
    1313platforms           darwin
    1414homepage            http://rkhunter.sourceforge.net/
    15 master_sites        sourceforge
     15master_sites        sourceforge:project/rkhunter/rkhunter/${version}/
    1616
    1717checksums           rmd160  3aa8823583117ef9a0257b6fdb2a25d84fc9622d \
     
    3333destroot.args       --layout custom ${prefix} --install
    3434destroot.keepdirs   ${destroot}${prefix}/var/log/rkhunter
    35 destroot.target     {}
     35destroot.target
    3636
    3737post-destroot {
    3838        xinstall ${filespath}/rkhunter.conf.local.sample ${destroot}${prefix}/etc/rkhunter
    39        
     39        reinplace -W ${destroot}${prefix}/etc/rkhunter "s|@PREFIX@|${prefix}|g" rkhunter.conf.local.sample
    4040        xinstall -m 755 -d ${destroot}${prefix}/var/log/rkhunter
    4141}
  • trunk/dports/sysutils/rkhunter/files/rkhunter.conf.local.sample

    r148268 r148299  
    11#       rkhunter.conf.local
    22
    3 #       version 1.0.0
    4 #       20150316
     3#       version 1.0.1
     4#       20160503
    55#       by Marius Schamschula
    66
     
    1717
    1818#       MacPorts installed scripts
    19 SCRIPTWHITELIST=/opt/local/bin/egrep
    20 SCRIPTWHITELIST=/opt/local/bin/fgrep
     19SCRIPTWHITELIST=@PREFIX@/bin/egrep
     20SCRIPTWHITELIST=@PREFIX@/bin/fgrep
Note: See TracChangeset for help on using the changeset viewer.