Bug 231827 - unzip sync with NetBSD upstream
Summary: unzip sync with NetBSD upstream
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Keywords: patch
Depends on:
Reported: 2018-09-30 17:11 UTC by Alex Kozlov
Modified: 2018-11-26 11:59 UTC (History)
1 user (show)

See Also:

sync with NetBSD upstream (1.26 KB, text/plain)
2018-09-30 17:11 UTC, Alex Kozlov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kozlov freebsd_committer 2018-09-30 17:11:24 UTC
Created attachment 197636 [details]
sync with NetBSD upstream

Sync unzip in the base with upstream from NetBSD (rev1.24):

- Ignore malformed directory entries as created by Dropbox ("/")
- Use getline() instead of getdelim()
- Always overwrite symlinks on extraction, ever if they're newer than entries in the archive
- Use libarchive 3.x interface: check result for archive_read_free() and don't call archive_read_close() manually
Comment 1 Dag-Erling Smørgrav freebsd_committer 2018-10-30 13:42:58 UTC
I don't maintain unzip.
Comment 2 Martin Matuska freebsd_committer 2018-11-25 01:17:43 UTC
I am OK with the changes, you can add me to Reviewed by:
Comment 3 Alex Kozlov freebsd_committer 2018-11-26 11:59:09 UTC
Thanks. I don't have src bit though. Can I commit this pr with Approved by: mm
or you prefer to do it yourself?