From owner-freebsd-ports@FreeBSD.ORG Thu May 9 23:12:21 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EA5A5B3C; Thu, 9 May 2013 23:12:21 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx1.freebsd.org (Postfix) with ESMTP id 7B353A60; Thu, 9 May 2013 23:12:21 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id gf12so3249506vcb.29 for ; Thu, 09 May 2013 16:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=S/BfmdF470Zlp6lxEmnId1GPeSFjT7MmmIEYkRtyF6M=; b=YgXJThhZktUk/+REszPmUEaJd7wCGinuajyMqqSvYUnwxxTMZshD5M/Rybw9Ds+BUp a6qOfNC/hQRjA+Bln4PpwK3rIfq8yjc4QHAWh889JhxU2CT+4OXNncLiQgnyLujxyzfr 8WBsegvsmGSy/BwGbJ1OGoMgnTBX6wsJLV7gXqpZe0LTLL+mvibzj8Ohxh/hGy8EY/r5 Bk5L2hkPej0V2Cpm2H3AEnEDux4LBDA8+doT1N6wewe84+Kv4Mp/E4g2dBni2DP03qT0 Scfz6vu2avsD2oOInoGCL0DT0GLlBWS06CRIqbZG6jrH9bveqIUJtEjzpOreY14QMrL3 9u3Q== MIME-Version: 1.0 X-Received: by 10.52.176.163 with SMTP id cj3mr8142675vdc.35.1368141135586; Thu, 09 May 2013 16:12:15 -0700 (PDT) Received: by 10.220.141.72 with HTTP; Thu, 9 May 2013 16:12:15 -0700 (PDT) In-Reply-To: <20130509225700.GN91136@ithaqua.etoilebsd.net> References: <20130509225700.GN91136@ithaqua.etoilebsd.net> Date: Thu, 9 May 2013 16:12:15 -0700 Message-ID: Subject: Re: Why doesn't USE_UNZIP use the base system unzip? From: Garrett Cooper To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 23:12:22 -0000 On Thu, May 9, 2013 at 3:57 PM, Baptiste Daroussin wrote: > On Thu, May 09, 2013 at 03:48:34PM -0700, Garrett Cooper wrote: >> So... trying to trim down dependencies in a ports build and I'm >> confused as to why unzip in base (it's been in base for ~5 years) >> isn't a sufficient replacement for archivers/unzip in ports. It >> doesn't seem like we're doing anything incredibly complicated with >> archivers/unzip, so I would think that it would be a drop-in >> replacement. Am I incorrect? >> Thanks, >> -Garrett >> >> PS Please CC me as I'm not currently subscribed to the list. > > Simple because libarchive doesn't support all the infozip format yet. > > My plan is to make USE_ZIP automatically use bsdtar (and not unzip so that > FreeBSD 8.x can get it) and introduce a new USE_INFOZIP for ports that won't > work with bsdtar. > > I have a patch for this: > http://people.freebsd.org/~bapt/nounzip.diff > > But I didn't get time to totally exp-run it yet. Perfect -- that helps a lot (and now I know that none of the ports we are going to build require anything beyond what's in the base system. Thanks! -Garrett