Unzip can be found in: app-arch/unzip app-arch/libarchive (bsdunzip) sys-apps/busybox Also, app-arch/p7zip unpacks zip and a variety of other formats, but its command switches are incompatible. Reproducible: Always
It seems unlikely to me that these alternatives are compatible enough to allow for drop-in replacement of app-arch/unzip.
(In reply to Mike Gilbert from comment #1) > It seems unlikely to me that these alternatives are compatible enough to > allow for drop-in replacement of app-arch/unzip. I assume you're referring to the command line switches, though from prior experience their varying locale support is a huge problem on its own. app-arch/unzip and busybox will corrupt UTF-8 filenames by default, busybox at least gets the right number of characters in the output; bsdunzip refuses the operation entirely complaining about a locale mismatch (my system locale's always been utf-8 so maybe this is a BSD porting bug); p7zip is UTF-8-clean by default. There's also miniunzip from zlib, but the ebuild only installs its manpage so I didn't try it. Unfortunately this still seems to be a dark and under-served corner of the system. If anyone's having difficulty with zip files I recommend app-arch/atool (and using -F 7z) - a sufficiently complete app-alternatives/unzip wrapper would end up looking like it anyway.
parona was interested in this before and started looking at libarchive compat (https://github.com/libarchive/libarchive/pull/2022).
(In reply to Mike Gilbert from comment #1) > It seems unlikely to me that these alternatives are compatible enough to > allow for drop-in replacement of app-arch/unzip. libarchive's unzip strives to be compatible with Info-ZIP's unzip and Ive toyed around with it. It worked fine except for the one bug that was addressed upstream now (not in any release yet). https://github.com/gentoo/gentoo/pull/33998