RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-5.1.6 and the zlib dependency

From: Jeff Johnson <n3npq@mac.com>
Date: Sat 18 Oct 2008 - 23:05:26 CEST
Message-id: <51D8385B-0802-4286-90F6-97ACB349588D@mac.com>

On Oct 18, 2008, at 3:50 PM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> the RPM 5.1.6 "INSTALL" file says that the RPM sources come with a  
> modified
> zlib, and that it is recommended to use that internal distribution  
> of zlib.
> However, there's no zlib to be found, and the ./configure script  
> complains
> and breaks when --with-zlib=internal is passed.
>

Doco is wrong, todo++.

Internal zlib is no longer needed, same functionality (i.e. -- 
rsyncable payloads in *.rpm packages) is now achieved with clever  
deterministic flushing rather than brute force padding.

The padding added ~1% to package payloads, the flushing (iirc) adds  
~0.09%.

The actual numbers are on <rpm-devel@rpm5.org>

> AFAIR, zlib was still bundled with version 5.1.4. The ChangeLog  
> states that
> it was removed in 5.1.5, so I guess the INSTALL file is now somewhat  
> out of
> date?
>

Yep, mea culpa.

73 de Jeff
> 		-- Eric
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEUEARECAAYFAkj6Ph0ACgkQfkUtd7QNU/u8AQCUCe16PgWFlFvjAUYEhXpAAt+W
> pQCfcxdfO8PoAgt8kxeLyE6K/r7F3BY=
> =Tlrm
> -----END PGP SIGNATURE-----
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Sat Oct 18 23:05:30 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.