source: trunk/dports/security/volatility/Portfile @ 70206

Last change on this file since 70206 was 70206, checked in by ryandesign@…, 9 years ago

volatility: new port, version 1.1.2; see #25898

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Portfile 70206 2010-08-01 23:28:25Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python26 1.0
5
6name                volatility
7set my_name         Volatility
8version             1.1.2
9categories          security
10platforms           darwin
11maintainers         yahoo.fr:jul_bsd openmaintainer
12license             GPL-2+
13
14description         collection of tools for the extraction of digital \
15                    artifacts from volatile memory (RAM) samples
16
17long_description    The Volatility Framework is a completely open collection \
18                    of tools for the extraction of digital artifacts from \
19                    volatile memory (RAM) samples. The extraction techniques \
20                    are performed completely independent of the system being \
21                    investigated but offer unprecedented visibilty into the \
22                    runtime state of the system. The framework is intended \
23                    to introduce people to the techniques and complexities \
24                    associated with extracting digital artifacts from \
25                    volatile memory samples and provide a platform for \
26                    further work into this exciting area of research.
27
28homepage            https://www.volatilesystems.com/default/volatility
29master_sites        https://www.volatilesystems.com/volatility/${version}/
30distname            ${my_name}-${version}
31
32checksums           md5     e8272a7fa2f361880cf79d93b100f64a \
33                    sha1    15bac31c4b0026a5422637f439dce499b1e19ac1 \
34                    rmd160  89778cc7d6ad58ef12d87c00228efbc894474ad8
35
36supported_archs     noarch
37
38post-patch {
39    reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \
40        ${worksrcpath}/volatility
41    reinplace "s|^#!c:\\\\python\\\\python.exe|#!${python.bin}|" \
42        ${worksrcpath}/volatility
43}
44
45post-destroot {
46    xinstall -m 755 -W ${worksrcpath} \
47        volatility \
48        ${destroot}${prefix}/bin
49   
50    xinstall -d ${destroot}${prefix}/share/doc/${name}
51    xinstall -m 644 -W ${worksrcpath} \
52        AUTHORS.txt \
53        CREDITS.txt \
54        LEGAL.txt \
55        LICENSE.txt \
56        README.txt \
57        ${destroot}${prefix}/share/doc/${name}
58
59    xinstall -m 644 -W ${worksrcpath} \
60        vmodules.py \
61        vsyms.py \
62        vtypes.py \
63        vutils.py \
64        ${destroot}${python.pkgd}
65}
66
67livecheck.type      regex
68livecheck.regex     ${my_name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.