From owner-freebsd-ports@FreeBSD.ORG Mon Jun 6 19:40:27 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48F7106566C for ; Mon, 6 Jun 2011 19:40:27 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 533EA8FC0A for ; Mon, 6 Jun 2011 19:40:27 +0000 (UTC) Received: by fxm11 with SMTP id 11so3954990fxm.13 for ; Mon, 06 Jun 2011 12:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:x-authentication-warning:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=jfVtWEUKBUF9ssmXp1ucqdQtYL+NWvTtevrFasymzbA=; b=l0ap2MxmSWwsJk6prHiLGern9HHYat8bZrjZxFDLuBp1jezqzcZ8Fl/XVR3GvS43qR 1fJZCQS4TFj8j/F0hHT4Qls8WmIj4tc2a79cXFaqJHi/wWA82gobPEBM4ZzR+6gBYRkn aAIX4JkE9gSN1jehAyQdzLVepmAYO6Y3YpZTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=R9L1kUEdsYLfzgfWUKlK+usou48Z6u4CFTLdPOlbtHdUoDGNZVmiI4zPspliib5HC+ VjezGxXdJT3VXti1b3au/ZfjmoTANWtfgRj5zV6Q5TrQBFhIGOqi+Vb9OZqhVtDOwlgZ 33i5Pr+YbVyzMy7Zmx24pP0I0wNqx4zfHHBx0= Received: by 10.223.2.205 with SMTP id 13mr314482fak.138.1307389226290; Mon, 06 Jun 2011 12:40:26 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id m26sm1485073fab.34.2011.06.06.12.40.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 12:40:25 -0700 (PDT) Received: from procyon.xvoid.org (yuri@procyon.xvoid.org [IPv6:::1]) by procyon.xvoid.org (8.14.4/8.14.4) with ESMTP id p56JeMnZ027226; Mon, 6 Jun 2011 23:40:22 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.4/8.14.4/Submit) id p56JeM5f027225; Mon, 6 Jun 2011 23:40:22 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 6 Jun 2011 23:40:22 +0400 From: Yuri Pankov To: Xin LI Message-ID: <20110606194022.GA24220@procyon.xvoid.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Eir Nym , FreeBSD Mail Lists Subject: Re: archivers/unzip vs tar -xf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 19:40:28 -0000 --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 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--