From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 2 12:50:00 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28B6D1065672 for ; Wed, 2 Dec 2009 12:50:00 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E16D98FC13 for ; Wed, 2 Dec 2009 12:49:59 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 2F2D66D41B; Wed, 2 Dec 2009 12:49:59 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 0B605844E8; Wed, 2 Dec 2009 13:49:59 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Jiandong Lu References: <169495.53734.qm@web15703.mail.cnb.yahoo.com> Date: Wed, 02 Dec 2009 13:49:58 +0100 In-Reply-To: <169495.53734.qm@web15703.mail.cnb.yahoo.com> (Jiandong Lu's message of "Wed, 2 Dec 2009 14:42:34 +0800 (CST)") Message-ID: <867ht5o809.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: about zlib on FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 12:50:00 -0000 Jiandong Lu writes: > zlib package of ms windows could handle .zip archives, it compiles > minizip into the zip library. Firstly, zlib is one thing and one thing only, namely the reference implementation of Jean-Loup Gailly's gzip (aka. deflate) compression algorithm. See zlib.net. Secondly, Microsoft don't maintain official packages of third-party software, so there is no such thing as "zlib package of ms windows". Various projects (Cygwin, MSYS, MinGW, GNUWin32) ship pre-compiled zlib binaries for Windows, but none of the four I mentioned include zip support in their version of zlib. > Should we merge minizip into libz ?=20 No. Why should we? If you want to create or unpack .zip files on FreeBSD, use tar(1). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no