Date: Mon, 6 Jun 2011 23:40:22 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Xin LI <delphij@gmail.com> Cc: Eir Nym <eirnym@gmail.com>, FreeBSD Mail Lists <freebsd-ports@freebsd.org> Subject: Re: archivers/unzip vs tar -xf Message-ID: <20110606194022.GA24220@procyon.xvoid.org> In-Reply-To: <BANLkTikZiSUoQ9tSjc_LkRW__9B%2BWHkUFQ@mail.gmail.com> References: <BANLkTimH_bxECAcAWVU=DYwswDswaJ_VFQ@mail.gmail.com> <BANLkTikZiSUoQ9tSjc_LkRW__9B%2BWHkUFQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@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. >=20 > 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 --opJtzjQTFsWo+cga Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAABAgAGBQJN7S0mAAoJEF9SuVmZPGsqInAQAJBVCGDEKfk7N9p/5LQCoEi9 w1Xz8X9WURMKroqi4yTN0zfQsHzuUmqL8wXK2yC80Nt4dc1TkrpW3urphC6foKD7 wZ47vXX149v8gByuWzRyFJJ9cH2eyRdV1nHP0LVOD6ASvDgJaISiQu6gYe9SYr7c 64NnyAiU0pdgLhEd2wgI6ufjOVR74LAepDMp58D+jQ7FCsxJQQLvtZAHSmxL9pgA l+C345RPkkPg64/uCWaveCs/BOBQzHbw+dGzZm63dTJlNMOMbSJsgncImFHYVof8 jXqGVELCVWHOI9OFeLeFy9fTJkyYRsngIvUYmdEhMYQ3E5q1971KHgEEbelwLvw+ HKHkY2hLpWHNa2ecC8KmFG4qRcKtToLAhdTMvmT7TIZUBEf4cvrVpfr7LkQWSVW3 pCja74zZwjKbDdmQ5BSk42dXVJJuAYo0/Bs8RoljToMQq8RtvpCVYv4DVsfOoP0G fSjcP4qX5j0QSdSQ2/8rWvAHqUBeLLx+06lnX9JuGCsSwLqGWnAIRpR+Bkeu+flU yYPPUQrx+UCU7e/Xmpq4oK80VrzxuxWcZWa8u36sEb6nQ9o8nmpBUc870cS+nkOj FsojoniK5OEF5KwfJ4a3JQERaEYXldA9mGtiHa3xx6Ah2Wyo7oNSC4PiwZUnrFcu LMj+bb9VGKMmwRNtzcLM =nZ53 -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110606194022.GA24220>