cvs commit: src/usr.bin/unzip Makefile unzip.1 unzip.c

Pav Lucistnik pav at FreeBSD.org
Tue Jan 8 10:20:20 PST 2008


Dag-Erling Smorgrav píše v út 08. 01. 2008 v 08:00 +0000:
> des         2008-01-08 08:00:06 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     usr.bin/unzip        Makefile unzip.1 unzip.c 
>   Log:
>   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.

Is it a good idea to have the binary same name as the "real" unzip?

BTW we are on track to commit a patch to the ports framework that will
make it use tar(1) for extracting .zip files.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
Traffic collapse in Paris starts whenever a traffic light changes color.
-- JLE at #angband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20080108/b9b036b9/attachment.pgp


More information about the cvs-all mailing list