1 |
commit: cf7ab43d47c629ed63ace7f101c658ebb6d763dd |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 23 19:52:46 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 23 19:52:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7ab43d |
7 |
|
8 |
app-misc/binwalk: bump to 2.3.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
app-misc/binwalk/Manifest | 1 + |
14 |
app-misc/binwalk/binwalk-2.3.1.ebuild | 39 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest |
18 |
index bfb5af59726..a80d621716c 100644 |
19 |
--- a/app-misc/binwalk/Manifest |
20 |
+++ b/app-misc/binwalk/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST binwalk-2.2.0.tar.gz 39594514 BLAKE2B 899a919647258759f16c2e59766b0db68d1a78edf0f5c3755c2a987695199a1851deed2820e6323d82d8af85d294a6f1fcafb655e5d2257d49b673ddae49da67 SHA512 5f3ed31c0b5f9ca3057f86e82787a73b06f9f73747b51dd72130a78e4d69cf43a0207bffc495d177e97811de5bf835b3d0507f314b7a0c960eddf6d1efe0f0f9 |
23 |
DIST binwalk-2.3.0.tar.gz 39603727 BLAKE2B abdb9909cf92a6cb35035c98467162dab2b009f5eab4bf255bba14ce82c2748cbd648977a54f276f2c141897b4e7a592d0adbde77a3c0f4164b04b7c328bc7e5 SHA512 74c25858eccaeff1bbf238cdff92df4cbec37dfff77204739bd82c35e4fd2329a8d0b13850b8b05900f756a99b898ebbbfb8ac44a26f37ca3ffb16c72402f9d6 |
24 |
+DIST binwalk-2.3.1.tar.gz 39603558 BLAKE2B c3de5baaec18242d3db2b9492edadb3607a45fbc1237185223bf7bb04afcf0f8936607f9e0f4a99bd1796f5c7acfaef318855fe2c3ff05ae0676961bf60cc6c9 SHA512 3c9057c6f56d4bb1d604d3a361b0e682622a93d6d36c67a9f831ae7b17139c4684f52e96ce204d1d1256b79c4a3b806e7a78e2069b6c62eec188fa1586839670 |
25 |
|
26 |
diff --git a/app-misc/binwalk/binwalk-2.3.1.ebuild b/app-misc/binwalk/binwalk-2.3.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d819647e95d |
29 |
--- /dev/null |
30 |
+++ b/app-misc/binwalk/binwalk-2.3.1.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=bdepend |
38 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+if [[ ${PV} == "9999" ]] ; then |
43 |
+ EGIT_REPO_URI="https://github.com/ReFirmLabs/binwalk.git" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/ReFirmLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="A tool for identifying files embedded inside firmware images" |
51 |
+HOMEPAGE="https://github.com/ReFirmLabs/binwalk" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+ |
56 |
+PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch ) |
57 |
+ |
58 |
+distutils_enable_tests --install nose |
59 |
+ |
60 |
+python_install_all() { |
61 |
+ local DOCS=( API.md INSTALL.md README.md ) |
62 |
+ distutils-r1_python_install_all |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
67 |
+ elog "binwalk has many optional dependencies to automatically" |
68 |
+ elog "extract/decompress data, see INSTALL.md for more details." |
69 |
+ fi |
70 |
+} |