Bug 272845 - [exp-run] Bsdunzip from libarchive
Summary: [exp-run] Bsdunzip from libarchive
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 13:50 UTC by Martin Matuska
Modified: 2024-04-16 14:27 UTC (History)
1 user (show)

See Also:


Attachments
Bsdunzip patch (80.86 KB, patch)
2023-07-31 13:50 UTC, Martin Matuska
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matuska freebsd_committer freebsd_triage 2023-07-31 13:50:41 UTC
Created attachment 243738 [details]
Bsdunzip patch
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2023-08-03 22:20:43 UTC
Thanks, that uncovered a bug that I am currently fixing in libarchive.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-08-04 10:47:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=b5a3a89c50671a1ad29e7c43fe15e7b16feac239

commit b5a3a89c50671a1ad29e7c43fe15e7b16feac239
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2023-07-31 11:54:58 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2023-08-04 10:45:41 +0000

    unzip: swtich to bsdunzip from libarchive

    Unzip from FreeBSD has been ported to libarchive.
    Change usr.bin/unzip to use bsdunzip from libarchive.

    Differential Revision:  https://reviews.freebsd.org/D41239
    PR:                     272845 (exp-run)
    MFC after:              1 month

 etc/mtree/BSD.tests.dist                        |    2 +
 lib/libarchive/config_freebsd.h                 |    5 +
 usr.bin/unzip/Makefile                          |   28 +-
 usr.bin/unzip/tests/Makefile (new)              |   74 ++
 usr.bin/unzip/tests/Makefile.depend (new)       |   24 +
 usr.bin/unzip/tests/functional_test.sh (new +x) |   56 ++
 usr.bin/unzip/unzip.1 (gone)                    |  207 ----
 usr.bin/unzip/unzip.c (gone)                    | 1141 -----------------------
 8 files changed, 188 insertions(+), 1349 deletions(-)