Page MenuHomeFreeBSD

Bsdunzip from libarchive
ClosedPublic

Authored by mm on Jul 31 2023, 1:47 PM.
Tags
None
Referenced Files
F102734311: D41239.diff
Sat, Nov 16, 12:30 PM
Unknown Object (File)
Wed, Oct 23, 7:16 PM
Unknown Object (File)
Oct 13 2024, 2:39 AM
Unknown Object (File)
Oct 13 2024, 2:12 AM
Unknown Object (File)
Oct 13 2024, 2:11 AM
Unknown Object (File)
Oct 1 2024, 5:00 PM
Unknown Object (File)
Sep 22 2024, 2:44 PM
Unknown Object (File)
Sep 1 2024, 10:18 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.