1 |
commit: 82c3d61152a5527a0f68869918c92ee2d0e46b51 |
2 |
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 6 13:10:09 2017 +0000 |
4 |
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 6 13:10:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c3d611 |
7 |
|
8 |
app-forensics/volatility: version bump, allow building against pycryptodome |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=599056 |
11 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=611582 |
12 |
|
13 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
14 |
|
15 |
app-forensics/volatility/Manifest | 1 + |
16 |
app-forensics/volatility/volatility-2.6.ebuild | 35 ++++++++++++++++++++++++++ |
17 |
2 files changed, 36 insertions(+) |
18 |
|
19 |
diff --git a/app-forensics/volatility/Manifest b/app-forensics/volatility/Manifest |
20 |
index 95762a7624c..29215a9fbc6 100644 |
21 |
--- a/app-forensics/volatility/Manifest |
22 |
+++ b/app-forensics/volatility/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST volatility-2.4.1.tar.gz 2407119 SHA256 43d2946ec9c198a028fc068e8b4add7836ca03482665bacdd31998bc540e5c9c SHA512 cc2db2a17b071a21852bab967c9615df0fce369dac35ffbca8754bc789e218a86fc88bd2042203174308e620e281a24debc7b0a8bacd516a404a9170ea522596 WHIRLPOOL 386adfe0750a8b21656d95fb5a8fb9276b1199e94099e74f66d76cbdc0191de92449b93e708140e94072a136488235fd9f0515b14752bc7c2c97fdf81ec02220 |
25 |
+DIST volatility-2.6.zip 4179806 SHA256 5b73050d72bf94870ffce22843f03d4b0b7764011dec29ef1a0a5b1b46cf9295 SHA512 1c0b86f270188ba48a6a0ff1d7ad70bde500d0f720d7e1b9d76b6b9498368ae3eb29c5b1c7e7dd76ec9480b83b1e484b4130b4ced7458e4e03ca61fe7d13220f WHIRLPOOL b3432b0725f49c132029102d1f7ba099dffc6c4339ccb5bfaf108d3cf67e3ceb7b221b8e00cc641941af189b74991a51c3fb109819ff8abeb9e8414a49cac6f8 |
26 |
|
27 |
diff --git a/app-forensics/volatility/volatility-2.6.ebuild b/app-forensics/volatility/volatility-2.6.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..c2c54c4fce8 |
30 |
--- /dev/null |
31 |
+++ b/app-forensics/volatility/volatility-2.6.ebuild |
32 |
@@ -0,0 +1,35 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Framework for analyzing volatile memory" |
42 |
+HOMEPAGE="http://www.volatilityfoundation.org/" |
43 |
+SRC_URI="http://downloads.volatilityfoundation.org/releases/${PV}/${P}.zip" |
44 |
+ |
45 |
+LICENSE="GPL-2+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="" |
49 |
+ |
50 |
+S=${WORKDIR}/${PN}-master |
51 |
+ |
52 |
+DEPEND="app-arch/unzip" |
53 |
+RDEPEND=">=dev-libs/distorm64-3[${PYTHON_USEDEP}] |
54 |
+ dev-libs/libpcre |
55 |
+ || ( |
56 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}] |
57 |
+ dev-python/pycrypto[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+src_install() { |
61 |
+ distutils-r1_src_install |
62 |
+ mkdir "${D}/usr/share/${PN}" |
63 |
+ mv "${D}/usr/contrib/plugins" "${D}/usr/share/${PN}/" |
64 |
+ rmdir "${D}/usr/contrib" |
65 |
+ mv "${D}/usr/tools" "${D}/usr/share/${PN}/" |
66 |
+ dosym /usr/bin/vol.py /usr/bin/volatility |
67 |
+} |