# $Id: Portfile 76604 2011-03-02 01:49:46Z dports@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

name                log2timeline
version             0.51
revision        1
categories          security
platforms           darwin
maintainers         yahoo.fr:jul_bsd openmaintainer
license             GPL-3+

description         framework for automatic creation of a super timeline

long_description    ${name} provides a single tool to parse \
                    various log files and artifacts found on suspect systems \
                    (and supporting systems, such as network equipment) and \
                    produces a timeline that can be analysed by forensic \
                    investigators/analysts.

homepage            http://log2timeline.net/
master_sites        ${homepage}files/
extract.suffix      .tgz
distname            ${name}_${version}
worksrcdir          ${name}

checksums           sha1    eca77c1b957a23150b1d906a7e9790e46d6ff277 \
                    rmd160  654bab031ce713253b133a94ac5d44dc3b976c9c

depends_lib         path:bin/perl:perl5 \
                    port:p5-archive-zip \
                    port:p5-carp-assert \
                    port:p5-datetime-format-strptime \
                    port:p5-datetime-timezone \
                    port:p5-dbd-sqlite \
                    port:p5-dbi \
                    port:p5-digest-crc \
                    port:p5-gtk2 \
                    port:p5-html-parser \
                    port:p5-html-scrubber \
                    port:p5-image-exiftool \
                    port:p5-libwww-perl \
                    port:p5-net-pcap \
                    port:p5-netpacket \
                    port:p5-xml-libxml \
                    port:p5-datemanip \
                    port:p5-parse-win32registry \
                    port:p5-file-mork \
                    port:p5-data-hexify \
                    port:p5-version \
                    port:p5-params-validate \
                    port:p5-xml-entities \
                    port:p5-mac-propertylist

supported_archs     noarch

configure.cmd       perl Makefile.PL
configure.pre_args

post-destroot {
    eval delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
}

livecheck.type      regex
livecheck.regex     ${name}_(\\d+(\\.\[0-9a-z\]+)+)${extract.suffix}
