From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73F25159C9B for ; Sat, 10 Aug 2024 07:24:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3A622BC185; Sat, 10 Aug 2024 07:24:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E1D02BC184 for ; Sat, 10 Aug 2024 07:24:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D02D03430F3 for ; Sat, 10 Aug 2024 07:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2648D1ED0 for ; Sat, 10 Aug 2024 07:24:07 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1723274410.3d5c9a9f958b31dde08a8e481d145463f808ae60.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/binwalk/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/binwalk/Manifest app-misc/binwalk/binwalk-2.4.2.ebuild X-VCS-Directories: app-misc/binwalk/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3d5c9a9f958b31dde08a8e481d145463f808ae60 X-VCS-Branch: master Date: Sat, 10 Aug 2024 07:24:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0279dd7b-ce28-4cf5-b4b4-fedbf2fb8ea4 X-Archives-Hash: b87babf64414a8fd8af667b2857a729a commit: 3d5c9a9f958b31dde08a8e481d145463f808ae60 Author: David Roman gmail com> AuthorDate: Thu Aug 1 11:40:03 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Aug 10 07:20:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5c9a9f app-misc/binwalk: add 2.4.2 Signed-off-by: David Roman gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-misc/binwalk/Manifest | 1 + app-misc/binwalk/binwalk-2.4.2.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest index fdd9fbae0916..279abd5f671d 100644 --- a/app-misc/binwalk/Manifest +++ b/app-misc/binwalk/Manifest @@ -1,2 +1,3 @@ DIST binwalk-2.4.0.tar.gz 39744574 BLAKE2B 8503e86afb584e431b25611fbed91e85aaf307e9011b5ef09a83b5f4756a815f9d3de67d440a2b7547cbe162d1940e8d6ffc4899afac14ccb938304002b1eb41 SHA512 41bee6a0d1cd587f81dcf81c30215a305b61e4db208bc9d8e4f0b9f12acb47e4dc2e6af23e06118ef6e30c484f6be743b456b6d4324be4388413ff291682345e DIST binwalk-2.4.1.tar.gz 39747760 BLAKE2B 480f8ff06932c77ca5ab2857cddf7ecebb36b6f2e55e3ccf15a971fa0f4c59d57b652556fd9f0dd20e6fbd887fdef3c6da022f76787b2edf16b0d1714d291e8a SHA512 f83d0ca09a39033944ce16345b7c2c8f3051a20f80315e4c797221df4e6844c7c89c0a49053d739156e2654b482d6ef93f0814fa588daab031dbeaed1423e6f2 +DIST binwalk-2.4.2.tar.gz 39746629 BLAKE2B 65e3c44b2e2c4cc639ad6b8adf3fbac7cda574ca8b00f714d4ae5635dd3e24fcfc8c0d151c20ad40ad891adef803667e6f65167f96d4405ad83abee44121c224 SHA512 b9d3b13de9b81216759f5e1573bf6056a3210892ad920b43afe0c6ef2ff1d200be28ecfe12bec11fd7540545d1bb2f27d210ee5afb968910d4e9fb46a21673ce diff --git a/app-misc/binwalk/binwalk-2.4.2.ebuild b/app-misc/binwalk/binwalk-2.4.2.ebuild new file mode 100644 index 000000000000..b0874ff39ee8 --- /dev/null +++ b/app-misc/binwalk/binwalk-2.4.2.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_{10..13} 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 more optional dependencies to automatically" + elog "extract/decompress data, see INSTALL.md for more details." + fi +}