Re: FreeBSD Port: clamav-0.94_1

2008-09-19 Thread Alexey Shuvaev
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  wheel80624 Sep 19 11:07
 amd64-portbld-freebsd6.2-sigtool
 -r-xr-xr-x  1 root  wheel87944 Sep 19 11:07
 amd64-portbld-freebsd6.2-freshclam
 -r-xr-xr-x  1 root  wheel51968 Sep 19 11:07
 amd64-portbld-freebsd6.2-clamscan
 -r-xr-xr-x  1 root  wheel52592 Sep 19 11:07
 amd64-portbld-freebsd6.2-clamdscan
 -r-xr-xr-x  1 root  wheel28272 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  wheel67536 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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port: clamav-0.94_1

2008-09-19 Thread Renato Botelho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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
 incoming mail. Everything works smoothly for several years.
 Recently, I need to upgrade clamav version from 0.92 to 0.94 (latest
 version).
 
 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
 
 I have posted my problem in the mailling list of freebsd-ports, however, I
 cannot get any hints.
 
 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  wheel80624 Sep 19 11:07
 amd64-portbld-freebsd6.2-sigtool
 -r-xr-xr-x  1 root  wheel87944 Sep 19 11:07
 amd64-portbld-freebsd6.2-freshclam
 -r-xr-xr-x  1 root  wheel51968 Sep 19 11:07
 amd64-portbld-freebsd6.2-clamscan
 -r-xr-xr-x  1 root  wheel52592 Sep 19 11:07
 amd64-portbld-freebsd6.2-clamdscan
 -r-xr-xr-x  1 root  wheel28272 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  wheel67536 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 ?
 
 Thanks.

This same problem happened with another user, and the cause was his ports
tree and autotools ports are not up-to-date. Please, update your ports tree,
update all autotools ports (automake, autoconf, libtool) and rebuild clamav.

Thanks
- -- 
Renato Botelho garga @ FreeBSD.org
   garga @ freebsdbrasil.com.br
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc

The one good thing about repeating your
mistakes is that you know when to cringe.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjTjnEACgkQ6CRbiSJE7amXzwCePlC+uU715DPcmIlIxYfW5nJM
XloAoLGXwcWWYPniW2VIXlv5fQU9JJns
=VOj/
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Port: clamav-0.94_1

2008-09-18 Thread Snopy Land
Hi,

My server version is freebsd6.2 amd64. I have installed clamav to scan my
incoming mail. Everything works smoothly for several years.
Recently, I need to upgrade clamav version from 0.92 to 0.94 (latest
version).

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

I have posted my problem in the mailling list of freebsd-ports, however, I
cannot get any hints.

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  wheel80624 Sep 19 11:07
amd64-portbld-freebsd6.2-sigtool
-r-xr-xr-x  1 root  wheel87944 Sep 19 11:07
amd64-portbld-freebsd6.2-freshclam
-r-xr-xr-x  1 root  wheel51968 Sep 19 11:07
amd64-portbld-freebsd6.2-clamscan
-r-xr-xr-x  1 root  wheel52592 Sep 19 11:07
amd64-portbld-freebsd6.2-clamdscan
-r-xr-xr-x  1 root  wheel28272 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  wheel67536 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 ?

Thanks.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]