From owner-freebsd-ports@FreeBSD.ORG Fri Sep 19 08:37:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A636B1065673 for ; Fri, 19 Sep 2008 08:37:06 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 2EBD38FC12 for ; Fri, 19 Sep 2008 08:37:06 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 4BEB0198EA4; Fri, 19 Sep 2008 10:37:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 3EB93198E9E; Fri, 19 Sep 2008 10:37:05 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 1F267198E9C; Fri, 19 Sep 2008 10:37:05 +0200 (CEST) Received: from wep4035.physik.uni-wuerzburg.de ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008091910370421-32513 ; Fri, 19 Sep 2008 10:37:04 +0200 Received: by wep4035.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Fri, 19 Sep 2008 10:37:04 +0200 From: "Alexey Shuvaev" Date: Fri, 19 Sep 2008 10:37:04 +0200 To: Snopy Land Message-ID: <20080919083704.GC44330@wep4035.physik.uni-wuerzburg.de> References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 09/19/2008 10:37:04 AM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 09/19/2008 10:37:05 AM, Serialize complete at 09/19/2008 10:37:05 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: clamav-0.94_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 08:37:06 -0000 On Fri, Sep 19, 2008 at 12:40:35PM +0800, Snopy Land wrote: > Hi, > > My server version is freebsd6.2 amd64. I have installed clamav to scan my ^^^ According to http://www.freebsd.org/security/ it is not supported any more. Consider upgrading your base system (as opposed to ports) as well. > incoming mail. Everything works smoothly for several years. > Recently, I need to upgrade clamav version from 0.92 to 0.94 (latest > version). > The procedure used (from the original mail): > 1. run "make deinstall" to deinstall the clamav version of 0.92 > 2. Modify /usr/ports-supfile (to make sure security port can be download > from a correct default host) > *default host=ftp.tw.freebsd.org > ports-security <--- remark ports-all, and enable the ports-security only ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That is not a good idea, I think. > 3. cd /usr ; run "cvsup -g -L 2 ports-supfile > 4. check /usr/port/security/clamav port is updated > 5. cd /usr/port/security/clamav > 6. run "make install clean" > There is no error message found in the whole process, however, I cannot find > the file of "clamd", "clamscan" & "freshclam". > The previous version of these file can be found in /usr/local/sbin and > /usr/local/bin > > After redo the upgrade process, I find there are some files under > /usr/local/bin and /usr/local/sbin but the file name is differenet. > > ls -ltr /usr/local/bin > -r-xr-xr-x 1 root wheel 80624 Sep 19 11:07 > amd64-portbld-freebsd6.2-sigtool > -r-xr-xr-x 1 root wheel 87944 Sep 19 11:07 > amd64-portbld-freebsd6.2-freshclam > -r-xr-xr-x 1 root wheel 51968 Sep 19 11:07 > amd64-portbld-freebsd6.2-clamscan > -r-xr-xr-x 1 root wheel 52592 Sep 19 11:07 > amd64-portbld-freebsd6.2-clamdscan > -r-xr-xr-x 1 root wheel 28272 Sep 19 11:07 > amd64-portbld-freebsd6.2-clamconf > -r-xr-xr-x 1 root wheel 1103 Sep 19 11:07 > amd64-portbld-freebsd6.2-clamav-config > > ls -ltr /usr/local/sbin > -r-xr-xr-x 1 root wheel 67536 Sep 19 11:07 > amd64-portbld-freebsd6.2-clamd > Are these files are the same as the file of "clamd", "freshclam" and > "clamscan". If yes, can I create symbolic link for these file so that I can > keep my old setting? (i.e run "/usr/local/sbin/clamd -c > /usr/local/etc/clamd.conf", and run "/usr/local/bin/freshclam --quiet" in > the cronjob). How many configuration files location should I change ? > Yes, these files are the same. You have run into this problem because you have not updated the whole tree, namely ports/Mk* directory. There was a change which is responsible for fixing these ugly names. FWIW, from the /usr/share/examples/cvsup/ports-supfile: # These are the individual collections that make up "ports-all". If you # use these, be sure to comment out "ports-all" above. # # Be sure to ALWAYS cvsup the ports-base collection if you use any of the # other individual collections below. ports-base is a mandatory collection # for the ports collection, and your ports may not build correctly if it # is not kept up to date. #ports-base Good luck! Alexey.