summaryrefslogtreecommitdiff
path: root/app-misc/binwalk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-08 13:07:48 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-08 13:07:48 +0000
commit7825305c5ddf11fffe24fa30453c4e8468f64305 (patch)
treef3c43caefa7210acc3d8fd79ac82f8ade47a8dc9 /app-misc/binwalk
parentdc22a05dc2db2827053483e8cab136b33b339307 (diff)
gentoo auto-resync : 08:03:2024 - 13:07:48
Diffstat (limited to 'app-misc/binwalk')
-rw-r--r--app-misc/binwalk/Manifest6
-rw-r--r--app-misc/binwalk/binwalk-2.3.6.ebuild2
-rw-r--r--app-misc/binwalk/binwalk-2.3.8.ebuild40
-rw-r--r--app-misc/binwalk/binwalk-9999.ebuild7
4 files changed, 50 insertions, 5 deletions
diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest
index 2a71a5f832d3..31f144d695a9 100644
--- a/app-misc/binwalk/Manifest
+++ b/app-misc/binwalk/Manifest
@@ -1,4 +1,6 @@
DIST binwalk-2.3.6.tar.gz 39723335 BLAKE2B 20710dc32f67981b1ba69ced649bfddc0247b9054a30ba9a8ab17710094fa4f45a44b32b18e2de6e0c63d632044432e8d4a8ec8cdacb007996b7d91b983547bc SHA512 05e06682a9b8aa6b68b580b6818a2f08d8d81d89961f6cacfd9d14185c26727bbdf6dedb2f26079fffebf7de6f45002944ed8f3475ba04e4b05ac6d5c19560ea
-EBUILD binwalk-2.3.6.ebuild 939 BLAKE2B f609bbedcb2fe082a4cab39e3e876eba377d26e0ed9574227a3ba21ddbbd91906093c18b0f1aada61fa138f479c471c2dafbb7d5ea218d161bdcde158928ce41 SHA512 c8e45be2364d7a3a59d1c320a4d3628011cf1ca026d31c86d414a773dc3eec5404a7a3e119a376d0f5988be26fe9671cdfb3b1d4372226eef108afaf35b08df6
-EBUILD binwalk-9999.ebuild 939 BLAKE2B f609bbedcb2fe082a4cab39e3e876eba377d26e0ed9574227a3ba21ddbbd91906093c18b0f1aada61fa138f479c471c2dafbb7d5ea218d161bdcde158928ce41 SHA512 c8e45be2364d7a3a59d1c320a4d3628011cf1ca026d31c86d414a773dc3eec5404a7a3e119a376d0f5988be26fe9671cdfb3b1d4372226eef108afaf35b08df6
+DIST binwalk-2.3.8.tar.gz 39723354 BLAKE2B 87c4e9e78e7a2c6132266ad9bd4ba1cfc05fccb078b41b7a9890c59586175c1993bea5c642493c42c10d3e2af36965c88612c881fec750eb7d99b260226ae65f SHA512 5b99626496ae236f32ae190372b4e24dbb3873413bc822a67096fb380139835379556987cfd6f7561a8b36574ec4d4ea8007182edb6d58ac1cd993cafb46d1a7
+EBUILD binwalk-2.3.6.ebuild 939 BLAKE2B 8d757a1c6d3cd6c189db03922aa5830b5d36a40bf9dbd566d21384a8f5914babf2abaea9098adf705cee255fd0ca310a772947b82e33f3719a66fbb3d207dd7f SHA512 be50904ad94a9677ea5c6c188ef51d0e3b3a44645cd97212872b1671e9619d0b9f684391ecb4b0f27e2a868f2e8861c28c1d21416b9a82b249657c029bdb2399
+EBUILD binwalk-2.3.8.ebuild 1047 BLAKE2B 99733084f0e38211482042d1aec0d863275766cf1fc8845eceab8955c969c1224f1ab763fe23ccc5a5f83a75bd01c630303d3cd8b0ae440d4adcfe1c2aa17efb SHA512 06008eefd94e6e0da07081c7df3a22596e5a34dbdd5eab9964b6e7ecdec4ffcd48f1a39e1623b343c0381556dc848100e58a3f0d76f4cceff28c1f1c04338d76
+EBUILD binwalk-9999.ebuild 1047 BLAKE2B 99733084f0e38211482042d1aec0d863275766cf1fc8845eceab8955c969c1224f1ab763fe23ccc5a5f83a75bd01c630303d3cd8b0ae440d4adcfe1c2aa17efb SHA512 06008eefd94e6e0da07081c7df3a22596e5a34dbdd5eab9964b6e7ecdec4ffcd48f1a39e1623b343c0381556dc848100e58a3f0d76f4cceff28c1f1c04338d76
MISC metadata.xml 1056 BLAKE2B 6af373bfeff084c9d068255f7e8fec1fa485f23a3619c9995c83e94ad1a88c269926a71777c7165355ac8d363808efb65ac16a496e2b39a96c5c25f1c3aee9ce SHA512 b65dbca86bb1f9dfca4b2656426576f9dc8d98859f52ad7fe9c9c5fbf0c893c3b3022452fc707730fbab85d7ca32d84a3c3fddbd80826cec73ff2b8747d2bc70
diff --git a/app-misc/binwalk/binwalk-2.3.6.ebuild b/app-misc/binwalk/binwalk-2.3.6.ebuild
index 3faee6d44b5c..b5817f92c768 100644
--- a/app-misc/binwalk/binwalk-2.3.6.ebuild
+++ b/app-misc/binwalk/binwalk-2.3.6.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} pypy3 )
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1
diff --git a/app-misc/binwalk/binwalk-2.3.8.ebuild b/app-misc/binwalk/binwalk-2.3.8.ebuild
new file mode 100644
index 000000000000..53c023e8014b
--- /dev/null
+++ b/app-misc/binwalk/binwalk-2.3.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} pypy3 )
+
+inherit distutils-r1 optfeature
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/OSPG/binwalk.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/OSPG/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
+fi
+
+DESCRIPTION="A tool for identifying files embedded inside firmware images"
+HOMEPAGE="https://github.com/OSPG/binwalk"
+
+LICENSE="MIT"
+SLOT="0"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ local DOCS=( API.md INSTALL.md README.md )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ optfeature "entropy graph" dev-python/matplotlib
+ optfeature "disassembly" dev-libs/capstone[python]
+
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "binwalk has many optional dependencies to automatically"
+ elog "extract/decompress data, see INSTALL.md for more details."
+ fi
+}
diff --git a/app-misc/binwalk/binwalk-9999.ebuild b/app-misc/binwalk/binwalk-9999.ebuild
index 3faee6d44b5c..53c023e8014b 100644
--- a/app-misc/binwalk/binwalk-9999.ebuild
+++ b/app-misc/binwalk/binwalk-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 optfeature
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/OSPG/binwalk.git"
@@ -17,7 +17,7 @@ else
fi
DESCRIPTION="A tool for identifying files embedded inside firmware images"
-HOMEPAGE="https://github.com/ReFirmLabs/binwalk"
+HOMEPAGE="https://github.com/OSPG/binwalk"
LICENSE="MIT"
SLOT="0"
@@ -30,6 +30,9 @@ python_install_all() {
}
pkg_postinst() {
+ optfeature "entropy graph" dev-python/matplotlib
+ optfeature "disassembly" dev-libs/capstone[python]
+
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "binwalk has many optional dependencies to automatically"
elog "extract/decompress data, see INSTALL.md for more details."