Bug 298005 - [NEW PORT] archivers/unhare -- extract files bundled by Bun from a binary
Summary: [NEW PORT] archivers/unhare -- extract files bundled by Bun from a binary
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 298047
  Show dependency treegraph
 
Reported: 2026-08-28 02:07 UTC by Mikhail Teterin
Modified: 2026-09-01 00:59 UTC (History)
0 users

See Also:


Attachments
New port installing release 1.0.1 (2.74 KB, patch)
2026-08-28 02:07 UTC, Mikhail Teterin
no flags Details | Diff
New port installing release 1.1 (2.73 KB, patch)
2026-08-29 05:14 UTC, Mikhail Teterin
no flags Details | Diff
New port installing release 1.1.1 (2.74 KB, patch)
2026-09-01 00:59 UTC, Mikhail Teterin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 2026-08-28 02:07:10 UTC
Created attachment 274195 [details]
New port installing release 1.0.1

unhare extracts the filesystem that Bun embeds in a standalone
executable. It finds the bundle through the ELF section holding it, or
by scanning the whole file where there is no such section -- which is
what the Mach-O and PE executables Bun builds on other systems need --
and writes the bundled modules out as ordinary files.
Comment 1 Mikhail Teterin freebsd_committer freebsd_triage 2026-08-29 05:14:03 UTC
Created attachment 274222 [details]
New port installing release 1.1
Comment 2 Mikhail Teterin freebsd_committer freebsd_triage 2026-09-01 00:59:06 UTC
Created attachment 274323 [details]
New port installing release 1.1.1