archivers/unzip vs tar -xf

Yuri Pankov yuri.pankov at
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> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list