# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                volatility3
version             2.26.2
revision            0

categories          security
platforms           {darwin any}
supported_archs     noarch
license             VSL
maintainers         nomaintainer

description         Memory forensics framework
long_description    The Volatility Framework is a completely open collection \
                    of tools for the extraction of digital artifacts from \
                    volatile memory (RAM) samples. The extraction techniques \
                    are performed completely independent of the system being \
                    investigated but offer unprecedented visibilty into the \
                    runtime state of the system. The framework is intended \
                    to introduce people to the techniques and complexities \
                    associated with extracting digital artifacts from \
                    volatile memory samples and provide a platform for \
                    further work into this exciting area of research.

homepage            https://www.volatilityfoundation.org/

checksums           rmd160  06328436bf215c29feae35168cb7f1f0bff99b22 \
                    sha256  6c33e3a95ce3c85f2dc996d818ad84cdfb96ac1b13dd29b5049585e76b5703ee \
                    size    1112027

python.default_version 314

depends_lib-append  port:py${python.version}-pefile

depends_run-append  port:py${python.default_version}-yara \
                    port:capstone \
                    port:py${python.version}-pycryptodome \
                    port:py${python.version}-Pillow

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} \
        API_CHANGES.md \
        LICENSE.txt \
        README.md \
        ${destroot}${prefix}/share/doc/${name}
}
