mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-forensics/volatility: EAPI7, add missing die.
Closes: https://bugs.gentoo.org/660684
This commit is contained in:
committed by
Patrice Clement
parent
40dff0ee6e
commit
6bf6979463
35
app-forensics/volatility/volatility-2.6-r1.ebuild
Normal file
35
app-forensics/volatility/volatility-2.6-r1.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Framework for analyzing volatile memory"
|
||||
HOMEPAGE="https://www.volatilityfoundation.org/"
|
||||
SRC_URI="https://downloads.volatilityfoundation.org/releases/${PV}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}-master
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=dev-libs/distorm64-3[${PYTHON_USEDEP}]
|
||||
dev-libs/libpcre
|
||||
|| (
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
mkdir "${D}/usr/share/${PN}" || die
|
||||
mv "${D}/usr/contrib/plugins" "${D}/usr/share/${PN}/" || die
|
||||
rmdir --ignore-fail-on-non-empty "${D}/usr/contrib" || die
|
||||
mv "${D}/usr/tools" "${D}/usr/share/${PN}/" || die
|
||||
dosym vol.py /usr/bin/volatility
|
||||
}
|
||||
Reference in New Issue
Block a user