Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2005 10:22:09 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Chantal Rosmuller <chantal@antenna.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question about zlib security patch
Message-ID:  <20050908152208.GB38838@dan.emsphone.com>
In-Reply-To: <4320494D.6030503@antenna.nl>
References:  <4320494D.6030503@antenna.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 08), Chantal Rosmuller said:
> I was installing clamav 0.83 on a freebsd 5.4 system and I got the
> following error: clamav configure: error: The installed zlib version
> may contain a security bug
> 
> I want to upgrade zlib to solve this but:
> - I don't know how I can see what version of zlib I have at the moment?
> - I found the following advice on the freebsd site:
> 
> ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc
> 
> according to this I have to do the following:
> 
> # cd /usr/src
> # patch < /path/to/patch
> # cd /usr/src/lib/libz/
> # make obj && make depend && make && make install
> 
> but I have no /usr/src/lib/libz/

You will need to fetch the FreeBSD source tree first:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#STABLE

If you still have your installation CDs, you should be able to run
sysinstall and just reinstall the src distribution ( Configure ->
Distributions -> select 'src', select 'All' ).  

Then you can apply the patch.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050908152208.GB38838>