diff options
author | Sam James <sam@gentoo.org> | 2023-04-01 02:06:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-01 02:08:23 +0100 |
commit | 61cd52d3435a3b792687a8490e85c00f22bf141e (patch) | |
tree | 56c7362463bd55b5bc2becdb113c43f806f540a9 /app-misc | |
parent | app-misc/binwalk: enable py3.11 (diff) | |
download | gentoo-61cd52d3435a3b792687a8490e85c00f22bf141e.tar.gz gentoo-61cd52d3435a3b792687a8490e85c00f22bf141e.tar.bz2 gentoo-61cd52d3435a3b792687a8490e85c00f22bf141e.zip |
app-misc/binwalk: add 2.3.4
Bug: https://bugs.gentoo.org/903652
Closes: https://bugs.gentoo.org/892880
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/binwalk/Manifest | 1 | ||||
-rw-r--r-- | app-misc/binwalk/binwalk-2.3.4.ebuild | 44 | ||||
-rw-r--r-- | app-misc/binwalk/binwalk-9999.ebuild | 2 |
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest index 4def5cccaa6b..bc2e1240d5ed 100644 --- a/app-misc/binwalk/Manifest +++ b/app-misc/binwalk/Manifest @@ -1 +1,2 @@ DIST binwalk-2.3.3.tar.gz 39723775 BLAKE2B d29b709dae0ae406e0ef6142e878a2bbbf0ddb3bd8f49d3335dd1e7ab385c331c021489b3d96b3c2364038b870c1aae53c8d82e7a3d9ab1983ff4520e20f6e73 SHA512 d7e8d576cfc92b1488ceda7d4577aeaaefb2a251a5aca0b4a497da0dff7c6e6e862e0a77346593c77fb4e54b7de3d3a0c1c8c9421ecec8f06aabbc4b336920c5 +DIST binwalk-2.3.4.tar.gz 39723471 BLAKE2B a5eac4242402c5034c293432131950bed9aff762c5db86b200a1f555bdfeeb1c6fda225393149f7beca2923141f2ae7930738038f2d039513cb06dfae9601b81 SHA512 5a5e16035dfc05b94ae4ee3969a337336c550606b71e20fcb1f150c4b38ef2084b6a823ce2a8050f4b41616b7d7c31cfb04bf43e7f2c977ab1a634aba9d67fec diff --git a/app-misc/binwalk/binwalk-2.3.4.ebuild b/app-misc/binwalk/binwalk-2.3.4.ebuild new file mode 100644 index 000000000000..b21509dda458 --- /dev/null +++ b/app-misc/binwalk/binwalk-2.3.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ReFirmLabs/binwalk.git" + inherit git-r3 +else + SRC_URI="https://github.com/ReFirmLabs/${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/ReFirmLabs/binwalk" + +LICENSE="MIT" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch + "${FILESDIR}"/2.3.3-tests.patch + "${FILESDIR}"/${PN}-2.3.3-syntax-fix.patch + +) + +distutils_enable_tests nose + +python_install_all() { + local DOCS=( API.md INSTALL.md README.md ) + distutils-r1_python_install_all +} + +pkg_postinst() { + 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 3e998cef898a..b21509dda458 100644 --- a/app-misc/binwalk/binwalk-9999.ebuild +++ b/app-misc/binwalk/binwalk-9999.ebuild @@ -24,6 +24,8 @@ SLOT="0" PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch + "${FILESDIR}"/2.3.3-tests.patch + "${FILESDIR}"/${PN}-2.3.3-syntax-fix.patch ) |