Ticket #42457: patch-volatility-Portfile.diff
File patch-volatility-Portfile.diff, 3.1 KB (added by mf2k (Frank Schima), 11 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 70206 2010-08-01 23:28:25Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup python 261.04 PortGroup python 1.0 5 5 6 6 name volatility 7 set my_name Volatility 8 version 1.1.2 7 version 2.3.1 9 8 categories security 10 9 platforms darwin 11 10 maintainers yahoo.fr:jul_bsd openmaintainer … … 25 24 volatile memory samples and provide a platform for \ 26 25 further work into this exciting area of research. 27 26 28 homepage https:// www.volatilesystems.com/default/volatility29 master_sites https://www.volatilesystems.com/volatility/${version}/30 distname ${my_name}-${version} 31 32 checksums md5 e8272a7fa2f361880cf79d93b100f64a\33 sha1 15bac31c4b0026a5422637f439dce499b1e19ac1\34 rmd160 89778cc7d6ad58ef12d87c00228efbc894474ad827 homepage https://code.google.com/p/volatility/ 28 master_sites googlecode 29 ## FIXME! need to download also https://code.google.com/p/volatility/downloads/detail?name=MacProfilesAll.zip 30 31 checksums md5 816325c01baa2ef87b8e2283b4b1a8e4 \ 32 sha1 2b5d391e83bfbefc178482ea16ed17e64d52a724 \ 33 rmd160 621de1bf164e604314baeca42de9114c5289e67a 35 34 36 35 supported_archs noarch 36 python.versions 26 27 37 python.default_version 27 38 39 depends_run-append port:yara 37 40 38 41 post-patch { 39 42 reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \ … … 43 46 } 44 47 45 48 post-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} 49 xinstall -d ${destroot}${prefix}/share/doc/${name} 50 xinstall -m 644 -W ${worksrcpath} \ 51 AUTHORS.txt \ 52 CHANGELOG.txt \ 53 CREDITS.txt \ 54 LEGAL.txt \ 55 LICENSE.txt \ 56 README.txt \ 57 ${destroot}${prefix}/share/doc/${name} 58 65 59 } 66 60 61 variant devel conflicts volatility { 62 fetch.type svn 63 svn.url http://volatility.googlecode.com/svn/trunk 64 ## Note: currently not tag/branch outside of releases 65 #svn.revision x 66 worksrcdir trunk 67 } 68 69 notes " 70 You may need some kernel profile depending on memory image you want to analyze. 71 See https://code.google.com/p/volatility/wiki/MacMemoryForensics 72 " 73 67 74 livecheck.type regex 68 livecheck.regex ${my_name}-(\[0-9.\]+)\\.tar75 livecheck.regex "Download the latest release: <a href=\"https://code.google.com/p/volatility/downloads/list\" rel=\"nofollow\">Volatility Framework (\\d+(?:\\.\\d+)*)</a>"