commit: 15f7a3ce2dd88a07b737ab9442baf9ec5620edaf Author: David Roman <davidroman96 <AT> gmail <DOT> com> AuthorDate: Sun May 11 10:25:14 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 11 12:38:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f7a3ce
app-misc/binwalk: add sasquatch optfeature This is the only option to extract sasquashfs files in binwalk3 Closes: https://bugs.gentoo.org/948807 Signed-off-by: David Roman <davidroman96 <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42024 Closes: https://github.com/gentoo/gentoo/pull/42024 Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/binwalk/binwalk-3.1.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-misc/binwalk/binwalk-3.1.0.ebuild b/app-misc/binwalk/binwalk-3.1.0.ebuild index 1eead581c1cb..89ddb97f7529 100644 --- a/app-misc/binwalk/binwalk-3.1.0.ebuild +++ b/app-misc/binwalk/binwalk-3.1.0.ebuild @@ -163,7 +163,7 @@ CRATES=" [email protected] " -inherit cargo +inherit cargo optfeature DESCRIPTION="Analyzes data for embedded file types" HOMEPAGE="https://github.com/ReFirmLabs/binwalk" @@ -197,3 +197,7 @@ src_unpack() { src_install() { newbin "$(cargo_target_dir)/binwalk" binwalk3 } + +pkg_postinst() { + optfeature "squashfs extraction" app-arch/sasquatch +}
