Ticket #25898: Portfile

File Portfile, 2.2 KB (added by jul_bsd@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python26 1.0
5
6name                volatility
7version             1.1.2
8distname            Volatility-${version}
9categories          security
10platforms           darwin
11maintainers         ports@
12## GPL
13description         collection of tools for the extraction of digital artifacts from volatile memory (RAM) samples
14long_description    The Volatility Framework is a completely open collection of tools, implemented in Python under the GNU General Public License, 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. 
15homepage            https://www.volatilesystems.com/default/volatility
16master_sites        https://www.volatilesystems.com/volatility/${version}/
17
18checksums           md5     e8272a7fa2f361880cf79d93b100f64a \
19                    sha1    15bac31c4b0026a5422637f439dce499b1e19ac1 \
20                    rmd160  89778cc7d6ad58ef12d87c00228efbc894474ad8
21
22depends_lib         port:python26
23
24post-build          {
25        #reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \
26
27        reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|;s|#!c:\python\python.exe|#!${python.bin}|" \
28                ${worksrcpath}/volatility
29        ## FIXME! not working
30#       reinplace "s|#!c:\python\python.exe|#!${python.bin}|" \
31#               ${worksrcpath}/volatility
32}
33
34post-destroot       {
35        foreach f {volatility} {
36                xinstall -m 755 ${worksrcpath}/$f \
37                        ${destroot}${prefix}/bin
38        }
39        xinstall -d ${destroot}${prefix}/share/doc/${name}
40        foreach f {README.txt} {
41                xinstall -m 644 ${worksrcpath}/$f \
42                        ${destroot}${prefix}/share/doc/${name}
43        }
44
45#       xinstall -d ${destroot}${python.pkgd}/${name}
46        foreach f {vmodules.py vsyms.py vtypes.py vutils.py} {
47                xinstall -m 644 ${worksrcpath}/$f \
48                        ${destroot}${python.pkgd}
49#                       ${destroot}${python.pkgd}/${name}
50        }
51}
52