[arch-commits] Commit in volatility/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:21:04 UTC 2018


    Date: Friday, November 9, 2018 @ 22:21:02
  Author: felixonmars
Revision: 404928

archrelease: copy trunk to community-staging-any

Added:
  volatility/repos/community-staging-any/
  volatility/repos/community-staging-any/PKGBUILD
    (from rev 404927, volatility/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: volatility/repos/community-staging-any/PKGBUILD (from rev 404927, volatility/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:21:02 UTC (rev 404928)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Wes Brown <wesbrown18 at gmail.com>
+
+pkgname=volatility
+pkgver=2.6
+pkgrel=2
+pkgdesc='Advanced memory forensics framework'
+url='https://github.com/volatilityfoundation/volatility/wiki'
+arch=('any')
+license=('GPL2')
+depends=('python2-distorm' 'python2-crypto' 'python2-ujson')
+optdepends=(
+  'python2-yara: classify malware support'
+  'python2-pillow: screenshots plugin support'
+  'python2-pytz: timezone conversion support'
+  'ipython2: enhanced volshell support'
+  'python2-libforensic1394: firewire live analysis support'
+  'libraw1394: alternative firewire live analysis support'
+  'python2-openpyxl: Excel xlsx/xlsm files support'
+)
+makedepends=('python2-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/volatilityfoundation/${pkgname}/archive/${pkgver}.tar.gz)
+sha512sums=('7f71ae5aac38d66dd1e3ff830d0859d7da72d65c5f729bb2d73a374088c3116cdf8a69a419749ee3c92cd084c9a4cf3e20da5de94588a4c0424ca55a55c1e793')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -e 's/env python$/env python2/g' -i tools/vtype_diff.py tools/mac/convert.py
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  python2 setup.py install -O1 --prefix=/usr --root="${pkgdir}"
+  ln -s /usr/bin/vol.py "${pkgdir}/usr/bin/${pkgname}"
+
+  install -d "${pkgdir}/usr/share/${pkgname}"
+  mv "${pkgdir}/usr/tools" "${pkgdir}/usr/share/${pkgname}"
+  mv "${pkgdir}/usr/contrib" "${pkgdir}/usr/share/${pkgname}"
+  install -Dm 644 README.txt "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list