clamav port for 0.94 version , pls help

Snopy Land snopyland at gmail.com
Fri Sep 19 04:56:59 UTC 2008


Hi David,

Thanks for your prompt reply.

I have checked the files of "clamav-clamd" and "clamav-freshclam" under
/usr/local/etc/rc.d.

-r-xr-xr-x  1 root  wheel   722 Sep 19 11:07 clamav-freshclam
-r-xr-xr-x  1 root  wheel   974 Sep 19 11:07 clamav-clamd

The file date has been updated by today's upgrade process. However, the
command is still using clamd and freshclam

i.e. command=/usr/local/sbin/clamd    <---clamav-clamd file
command=/usr/local/bin/freshclam    <--clamav-freshclam file

So I worry that there may be some hidden problems if I run the
"amd64-portbid-freebsd6.2-clamd" instead of "clamd"

I will report this case to the admin of freebsd.org. Have you tried to send
mail to them before? I find that
garga at FreeBSD.org<garga at FreeBSD.org?cc=ports at FreeBSD.org&subject=FreeBSD%20Port:%20clamav-0.94_1>
maintains
the port of clamav from the port search of freebsd.org.

Any other suggestions ?

Thanks.




On Fri, Sep 19, 2008 at 12:29 PM, David Booth <davidb at boothscientific.com>wrote:

>  On Thursday 18 September 2008, Snopy Land wrote:
> > Hi,
> >
> > Thanks for your both reply.
> >
> > I get clamav-0.94_1 when run "ls /var/db/pkg | grep clam"
> >
> > Today, I have changed the default host to cvsup3.tw.FreeBSD.org<http://cvsup3.tw.freebsd.org/>and
> > redo the upgrade of clamav. I find the following message when I run
> > "make install clean"
> >
> >
> > Making install in clamscan
> > test -z "/usr/local/bin" || ../config/install-sh -c -d
> > "/usr/local/bin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'clamscan' '/usr/local/bin/amd64-portbld-freebsd6.2-clamscan'
> > install -o root -g wheel -m 555 -s .libs/clamscan
> > /usr/local/bin/amd64-portbld-f
> > reebsd6.2-clamscan
> > Making install in clamd
> > test -z "/usr/local/sbin" || ../config/install-sh -c -d
> > "/usr/local/sbin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'clamd' '/usr/local/sbin/amd64-portbld-freebsd6.2-clamd'
> > install -o root -g wheel -m 555 -s .libs/clamd
> > /usr/local/sbin/amd64-portbld-fre
> > ebsd6.2-clamd
> > Making install in clamdscan
> > test -z "/usr/local/bin" || ../config/install-sh -c -d
> > "/usr/local/bin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'clamdscan'
> > '/usr/local/bin/amd64-portbld-freebsd6.2-clamdscan' install -o root
> > -g wheel -m 555 -s clamdscan
> > /usr/local/bin/amd64-portbld-freebs
> > d6.2-clamdscan
> > Making install in freshclam
> > test -z "/usr/local/bin" || ../config/install-sh -c -d
> > "/usr/local/bin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'freshclam'
> > '/usr/local/bin/amd64-portbld-freebsd6.2-freshclam' install -o root
> > -g wheel -m 555 -s .libs/freshclam
> > /usr/local/bin/amd64-portbld-
> > freebsd6.2-freshclam
> > Making install in sigtool
> > test -z "/usr/local/bin" || ../config/install-sh -c -d
> > "/usr/local/bin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'sigtool' '/usr/local/bin/amd64-portbld-freebsd6.2-sigtool'
> > install -o root -g wheel -m 555 -s .libs/sigtool
> > /usr/local/bin/amd64-portbld-fr
> > eebsd6.2-sigtool
> > Making install in clamconf
> > test -z "/usr/local/bin" || ../config/install-sh -c -d
> > "/usr/local/bin" /bin/sh /usr/local/bin/libtool   --mode=install
> > install  -s -o root -g wheel -
> > m 555 'clamconf' '/usr/local/bin/amd64-portbld-freebsd6.2-clamconf'
> > install -o root -g wheel -m 555 -s .libs/clamconf
> > /usr/local/bin/amd64-portbld-f
> > reebsd6.2-clamconf
> >
> > And I find that there are some files under /usr/local/bin/ and
> > /usr/local/sbin
> >
> > 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-freshcl
> > am
> > -r-xr-xr-x  1 root  wheel    51968 Sep 19 11:07
> > amd64-portbld-freebsd6.2-clamsca
> > n
> > -r-xr-xr-x  1 root  wheel    52592 Sep 19 11:07
> > amd64-portbld-freebsd6.2-clamdsc
> > an
> > -r-xr-xr-x  1 root  wheel    28272 Sep 19 11:07
> > amd64-portbld-freebsd6.2-clamcon
> > f
> > -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
> >
> > So I am not sure whether the file name has been changed.
> > It seems that this version of clamav can only provide the above
> > files. I have double checked that there is no clamd, clamscan &
> > freshclam in /usr/local/bin and /usr/local/sbin.
> >
> > How can I know the ans. of these question ?
> >
> > Any comment are appreciated.
> >
> I do not have an amd64 system, so I cannot tell from my system if the
> names are changed, but looking at the port install log, it looks as
> if they are.
> There are a couple of things to check.
>
> (1) is there a file in /usr/local/etc/rc.d/ called clamav-clamd ?
>
> (2) If so, or you can identify what the equivalent file is on your
> system, what is on the 'command' line in the file.  Mine says
>
> command=/usr/local/sbin/clamd
>
>
> Does yours say
>
> command=/usr/local/sbin/amd64-portbld-freebsd6.2-clamd
>
> ?
>
> If so, then I would venture that that is the equivalent executable.
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list