Add unzip(1). If you can't beat 'em, join 'em

Operating Systems / DragonFlyBSD - John Marino [marino.st] - 22 March 2016 11:33 UTC

The unzip utility isn't particularly necessary (the version of unzip in ports is better), but the ports tree does leverage it extensively. I've been patching around all the resulting failures, but it's easier just to import unzip(1) from FreeBSD and remove the ports tree modifications.

This tool has also been available in NetBSD since version 6.0, so maybe bringing it into DragonFly will establish it as a standard BSD utility.

6ca8805 Add unzip(1). If you can't beat 'em, join 'em
usr.bin/Makefile | 1 +
usr.bin/unzip/Makefile | 8 +
usr.bin/unzip/unzip.1 | 193 +++++++++
usr.bin/unzip/unzip.c | 1064 ++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 1266 insertions(+)

Upstream: gitweb.dragonflybsd.org


  • Share