Ignore:
Timestamp:
Sep 6, 2013, 2:45:41 PM (6 years ago)
Author:
snc@…
Message:

skipfish:

  • copy signatures
  • ensure share/ contents is readable
  • set default signatures
File:
1 edited

Legend:

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

    r101480 r110795  
    66name                skipfish
    77version             2.10b
     8revision            1
    89license             Apache-2
    910categories          security
     
    2829    reinplace s|-L/usr/local/lib/\ ||g ${worksrcpath}/Makefile
    2930    reinplace s|-I/usr/local|-I${prefix}|g ${worksrcpath}/Makefile
     31    reinplace s|signatures/signatures.conf|${prefix}/share/${name}/signatures/signatures.conf|g ${worksrcpath}/src/config.h
    3032}
    3133
     
    3941    file copy ${worksrcpath}/README ${destroot}${prefix}/share/${name}
    4042    file copy ${worksrcpath}/doc/ ${destroot}${prefix}/share/${name}
     43    file copy ${worksrcpath}/signatures/ ${destroot}${prefix}/share/${name}
     44    fs-traverse dir ${destroot}${prefix}/share/${name} {
     45        if { [ file isdirectory ${dir} ] } {
     46            file attributes ${dir} -permissions 0755
     47        } else {
     48            file attributes ${dir} -permissions 0644
     49        }
     50    }
    4151}
    4252
Note: See TracChangeset for help on using the changeset viewer.