From owner-freebsd-questions@freebsd.org Fri Dec 25 16:30:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAC7AA527C8 for ; Fri, 25 Dec 2015 16:30:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9433F184B for ; Fri, 25 Dec 2015 16:30:25 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tBPGUFk3014901 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 25 Dec 2015 16:30:15 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tBPGUFk3014901 Authentication-Results: smtp.infracaninophile.co.uk/tBPGUFk3014901; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Unzip utility choice decision To: freebsd-questions@freebsd.org References: From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <567D6F11.4040305@FreeBSD.org> Date: Fri, 25 Dec 2015 16:30:09 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jinVPajh47O4ihTeOFeUtv1gKkFE230ib" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2015 16:30:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jinVPajh47O4ihTeOFeUtv1gKkFE230ib Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 25/12/2015 08:58, Dangling Pointer wrote: >> The answer is of course for the more permissive license. > Is it? This is exactly what I have asked in first post: What is the > point of having another unzip utility with lesser implementation and > options, when we already have one. Is it because of license > differences? Yes/No (preferably in a non-sarcastic manner..) I am not > sure about the answer, that is why I am asking. Hmmm... except that the version of zip used by (most) Linux distros seems to be the one provided by Info-Zip, and that nowadays has a reasonably permissive license: http://www.info-zip.org/pub/infozip/license.html The first two clauses are pretty much standard BSD licence; it's just the 3rd and 4th clauses protecting various names used by Info-Zip that are different. (Something that's normally handled separately by registering appropriate trademarks. Curious...) The reason for the difference between the various unzip programs is that the base system unzip(1) is built around libarchive -- see http://www.libarchive.org/ -- which also provides the BSD licensed versions of a number of other commands including tar(1) and cpio(1). So you can just point tar at a zip archive or a .iso image and list the contents or extract files, which is pretty handy. However libarchive doesn't provide the ability to write to a zip archive, and there are some newer zip formats it can't cope with at all. IIRC, you need the ports version of zip(1l)/unzip(1L) to handle zip64 format archives. So, while the answer /is/ about using a more permissive license, it's actually more to do with the licensing of tar(1) and cpio(1) where the alternatives are under the GPL -- unzip(1) is just there as a side effect, because it costs almost nothing to provide it. Cheers, Matthew --jinVPajh47O4ihTeOFeUtv1gKkFE230ib Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWfW8XXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATQwAQAJtTEAfKJS8mPWTbG9QG646D iOSu06+113uytm7HpWBZaSADyZLFgr7EFRNJ0GwZaB0yj+poJnMkg7PHreCF+6+7 ewVU0tSF+57a9v9+6rkqcd7aftPac4P7QBqn/7aNImrT2B5W4u4ypCvt7L0oSXbo rHusVQ9Qs1sd5AVX0NvY6iJwGnErTB+p2icmzvU48HyYH7ie6w1NmM1dKJW5Eeed 5Zue/tuj2BCnL6dkbfgIbeouhcpo0MIyezuXlU7117lohvqxiNCaQmP1T2VcYJUn hk6VctKpdqsBzjhxEW4S9O939cb8MZsLRahFhpk7anMBv+D26BbWvglk4mEToMD9 BZ2oUuYhJeEULmYRTMR2tDK/B3QZADk3leuRkialj1Mrzewc2gOwCM37ek9Q0e5S xkc2KXjebccOOLEtTjPDhPYsq2RJx5SUQ/6t9YAnEdQ0gJG0RDiCqfA5ohyUH6PD c9lGCyJOmlIWZpMJXnTD+kEEivG2y9SqmBIWVhekTT45f8lPZm2hNp21VjChaWev MNsDZ4I2H8jiQxTGT8W7E9K1rNy/W4I8m9IMAhg38JjLLU71RfES+gEKpSUpii8J l/w/9Tx2E19NQLs0sFyoK9JUQM7M6/hCItvd9HrFEO2w6iZ7coq3FK/CY5Oz9PDO 9i+VlLaJW+9zSAnrbeqe =HjEu -----END PGP SIGNATURE----- --jinVPajh47O4ihTeOFeUtv1gKkFE230ib--