aboutsummaryrefslogtreecommitdiffstats
path: root/testing/volatility3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/volatility3/APKBUILD')
-rw-r--r--testing/volatility3/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/volatility3/APKBUILD b/testing/volatility3/APKBUILD
new file mode 100644
index 00000000000..f615ed90f6e
--- /dev/null
+++ b/testing/volatility3/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=volatility3
+pkgver=2.5.2
+pkgrel=1
+pkgdesc="Volatile memory forensics toolkit"
+url="https://github.com/volatilityfoundation/volatility3"
+arch="noarch !armhf !armv7" # py3-yara
+license="custom"
+depends="py3-crypto py3-capstone py3-yara py3-pefile"
+makedepends="py3-gpep517 py3-setuptools py3-wheel"
+subpackages="$pkgname-doc $pkgname-pyc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/volatilityfoundation/volatility3/archive/v$pkgver.tar.gz"
+
+build() {
+ gpep517 build-wheel \
+ --wheel-dir .dist \
+ --output-fd 3 3>&1 >&2
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 -m installer -d "$pkgdir" .dist/*.whl
+
+ install -Dm644 LICENSE.txt \
+ -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+sha512sums="
+02cfd06928f1667ec481e776c45e954d4a40fa6da6ffbdd30e0980bd5d09ce70d0e31de6e352a833c36045e67c2120ea6a10e2d3ec1327e9e4e4e1c2af494fcf volatility3-2.5.2.tar.gz
+"