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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:02:28 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:02:28
  Author: felixonmars
Revision: 659953

archrelease: copy trunk to community-staging-any

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

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

Copied: volatility/repos/community-staging-any/PKGBUILD (from rev 659952, volatility/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 18:02:28 UTC (rev 659953)
@@ -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.1
+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=('64d49de21a87fb6152ad430126466bf66bca06457f3fa2d54cee29b0e4a2eee53ab658570b6cbc782e85ca558f45fac5cf6e6625ebd85aa3ffc9f69768cfa844')
+
+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