1 | --- Portfile.orig 2014-02-11 15:04:16.000000000 -0500 |
---|
2 | +++ Portfile 2014-02-11 16:30:43.000000000 -0500 |
---|
3 | @@ -1,11 +1,10 @@ |
---|
4 | # $Id: Portfile 70206 2010-08-01 23:28:25Z ryandesign@macports.org $ |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | -PortGroup python26 1.0 |
---|
8 | +PortGroup python 1.0 |
---|
9 | |
---|
10 | name volatility |
---|
11 | -set my_name Volatility |
---|
12 | -version 1.1.2 |
---|
13 | +version 2.3.1 |
---|
14 | categories security |
---|
15 | platforms darwin |
---|
16 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
17 | @@ -25,15 +24,19 @@ |
---|
18 | volatile memory samples and provide a platform for \ |
---|
19 | further work into this exciting area of research. |
---|
20 | |
---|
21 | -homepage https://www.volatilesystems.com/default/volatility |
---|
22 | -master_sites https://www.volatilesystems.com/volatility/${version}/ |
---|
23 | -distname ${my_name}-${version} |
---|
24 | - |
---|
25 | -checksums md5 e8272a7fa2f361880cf79d93b100f64a \ |
---|
26 | - sha1 15bac31c4b0026a5422637f439dce499b1e19ac1 \ |
---|
27 | - rmd160 89778cc7d6ad58ef12d87c00228efbc894474ad8 |
---|
28 | +homepage https://code.google.com/p/volatility/ |
---|
29 | +master_sites googlecode |
---|
30 | +## FIXME! need to download also https://code.google.com/p/volatility/downloads/detail?name=MacProfilesAll.zip |
---|
31 | + |
---|
32 | +checksums md5 816325c01baa2ef87b8e2283b4b1a8e4 \ |
---|
33 | + sha1 2b5d391e83bfbefc178482ea16ed17e64d52a724 \ |
---|
34 | + rmd160 621de1bf164e604314baeca42de9114c5289e67a |
---|
35 | |
---|
36 | supported_archs noarch |
---|
37 | +python.versions 26 27 |
---|
38 | +python.default_version 27 |
---|
39 | + |
---|
40 | +depends_run-append port:yara |
---|
41 | |
---|
42 | post-patch { |
---|
43 | reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \ |
---|
44 | @@ -43,26 +46,30 @@ |
---|
45 | } |
---|
46 | |
---|
47 | post-destroot { |
---|
48 | - xinstall -m 755 -W ${worksrcpath} \ |
---|
49 | - volatility \ |
---|
50 | - ${destroot}${prefix}/bin |
---|
51 | - |
---|
52 | - xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
53 | - xinstall -m 644 -W ${worksrcpath} \ |
---|
54 | - AUTHORS.txt \ |
---|
55 | - CREDITS.txt \ |
---|
56 | - LEGAL.txt \ |
---|
57 | - LICENSE.txt \ |
---|
58 | - README.txt \ |
---|
59 | - ${destroot}${prefix}/share/doc/${name} |
---|
60 | - |
---|
61 | - xinstall -m 644 -W ${worksrcpath} \ |
---|
62 | - vmodules.py \ |
---|
63 | - vsyms.py \ |
---|
64 | - vtypes.py \ |
---|
65 | - vutils.py \ |
---|
66 | - ${destroot}${python.pkgd} |
---|
67 | + xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
68 | + xinstall -m 644 -W ${worksrcpath} \ |
---|
69 | + AUTHORS.txt \ |
---|
70 | + CHANGELOG.txt \ |
---|
71 | + CREDITS.txt \ |
---|
72 | + LEGAL.txt \ |
---|
73 | + LICENSE.txt \ |
---|
74 | + README.txt \ |
---|
75 | + ${destroot}${prefix}/share/doc/${name} |
---|
76 | + |
---|
77 | } |
---|
78 | |
---|
79 | +variant devel conflicts volatility { |
---|
80 | + fetch.type svn |
---|
81 | + svn.url http://volatility.googlecode.com/svn/trunk |
---|
82 | + ## Note: currently not tag/branch outside of releases |
---|
83 | + #svn.revision x |
---|
84 | + worksrcdir trunk |
---|
85 | +} |
---|
86 | + |
---|
87 | +notes " |
---|
88 | +You may need some kernel profile depending on memory image you want to analyze. |
---|
89 | +See https://code.google.com/p/volatility/wiki/MacMemoryForensics |
---|
90 | +" |
---|
91 | + |
---|
92 | livecheck.type regex |
---|
93 | -livecheck.regex ${my_name}-(\[0-9.\]+)\\.tar |
---|
94 | +livecheck.regex "Download the latest release: <a href=\"https://code.google.com/p/volatility/downloads/list\" rel=\"nofollow\">Volatility Framework (\\d+(?:\\.\\d+)*)</a>" |
---|