Ticket #42858: Portfile-suricata.2.diff

File Portfile-suricata.2.diff, 1.1 KB (added by Schamschula (Marius Schamschula), 9 years ago)

Update post-destroot

  • Portfile

    old new  
    132132    xinstall -d ${destroot}${prefix}/etc/${name}
    133133    xinstall -d ${destroot}${prefix}/var/log/${name}
    134134    xinstall -d ${destroot}${prefix}/etc/${name}/rules
    135     ## putting in the examples, emergingthreat set has them
    136     foreach f { decoder-events.rules http-events.rules stream-events.rules files.rules smtp-events.rules } {
    137         xinstall ${worksrcpath}/rules/${f} ${destroot}${prefix}/share/examples/${name}
     135    ## putting in the rules, emergingthreat set has them
     136    foreach f { decoder-events.rules dns-events.rules http-events.rules stream-events.rules files.rules smtp-events.rules } {
     137        xinstall ${worksrcpath}/rules/${f} ${destroot}${prefix}/etc/suricata/rules/${name}
    138138    }
     139    xinstall ${worksrcpath}/threshold.config ${destroot}${prefix}/etc/suricata/threshold.config
    139140    destroot.keepdirs ${destroot}${prefix}/etc/${name} \
    140141        ${destroot}${prefix}/var/log/${name} \
    141142        ${destroot}${prefix}/etc/${name}/rules