From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 2 13:01:43 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 DDB971065670 for ; Wed, 2 Dec 2009 13:01:43 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from ostracod.unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 688448FC2F for ; Wed, 2 Dec 2009 13:01:43 +0000 (UTC) Received: from vhoffman.lon.namesco.net (53.78-246-213.ippool.namesco.net [213.246.78.53]) (authenticated bits=0) by ostracod.unsane.co.uk (8.14.3/8.14.3) with ESMTP id nB2D285D009412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Dec 2009 13:02:09 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4B166532.3040108@unsane.co.uk> Date: Wed, 02 Dec 2009 13:01:38 +0000 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <169495.53734.qm@web15703.mail.cnb.yahoo.com> <867ht5o809.fsf@ds4.des.no> In-Reply-To: <867ht5o809.fsf@ds4.des.no> X-Enigmail-Version: 0.96.0 X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Jiandong Lu , 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 13:01:43 -0000 Dag-Erling Smørgrav wrote: > 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 ? >> > > No. Why should we? > > If you want to create or unpack .zip files on FreeBSD, use tar(1). > > DES > To be fair, bsdtar(1) on my 8-STABLE box says it can read but not that it can create zipfiles. It it can create them that would be handy. Vince