From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 15:22:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 540FF16A41F for ; Thu, 8 Sep 2005 15:22:13 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0092243D45 for ; Thu, 8 Sep 2005 15:22:12 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j88FM9gp054365; Thu, 8 Sep 2005 10:22:09 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Sep 2005 10:22:09 -0500 From: Dan Nelson To: Chantal Rosmuller Message-ID: <20050908152208.GB38838@dan.emsphone.com> References: <4320494D.6030503@antenna.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4320494D.6030503@antenna.nl> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.10i Cc: freebsd-questions@freebsd.org Subject: Re: question about zlib security patch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 15:22:13 -0000 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