On Mon, Jun 06, 2011 at 11:50:36AM -0700, Xin LI wrote: > On Mon, Jun 6, 2011 at 10:20 AM, Eir Nym <eir...@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
pgpbmmvzIeUSG.pgp
Description: PGP signature