Bug 272845

Summary: [exp-run] Bsdunzip from libarchive
Product: Ports & Packages Reporter: Martin Matuska <mm>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Bsdunzip patch none

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(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-05-04 12:38:40 UTC
A commit in branch stable/13 references this bug:

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

commit 277283585540b41170373730d54e3d1917b0bb18
Author:     Martin Matuska <mm@FreeBSD.org>
AuthorDate: 2023-07-31 11:54:58 +0000
Commit:     Martin Matuska <mm@FreeBSD.org>
CommitDate: 2024-05-04 11:53:07 +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)

    (cherry picked from commit b5a3a89c50671a1ad29e7c43fe15e7b16feac239)

 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)                    |  201 ----
 usr.bin/unzip/unzip.c (gone)                    | 1132 -----------------------
 8 files changed, 188 insertions(+), 1334 deletions(-)