Bug 288914 - [NEW PORT] filesystems/sasquatch: SquashFS extractor with patches for firmware analysis
Summary: [NEW PORT] filesystems/sasquatch: SquashFS extractor with patches for firmwar...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-17 15:47 UTC by gatekeeper
Modified: 2025-08-29 20:13 UTC (History)
1 user (show)

See Also:


Attachments
patch (2.67 KB, patch)
2025-08-17 15:47 UTC, gatekeeper
no flags Details | Diff
patch (3.44 KB, patch)
2025-08-18 11:20 UTC, gatekeeper
no flags Details | Diff
patch (3.48 KB, patch)
2025-08-18 11:22 UTC, gatekeeper
no flags Details | Diff
patch (3.44 KB, patch)
2025-08-25 04:37 UTC, gatekeeper
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gatekeeper 2025-08-17 15:47:44 UTC
Created attachment 263018 [details]
patch

Hi.
I am hereby contributing "sasquatch", which is a different version of squashfs-tools which has been patched for extracting firmware images; it is mostly used together with binwalk.
Comment 1 gatekeeper 2025-08-18 11:20:08 UTC
Created attachment 263039 [details]
patch

Updated Makefile to reflect the licenses of the embedded library
Comment 2 gatekeeper 2025-08-18 11:22:22 UTC
Created attachment 263040 [details]
patch

Small update - had forgotten the GPLv2 file...
Comment 3 gatekeeper 2025-08-22 14:30:23 UTC
ping!
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-08-24 21:11:15 UTC
I think you can remove lines (default values are same):
GL_PROJECT=	sasquatch
GL_TAGNAME=	4.3
Comment 5 gatekeeper 2025-08-25 04:37:34 UTC
Created attachment 263216 [details]
patch

You are right - these lines can be removed.
Changed+tested = OK

Also did slight updates to LIB_DEPENDS to make it less generic
Comment 6 gatekeeper 2025-08-25 04:44:37 UTC
(In reply to gatekeeper from comment #5)
Correction: make more generic...
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-08-29 20:13:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc45d5b3cbcbf6db47c50d157c4ceb835fff02c0

commit fc45d5b3cbcbf6db47c50d157c4ceb835fff02c0
Author:     gatekeeper <tiago.gasiba@gmail.com>
AuthorDate: 2025-08-29 20:10:03 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-08-29 20:10:03 +0000

    filesystems/sasquatch: New port: SquashFS extractor with patches for firmware analysis

    The sasquatch project is a set of patches to the standard unsquashfs
    utility (part of squashfs-tools) that attempts to add support for as
    many hacked-up vendor-specific SquashFS implementations as possible.

    It can be used in conjunction with binwalk to extract firmware images
    where unsquashfs would fail.

    https://gitlab.com/tgasiba/sasquatch/

    Original project under: https://github.com/devttys0/sasquatch/

    PR:     288914

 filesystems/Makefile                  |  1 +
 filesystems/sasquatch/Makefile (new)  | 35 +++++++++++++++++++++++++++++++++++
 filesystems/sasquatch/distinfo (new)  |  3 +++
 filesystems/sasquatch/pkg-descr (new) | 16 ++++++++++++++++
 4 files changed, 55 insertions(+)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-08-29 20:13:56 UTC
Thanks.