Page MenuHomeFreeBSD

Bsdunzip from libarchive
ClosedPublic

Authored by mm on Jul 31 2023, 1:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 13, 3:39 AM
Unknown Object (File)
Aug 17 2025, 9:19 PM
Unknown Object (File)
Aug 16 2025, 7:47 PM
Unknown Object (File)
Aug 3 2025, 1:26 PM
Unknown Object (File)
Aug 2 2025, 6:34 PM
Unknown Object (File)
Aug 2 2025, 10:41 AM
Unknown Object (File)
Jul 23 2025, 3:55 PM
Unknown Object (File)
Jul 19 2025, 7:24 PM
Subscribers
None

Details

Summary

Libarchive has ported the unzip(1) utility from FreeBSD. This patch switches to use bsdunzip from libarchive.
A bunch of tests is included and the test framework can be extended in the future. NetBSD will probably switch to the libarchive build and contrib to bsdunzip in libarchive, too.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mm requested review of this revision.Jul 31 2023, 1:47 PM
mm created this revision.
This revision is now accepted and ready to land.Aug 1 2023, 12:38 PM

Seems reasonable to do this.. Assuming it really is a drop in replacement...
It might make sense to do an exp run, since i'm not sure how much ports use the unzip command line vs tar.
Otherwise, no objection.

This revision was automatically updated to reflect the committed changes.