From owner-freebsd-ports@FreeBSD.ORG Mon Jun 6 21:29:01 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 46B2D106564A for ; Mon, 6 Jun 2011 21:29:01 +0000 (UTC) (envelope-from alexkozlov0@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 C9ED88FC12 for ; Mon, 6 Jun 2011 21:29:00 +0000 (UTC) Received: by fxm11 with SMTP id 11so4035711fxm.13 for ; Mon, 06 Jun 2011 14:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mime-version:content-type:content-disposition; bh=lLGzILTNKlzPThRY48LIsIZDXAxf1/9IhQIT3eQcUS0=; b=VkslVXF3C6+m19MoP+PT1pR2jtE81UhCV4JVjwhLO7O3kC9vOvJiExdo6q7M/4wyz5 7/khYB3HgvDFybjHznTzI3kbvP+K+43a8jsxnkCF4SSXLtxdxS4S8DGCED4dEyVS2i6C z13nZ/3A+t7b5DB0EU/Vp+64VdHeVP5RPcP2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=uR1SCgZ7H4Xbwhc7zJq7MUGPJg8IM3odAp9ncoCH2OZjoipeepRjHGhJnqXjK9EnAg EipvzpgWcgVKKjG13CnyPZObKxqsGH8bpz41aNlGUXZ1LEJ6EBM3vCAtXwIB/UUwRNw4 ijPMkGy5mQX4cFKwGYE27p+yLYdaHJHZIHsaY= Received: by 10.223.28.220 with SMTP id n28mr5800387fac.101.1307394107228; Mon, 06 Jun 2011 14:01:47 -0700 (PDT) Received: from ravenloft.kiev.ua (94.244.131.95.nash.net.ua [94.244.131.95]) by mx.google.com with ESMTPS id e16sm1501627fak.41.2011.06.06.14.01.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 14:01:46 -0700 (PDT) Sender: Alex Kozlov Date: Tue, 7 Jun 2011 00:01:13 +0300 From: Alex Kozlov To: Xin LI , freebsd-ports@freebsd.org Message-ID: <20110606210113.GA27789@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: 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 21:29:01 -0000 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. > 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. Firstly, pr153429 need to be committed, after this exp-run with native unzip must be done. While only 4-5 distributives can't be extracted by native unzip, problem with incorrect permissions after extraction exists in significant numbers of cases. -- Adios