Page MenuHomeFreeBSD

Bsdunzip from libarchive
ClosedPublic

Authored by mm on Jul 31 2023, 1:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 7:25 PM
Unknown Object (File)
Tue, Apr 30, 3:36 PM
Unknown Object (File)
Thu, Apr 25, 11:26 PM
Unknown Object (File)
Thu, Apr 25, 2:41 PM
Unknown Object (File)
Thu, Apr 25, 2:40 PM
Unknown Object (File)
Thu, Apr 25, 10:08 AM
Unknown Object (File)
Sun, Apr 14, 5:32 PM
Unknown Object (File)
Apr 8 2024, 2:03 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.