# $Id: Portfile 82553 2011-08-15 19:22:39Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

name                log2timeline
version             0.51
revision            2
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         port:perl5.12 \
                    port:p5.12-archive-zip \
                    port:p5.12-carp-assert \
                    port:p5.12-datetime-format-strptime \
                    port:p5.12-datetime-timezone \
                    port:p5.12-dbd-sqlite \
                    port:p5.12-dbi \
                    port:p5.12-digest-crc \
                    port:p5.12-gtk2 \
                    port:p5.12-html-parser \
                    port:p5.12-html-scrubber \
                    port:p5.12-image-exiftool \
                    port:p5.12-libwww-perl \
                    port:p5.12-net-pcap \
                    port:p5.12-netpacket \
                    port:p5.12-xml-libxml \
                    port:p5.12-datemanip \
                    port:p5.12-parse-win32registry \
                    port:p5.12-file-mork \
                    port:p5.12-data-hexify \
                    port:p5.12-version \
                    port:p5.12-params-validate \
                    port:p5.12-xml-entities \
                    port:p5.12-mac-propertylist

supported_archs     noarch

configure.cmd       ${prefix}/bin/perl5.12 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}
