From owner-freebsd-questions@FreeBSD.ORG Thu Sep 8 14:56:33 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 E7B4816A41F for ; Thu, 8 Sep 2005 14:56:33 +0000 (GMT) (envelope-from chantal@antenna.nl) Received: from site4u.nl (fanth.site4u.nl [194.9.84.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0933243D45 for ; Thu, 8 Sep 2005 14:56:32 +0000 (GMT) (envelope-from chantal@antenna.nl) Received: from [192.168.4.11] [62.221.235.161] by site4u.nl with ESMTP (SMTPD32-8.15) id AC033E300A0; Thu, 08 Sep 2005 16:34:43 +0200 Message-ID: <43204E22.1010807@antenna.nl> Date: Thu, 08 Sep 2005 16:43:46 +0200 From: Chantal Rosmuller User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yuan Jue References: <4320494D.6030503@antenna.nl> <200509082234.50571.yuanjue122@gmail.com> In-Reply-To: <200509082234.50571.yuanjue122@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 14:56:34 -0000 Yuan Jue wrote: >On Thursday 08 September 2005 22:23, Chantal Rosmuller wrote: > > > >>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? >> >> > >use pkg_info|grep zlib > > > >>- 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/ >> >> > >maybe you didn't install source code when you installed your FreeBSD. You >still can do it using sysinstall now. > >Good luck! > > Thank you Yuan You are right I didn't install the sourcecode, the instructions make a lot more sense now :) one other small question, pkg_info | grep zlib gave me the following output; jzlib-1.0.5_1 A re-implementation of zlib in pure Java php4-zlib-4.3.10_2 The zlib shared extension for php so no zlib? Why is that ? because I didn't install it with pkg_add?