[145494] trunk/dports/security/volatility/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Feb 7 06:15:23 PST 2016


Revision: 145494
          https://trac.macports.org/changeset/145494
Author:   khindenburg at macports.org
Date:     2016-02-07 06:15:23 -0800 (Sun, 07 Feb 2016)
Log Message:
-----------
volatility: update to 2.5; move to github #42457

Modified Paths:
--------------
    trunk/dports/security/volatility/Portfile

Modified: trunk/dports/security/volatility/Portfile
===================================================================
--- trunk/dports/security/volatility/Portfile	2016-02-07 14:14:18 UTC (rev 145493)
+++ trunk/dports/security/volatility/Portfile	2016-02-07 14:15:23 UTC (rev 145494)
@@ -1,11 +1,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 
-name                volatility
-set my_name         Volatility
-version             1.1.2
+github.setup        volatilityfoundation volatility 2.5
 categories          security
 platforms           darwin
 maintainers         yahoo.fr:jul_bsd openmaintainer
@@ -25,19 +24,20 @@
                     volatile memory samples and provide a platform for \
                     further work into this exciting area of research.
 
-homepage            https://www.volatilesystems.com/default/volatility
-master_sites        https://www.volatilesystems.com/volatility/${version}/ \
-                    http://distfiles.macports.org/python
-distname            ${my_name}-${version}
+homepage            http://www.volatilityfoundation.org/
 
-checksums           md5     e8272a7fa2f361880cf79d93b100f64a \
-                    sha1    15bac31c4b0026a5422637f439dce499b1e19ac1 \
-                    rmd160  89778cc7d6ad58ef12d87c00228efbc894474ad8
+checksums           rmd160  54262bb1957fef98e0c6776aee753c4231b21d5d \
+                    sha256  b341518a3828806679cf1d68a5f0f32eb3dd7934be7a721e9a883d5be728fd23
 
 supported_archs     noarch
 
-python.default_version  26
+python.default_version  27
 
+depends_build-append    port:py${python.version}-setuptools
+depends_lib-append      port:py${python.version}-crypto \
+                        port:py${python.version}-distorm
+depends_run-append      port:yara
+
 post-patch {
     reinplace "s|import sys|import sys\\\nsys.path.append('${python.pkgd}')|" \
         ${worksrcpath}/volatility
@@ -46,26 +46,16 @@
 }
 
 post-destroot {
-    xinstall -m 755 -W ${worksrcpath} \
-        volatility \
-        ${destroot}${prefix}/bin
-    
+
     xinstall -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} \
         AUTHORS.txt \
+        CHANGELOG.txt \
         CREDITS.txt \
         LEGAL.txt \
         LICENSE.txt \
         README.txt \
         ${destroot}${prefix}/share/doc/${name}
 
-    xinstall -m 644 -W ${worksrcpath} \
-        vmodules.py \
-        vsyms.py \
-        vtypes.py \
-        vutils.py \
-        ${destroot}${python.pkgd}
+    xinstall -d ${destroot}${prefix}/share/examples/${name}
 }
-
-livecheck.type      regex
-livecheck.regex     ${my_name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160207/4b8785f1/attachment-0001.html>


More information about the macports-changes mailing list