History log of /freebsd-10-stable/usr.bin/unzip/
Revision Date Author Comments
256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


248612 22-Mar-2013 mm

Replace deprecated (or remove obsolete) libarchive 2.8 functions
with libarchive 3.0 counterparts


241331 07-Oct-2012 joel

Remove contractions.


236226 29-May-2012 des

Pass a filename, rather than a file descriptor, to libarchive.

Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
MFC after: 1 week


235252 11-May-2012 gjb

Document the unzip(1) '-Z' option implemented in r234206.

Submitted by: swills (via hacker lounge)
MFC after: 3 days


234311 15-Apr-2012 des

Correct my name in the copyright statement.


234206 13-Apr-2012 kevlo

Partially implement zipinfo (-Z) support.
This fixes some test failures seen with perl 5.12 and 5.14.

PR: bin/166895
Submitted by: swills
MFC after: 3 days


233456 25-Mar-2012 joel

Remove superfluous paragraph macro.


230044 13-Jan-2012 kevlo

fgets(3) returns a pointer, so compare against NULL, not integer 0.


228991 30-Dec-2011 uqs

Reencode files from latin1 to UTF-8.

This makes a tiny percentage of entries in calendars ugly for latin1
users, but fixes them for UTF-8 users.

This badly needs a solution involving locale-dependent re-encoding.


224584 01-Aug-2011 uqs

Fix broken mdoc.

Found by: manlint
Approved by: re (kib)


214174 21-Oct-2010 glebius

Fix typo in last commit.

Submitted by: bcr


214140 21-Oct-2010 glebius

Document possibility to read from stdin.


214137 21-Oct-2010 glebius

Make it possible to read input from stdin.

Without this change I don't see a way to
unpack a multivolume archive without wasting
disk space for a temporary file.


208957 09-Jun-2010 delphij

Check return value from archive_read_new().

Found with: Coverity Prevent(tm)
CID: 8462
Reviewed by: des
MFC after: 1 week


204352 26-Feb-2010 ru

Fixed static linkage.


203978 16-Feb-2010 gavin

Bump .Dd for r203977

MFC after: 1 month


203977 16-Feb-2010 gavin

Implement the rename query, for when a file with the same name as the one
about to be extracted already exists. The question, and interpretation
of the response is deliberately compatible with Info-Zip.

This change was originally obtained from NetBSD, but has three changes:
- better compatibility with Info-Zip in the handling of ^D
- Use getdelim() rather than getline()
- bug fix: != changed to == in the "file rename" code

I suspect the latter is also a bug in NetBSD, but I can't easily confirm
this.

PR: bin/143307
Reviewed by: rdivacky (change to unzip.c only)
Obtained from: NetBSD src/usr.bin/unzip/unzip.c 1.8
MFC after: 1 month


201630 06-Jan-2010 kientzle

When restoring files, use the mode for the mode.

Thanks to: Jun Kuriyama for pointing this out


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


200844 22-Dec-2009 jh

Don't print the archive name with -p and -q options.

PR: bin/141280
Approved by: des, trasz (mentor)


196981 08-Sep-2009 rdivacky

Add C/c/f/p/v switches plus a bunch of minor fixes and cleanups.

Obtained from: NetBSD
Approved by: des (maintainer)
Approved by: ed (mentor, implicit)


180125 30-Jun-2008 des

Update man page for -t.


180124 30-Jun-2008 des

Quick shot at implementing -t (test).

Requested by: ache
MFC after: 2 weeks


175154 08-Jan-2008 des

Welcome unzip(1), a pure BSD drop-in replacement for ports/unzip. In its
current state, it can handle all but four of the 991 zip files (including
jar files) I was able to identify in the ports tree. The remaining four
are two self-extracting archives and two which have garbage preceding the
first local header. This limitation is a feature of libarchive(3) which
I am currently working to resolve.

The code is unnecessarily large due to the need to emulate the exact
command-line syntax and behaviour of ports/unzip. My initial incompatible
implementation was one quarter the size of the one I am committing here.