Date: Thu, 18 Sep 2008 23:29:24 -0500 From: David Booth <davidb@boothscientific.com> To: freebsd-ports@freebsd.org Subject: Re: clamav port for 0.94 version , pls help Message-ID: <200809182329.25028.davidb@boothscientific.com> In-Reply-To: <d67eb5d90809182115g41fbc1fci67ccd6cd7af916a4@mail.gmail.com> References: <d67eb5d90809172141m4a0edb8fx925fda7514b4d0df@mail.gmail.com> <a50d5a500809181717s103d3ae3x8b9c66a649f60c9d@mail.gmail.com> <d67eb5d90809182115g41fbc1fci67ccd6cd7af916a4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809182329.25028.davidb>