archivers/unzip vs tar -xf

Yuri Pankov yuri.pankov at gmail.com
Mon Jun 6 19:40:28 UTC 2011


On Mon, Jun 06, 2011 at 11:50:36AM -0700, Xin LI wrote:
> On Mon, Jun 6, 2011 at 10:20 AM, Eir Nym <eirnym at gmail.com> wrote:
> > Since FreeBSD 5.4.0-Release libarchive(3) support to unpack zip files.
> > Why not to use it to unpack distributives to workdir?
> >
> > I've downloaded all distros and tried to unpack them all with tar(1)
> > with no problems. I use FreeBSD 9.0-CURRENT r222717.
> 
> I think the reason is that at the beginning tar(1) does not work for a
> little fraction of distfiles, but yes, I think it's reasonable to take
> a step forward and add a new option to force using the info-zip
> implementation.

We already have /usr/bin/unzip, built around the libarchive. You can
check this (?, not sure) list archives as to why it isn't used by
default.


Yuri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110606/3520ef56/attachment.pgp


More information about the freebsd-ports mailing list