diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-06-23 21:12:48 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-08-07 23:41:16 +0200 |
commit | 6bf6979463bb2c6d15cfa2aeb202ce695a86b4c9 (patch) | |
tree | 31b513112147de0daed02f6ed752ebc61fae726b /app-forensics/volatility | |
parent | app-forensics/volatility: use HTTPs. (diff) | |
download | gentoo-6bf6979463bb2c6d15cfa2aeb202ce695a86b4c9.tar.gz gentoo-6bf6979463bb2c6d15cfa2aeb202ce695a86b4c9.tar.bz2 gentoo-6bf6979463bb2c6d15cfa2aeb202ce695a86b4c9.zip |
app-forensics/volatility: EAPI7, add missing die.
Closes: https://bugs.gentoo.org/660684
Diffstat (limited to 'app-forensics/volatility')
-rw-r--r-- | app-forensics/volatility/volatility-2.6-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-forensics/volatility/volatility-2.6-r1.ebuild b/app-forensics/volatility/volatility-2.6-r1.ebuild new file mode 100644 index 000000000000..c490119d38c7 --- /dev/null +++ b/app-forensics/volatility/volatility-2.6-r1.ebuild @@ -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 +} |