Zlib version in FreeBSD - 3 releases behind?

Giorgos Keramidas keramida at FreeBSD.org
Tue Mar 5 16:12:11 UTC 2013


On 2013-03-04 07:28, KrisUniverse <kris.universe at gmail.com> wrote:
> The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R.
> 
> However, Zlib has gone to 1.2.7 sometime ago after stepping through
> 1.2.5, 1.2.6 and 1.2.7 with bug fixes.
> 
> Is there any reason for not using Zlib 1.2.7?

I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_
already be there...  Are you sure it's still an old version?

The zlib on /head is 1.2.7, merged from the vendor branch on 2012-06-21.

| % svn log --limit 1 svn://svn.freebsd.org/base/head/lib/libz
| ------------------------------------------------------------------------
| r237410 | delphij | 2012-06-21 23:47:08 +0200 (Πεμ, 21 Ιον 2012) | 8 lines
| 
| MFV: Update zlib to 1.2.7.
| 
| (x86 assembler optimization disabled for now because it
| requires the new .cfi_* directives that is not supported
| by base system binutils).
| 
| MFC after:      1 week

This was later merged to 9.1-STABLE after about a week of burn-in on /head:

| % svn log --limit 1 svn://svn.freebsd.org/base/stable/9/lib/libz
| ------------------------------------------------------------------------
| r237691 | delphij | 2012-06-28 09:08:48 +0200 (Πεμ, 28 Ιον 2012) | 2
| lines
| 
| MFC r237410: zlib 1.2.7.

Then the 9.1-RELEASE branch was copied from releng/9.1 on 2012-12-03, long
after the MFC of zlib 1.2.7 to the stable/9 branch.

| ------------------------------------------------------------------------
| r243808 | kensmith | 2012-12-03 06:03:33 +0100 (Δευ, 03 Δεκ 2012) | 4 lines
| 
| Copy releng/9.1 to release/9.1.0 as part of 9.1-RELEASE.
| 
| Approved by:    re (implicit)

I'm confused now.  By tracking down these commits in our svn repository I would
expect libz on 9.1-RELEASE to be version 1.2.7.



More information about the freebsd-questions mailing list