From owner-freebsd-ports@FreeBSD.ORG Wed Sep 14 20:41:39 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D594316A41F for ; Wed, 14 Sep 2005 20:41:39 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1685643D46 for ; Wed, 14 Sep 2005 20:41:38 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.4/8.13.4) with ESMTP id j8EKfbDh087717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Sep 2005 22:41:37 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.4/8.13.4/Submit) id j8EKfbuh087716; Wed, 14 Sep 2005 22:41:37 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Skip Ford In-Reply-To: <20050914203618.GA888@lucy.pool-151-204-5-5.pskn.east.verizon.net> References: <20050914203618.GA888@lucy.pool-151-204-5-5.pskn.east.verizon.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-tO3u9YLAbclzjAqPzeIn" Date: Wed, 14 Sep 2005 22:41:36 +0200 Message-Id: <1126730496.77533.34.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: freebsd-ports@FreeBSD.org Subject: Re: tar(1) versus unzip X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 20:41:40 -0000 --=-tO3u9YLAbclzjAqPzeIn Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Skip Ford p=ED=B9e v st 14. 09. 2005 v 16:36 -0400: > Why do ports that need to unzip a file still depend on unzip? >=20 > I uninstalled unzip way back when bsdtar(1) was able to unzip but > several ports still try to install it even though the system's > native tar can unzip their files just fine, at least with the > zipped ports I use. >=20 > Looks like the magic to handle it can just go into a file in > ports/Mk with USE_ZIP, but my Makefile-writing skills aren't good > enough to do it. I also don't know the version of FreeBSD that > first included bsdtar with zip as the native tar. >=20 > So, is there some reason unzip is still needed on all systems or > has no one with the knowledge had the time to fix it? 1) Older FreeBSD revisions didn't have tar capable on unzipping, and no one updated the ports infrastructure since. 2) Are you absolutely sure tar handle all obscurities that do happen in real world zip files? 3) Some ports pass custom flags to unzip command, there would blow up when replaced with tar, too. --=20 Pav Lucistnik --=-tO3u9YLAbclzjAqPzeIn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDKIsAntdYP8FOsoIRApqeAJwInf6uLK9o8j+voC26luPw7Gg5/gCcCnZo VD9dOayfxar6UmoDH03+674= =4AiD -----END PGP SIGNATURE----- --=-tO3u9YLAbclzjAqPzeIn--