summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/volatility3/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/volatility3/APKBUILD b/testing/volatility3/APKBUILD
new file mode 100644
index 00000000000..3faa46ceae4
--- /dev/null
+++ b/testing/volatility3/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=volatility3
+pkgver=1.0.0_beta1
+_pkgver=${pkgver/_beta1/-beta.1}
+pkgrel=0
+pkgdesc="Volatile memory forensics toolkit"
+url="https://github.com/volatilityfoundation/volatility3"
+arch="noarch"
+license="GPL-2.0"
+depends="py3-crypto py3-capstone"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/volatilityfoundation/volatility3/archive/v$_pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$_pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --root "$pkgdir"
+}
+
+sha512sums="28118e1c1e0092d10279f925296148ab312036daec74f4a3615c275f85fb927e2a38b27f7a9472e335b8eb5f41cd668273e549f2e593d774a33e31159988bde2 volatility3-1.0.0_beta1.tar.gz"