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

Last change on this file since 125956 was 125956, checked in by jmr@…, 5 years ago

volatility: use unified python portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 125956 2014-09-30 11:25:53Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           python 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}/ \
30                    http://distfiles.macports.org/python
31distname            ${my_name}-${version}
32
33checksums           md5     e8272a7fa2f361880cf79d93b100f64a \
34                    sha1    15bac31c4b0026a5422637f439dce499b1e19ac1 \
35                    rmd160  89778cc7d6ad58ef12d87c00228efbc894474ad8
36
37supported_archs     noarch
38
39python.default_version  26
40
41post-patch {
42    reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \
43        ${worksrcpath}/volatility
44    reinplace "s|^#!c:\\\\python\\\\python.exe|#!${python.bin}|" \
45        ${worksrcpath}/volatility
46}
47
48post-destroot {
49    xinstall -m 755 -W ${worksrcpath} \
50        volatility \
51        ${destroot}${prefix}/bin
52   
53    xinstall -d ${destroot}${prefix}/share/doc/${name}
54    xinstall -m 644 -W ${worksrcpath} \
55        AUTHORS.txt \
56        CREDITS.txt \
57        LEGAL.txt \
58        LICENSE.txt \
59        README.txt \
60        ${destroot}${prefix}/share/doc/${name}
61
62    xinstall -m 644 -W ${worksrcpath} \
63        vmodules.py \
64        vsyms.py \
65        vtypes.py \
66        vutils.py \
67        ${destroot}${python.pkgd}
68}
69
70livecheck.type      regex
71livecheck.regex     ${my_name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.