about zlib on FreeBSD

Vincent Hoffman vince at unsane.co.uk
Wed Dec 2 13:01:43 UTC 2009


Dag-Erling Smørgrav wrote:
> Jiandong Lu <lujiandong1001 at yahoo.com.cn> 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


More information about the freebsd-hackers mailing list