Ticket #43004: patch-log2timeline.diff

File patch-log2timeline.diff, 5.7 KB (added by jul_bsd@…, 10 years ago)
  • security/log2timeline/Portfile

    old new  
    2626checksums           sha1    99bb6f68a417aaa840a7957be9918586d1918a33 \
    2727                    rmd160  c9dad4035bad1dbbf87e82f123aa014f03aa647f
    2828
    29 depends_lib         port:perl5.12 \
    30                     port:p5.12-archive-zip \
    31                     port:p5.12-carp-assert \
    32                     port:p5.12-datetime-format-strptime \
    33                     port:p5.12-datetime-timezone \
    34                     port:p5.12-dbd-sqlite \
    35                     port:p5.12-dbi \
    36                     port:p5.12-digest-crc \
    37                     port:p5.12-gtk2 \
    38                     port:p5.12-html-parser \
    39                     port:p5.12-html-scrubber \
    40                     port:p5.12-image-exiftool \
    41                     port:p5.12-libwww-perl \
    42                     port:p5.12-net-pcap \
    43                     port:p5.12-netpacket \
    44                     port:p5.12-xml-libxml \
    45                     port:p5.12-datemanip \
    46                     port:p5.12-parse-win32registry \
    47                     port:p5.12-file-mork \
    48                     port:p5.12-data-hexify \
    49                     port:p5.12-version \
    50                     port:p5.12-params-validate \
    51                     port:p5.12-xml-entities \
    52                     port:p5.12-mac-propertylist
    53 
    5429supported_archs     noarch
    5530
    56 configure.cmd       ${prefix}/bin/perl5.12 Makefile.PL
    5731configure.pre_args
    5832
    5933post-destroot {
     
    6135}
    6236
    6337livecheck.type      regex
     38livecheck.url       ${homepage}downloads/list
     39## FIXME! port version empty ?!
    6440livecheck.regex     ${name}_(\\d+(\\.\[0-9a-z\]+)+)${extract.suffix}
     41
     42default_variants    +perl5_16
     43
     44variant perl5_12 conflicts perl5_18 perl5_16 description { Perl bindings with perl 5.12} {
     45        depends_lib         port:perl5.12 \
     46                            port:p5.12-archive-zip \
     47                            port:p5.12-carp-assert \
     48                            port:p5.12-datetime-format-strptime \
     49                            port:p5.12-datetime-timezone \
     50                            port:p5.12-dbd-sqlite \
     51                            port:p5.12-dbi \
     52                            port:p5.12-digest-crc \
     53                            port:p5.12-gtk2 \
     54                            port:p5.12-html-parser \
     55                            port:p5.12-html-scrubber \
     56                            port:p5.12-image-exiftool \
     57                            port:p5.12-libwww-perl \
     58                            port:p5.12-net-pcap \
     59                            port:p5.12-netpacket \
     60                            port:p5.12-xml-libxml \
     61                            port:p5.12-datemanip \
     62                            port:p5.12-parse-win32registry \
     63                            port:p5.12-file-mork \
     64                            port:p5.12-data-hexify \
     65                            port:p5.12-version \
     66                            port:p5.12-params-validate \
     67                            port:p5.12-xml-entities \
     68                            port:p5.12-mac-propertylist
     69        configure.cmd       ${prefix}/bin/perl5.12 Makefile.PL
     70
     71        notes "
     72tool is ${prefix}/libexec/perl5.12/sitebin/log2timeline
     73"
     74}
     75
     76variant perl5_16 conflicts perl5_18 perl5_12 description { Perl bindings with perl 5.16} {
     77        depends_lib         port:perl5.16 \
     78                            port:p5.16-archive-zip \
     79                            port:p5.16-carp-assert \
     80                            port:p5.16-datetime-format-strptime \
     81                            port:p5.16-datetime-timezone \
     82                            port:p5.16-dbd-sqlite \
     83                            port:p5.16-dbi \
     84                            port:p5.16-digest-crc \
     85                            port:p5.16-gtk2 \
     86                            port:p5.16-html-parser \
     87                            port:p5.16-html-scrubber \
     88                            port:p5.16-image-exiftool \
     89                            port:p5.16-libwww-perl \
     90                            port:p5.16-net-pcap \
     91                            port:p5.16-netpacket \
     92                            port:p5.16-xml-libxml \
     93                            port:p5.16-datemanip \
     94                            port:p5.16-parse-win32registry \
     95                            port:p5.16-file-mork \
     96                            port:p5.16-data-hexify \
     97                            port:p5.16-version \
     98                            port:p5.16-params-validate \
     99                            port:p5.16-xml-entities \
     100                            port:p5.16-mac-propertylist
     101        configure.cmd       ${prefix}/bin/perl5.16 Makefile.PL
     102
     103        notes "
     104tool is ${prefix}/libexec/perl5.16/sitebin/log2timeline
     105"
     106}
     107
     108variant perl5_18 conflicts perl5_16 perl5_12 description { Perl bindings with perl 5.18} {
     109        depends_lib         port:perl5.18 \
     110                            port:p5.18-archive-zip \
     111                            port:p5.18-carp-assert \
     112                            port:p5.18-datetime-format-strptime \
     113                            port:p5.18-datetime-timezone \
     114                            port:p5.18-dbd-sqlite \
     115                            port:p5.18-dbi \
     116                            port:p5.18-digest-crc \
     117                            port:p5.18-gtk2 \
     118                            port:p5.18-html-parser \
     119                            port:p5.18-html-scrubber \
     120                            port:p5.18-image-exiftool \
     121                            port:p5.18-libwww-perl \
     122                            port:p5.18-net-pcap \
     123                            port:p5.18-netpacket \
     124                            port:p5.18-xml-libxml \
     125                            port:p5.18-datemanip \
     126                            port:p5.18-parse-win32registry \
     127                            port:p5.18-file-mork \
     128                            port:p5.18-data-hexify \
     129                            port:p5.18-version \
     130                            port:p5.18-params-validate \
     131                            port:p5.18-xml-entities \
     132                            port:p5.18-mac-propertylist
     133        configure.cmd       ${prefix}/bin/perl5.18 Makefile.PL
     134
     135        notes "
     136tool is ${prefix}/libexec/perl5.18/sitebin/log2timeline
     137"
     138}