Page MenuHomeFreeBSD

Bsdunzip from libarchive
ClosedPublic

Authored by mm on Jul 31 2023, 1:47 PM.
Tags
None
Referenced Files
F108434949: D41239.id125364.diff
Fri, Jan 24, 6:01 PM
F108433370: D41239.id125579.diff
Fri, Jan 24, 5:48 PM
F108429839: D41239.id.diff
Fri, Jan 24, 5:21 PM
Unknown Object (File)
Sat, Jan 18, 3:52 AM
Unknown Object (File)
Mon, Jan 6, 6:09 PM
Unknown Object (File)
Dec 12 2024, 10:34 PM
Unknown Object (File)
Dec 10 2024, 8:31 PM
Unknown Object (File)
Dec 10 2024, 8:29 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.