Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-02 Thread Gary R. Schmidt

On 02/12/2019 16:30, Gary R. Schmidt wrote:

On 2019-12-02 15:24, Gary R. Schmidt wrote:



"wget https://database.clamav.net/daily.cvd; works, dammit!



I am an idiot:
$ curl https://database.clamav.net/daily.cvd
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Okay, I'll go fix it...


I'm now sure this is a curl/openssl problem, nothing to do with clamav.

Sorry for the noise on the channel (but if someone can tell me how to 
make openssl 1.1.1 pick up the root certificates... :-) ).


Cheers,
GaryB-)

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-01 Thread Gary R. Schmidt

On 2019-12-02 15:24, Gary R. Schmidt wrote:



"wget https://database.clamav.net/daily.cvd; works, dammit!



I am an idiot:
$ curl https://database.clamav.net/daily.cvd
curl: (60) SSL certificate problem: unable to get local issuer 
certificate

More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could 
not
establish a secure connection to it. To learn more about this situation 
and

how to fix it, please visit the web page mentioned above.

Okay, I'll go fix it...

Cheers,
GaryB-)

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-01 Thread Gary R. Schmidt

Combined answer to  "J.R." and "Andrew Watkins":

That pointed me at a few things, first, I updated some tools.

I am now using OpenSSL 1.1.1d, bzip2 1.0.8, curl 7.67.0, and GCC 9.1.0.

Configured thusly:

env CONFIG_SHELL=/bin/bash \
/bin/bash ./configure \
CONFIG_SHELL=/bin/bash \
LDFLAGS=-R/opt/local/lib \
--enable-unrar \
--disable-ipv6 \
--disable-silent-rules \
--disable-check \
--with-openssl=/opt/local \
--with-libbz2-prefix=/opt/local \
--with-libcurl=/opt/local \
--prefix=/opt/local

Now, I get the following:
=
Mon Dec  2 14:58:54 2019 -> ClamAV update process started at Mon Dec  2 
14:58:54 2019
Mon Dec  2 14:58:54 2019 -> *Current working dir is 
/home/grs/src/clamav-0.102.1/NEW/

Mon Dec  2 14:58:54 2019 -> *Querying current.cvd.clamav.net
Mon Dec  2 14:58:54 2019 -> *TTL: 993
Mon Dec  2 14:58:54 2019 -> *fc_dns_query_update_info: Software version 
from DNS: 0.102.1
Mon Dec  2 14:58:54 2019 -> *Current working dir is 
/home/grs/src/clamav-0.102.1/NEW/
Mon Dec  2 14:58:54 2019 -> *check_for_new_database_version: No local 
copy of "daily" database.
Mon Dec  2 14:58:54 2019 -> *query_remote_database_version: daily.cvd 
version from DNS: 25650
Mon Dec  2 14:58:54 2019 -> daily database available for download 
(remote version: 25650)
Mon Dec  2 14:58:54 2019 -> *Retrieving 
https://database.clamav.net/daily.cvd
Mon Dec  2 14:58:54 2019 -> *downloadFile: Download source:  
https://database.clamav.net/daily.cvd
Mon Dec  2 14:58:54 2019 -> *downloadFile: Download destination: 
/home/grs/src/clamav-0.102.1/NEW/tmp/clamav-d7fb545c18f86fcdc39d1bdb45d124e1.tmp

*   Trying 104.16.219.84:443...
* TCP_NODELAY set
* Connected to database.clamav.net (104.16.219.84) port 443 (#0)
* ALPN, offering http/1.1
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
...
repeats a couple of times
...
=

Stepping through the code gets to "curl_easy_perform()," which then 
throws the error.


Google "SSL certificate problem: unable to get local issuer certificate" 
points me at not having new enough root certificate(s).


"wget https://database.clamav.net/daily.cvd; works, dammit!

Q'n'D "cd /opt/local/etc ; ln -s /etc/certs ." didn't fix it.

New root certificates needed?

Or may be cURL isn't finding them??

Might build a debug libcurl...  :->

Cheers,
GaryB-)

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-01 Thread Sunhux G via clamav-users
Btw, where's the link I could download a copy of the binary/package
for Solaris 10 x86   of  ClamAV  0.102.1

On 12/1/19, Andrew Watkins via clamav-users
 wrote:
> Gary,
>
> Worstluck I am using Solaris 11.4 on x64 (8G ram)  and not seeing any
> problems with 0.102.1. I am wonder if the older versions of curl, etc.
> For info: I am using:
> gcc 7.3.0
> export NM=/usr/gnu/bin/nm
> ./configure --enable-readdir_r -enable-milter
>
> Andrew
>
>
> On 30/11/2019 02:54, Gary R. Schmidt wrote:
>> Hi Clamav,
>>
>>
>> 0.102.1 builds on Solaris 11.3 x64, but freshclam fails.
>>
>>
>> Using GCC 9.1.0, not the real compiler.
>>
>>
>> As auto*** is borked for Solaris, first I have to:
>>
>> for i in `find . -name configure`
>> do
>>     sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
>>     mv /tmp/configure.$$ $i
>>     chmod a+x $i
>> done
>>
>> Then:
>>
>> env CONFIG_SHELL=/bin/bash \
>>     /bin/bash ./configure \
>>     CONFIG_SHELL=/bin/bash \
>>     LDFLAGS=-R/opt/local/lib \
>>     --enable-unrar \
>>     --disable-ipv6 \
>>     --disable-silent-rules \
>>     --disable-check \
>>     --prefix=/opt/local
>>
>> It builds and installs happily, and clamd seems fine, but freshclam
>> does not work.
>>
>>
>> I have reverted to 0.101.5 (configured in the same way) for the
>> meantime, it is fine.
>>
>>
>> Output from "sudo freshclam/.libs/freshclam -v --debug -F":
>>
>> ===
>>
>>
>>
>> Sat Nov 30 12:50:35 2019 -> ClamAV update process started at Sat Nov
>> 30 12:50:35 2019
>> Sat Nov 30 12:50:35 2019 -> *Current working dir is
>> /opt/local/share/clamav/
>> Sat Nov 30 12:50:35 2019 -> *Querying current.cvd.clamav.net
>> Sat Nov 30 12:50:35 2019 -> *TTL: 226
>> Sat Nov 30 12:50:35 2019 -> *fc_dns_query_update_info: Software
>> version from DNS: 0.102.1
>> Sat Nov 30 12:50:35 2019 -> *Current working dir is
>> /opt/local/share/clamav/
>> Sat Nov 30 12:50:35 2019 -> *check_for_new_database_version: Local
>> copy of daily found: daily.cld.
>> Sat Nov 30 12:50:35 2019 -> *query_remote_database_version: daily.cvd
>> version from DNS: 25648
>> Sat Nov 30 12:50:35 2019 -> daily database available for update (local
>> version: 25647, remote version: 25648)
>> LibClamAV debug: in cli_untgz()
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/COPYING
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.info
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cfg
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdu
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msu
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.fp
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldu
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.pdb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndu
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.sfp
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.wdb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ftm
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cdb
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign2
>> LibClamAV debug: cli_untgz: Unpacking
>> /opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.idb
>> LibClamAV debug: cli_untgz: 

Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-01 Thread Andrew Watkins via clamav-users

Gary,

Worstluck I am using Solaris 11.4 on x64 (8G ram)  and not seeing any 
problems with 0.102.1. I am wonder if the older versions of curl, etc.

For info: I am using:
gcc 7.3.0
export NM=/usr/gnu/bin/nm
./configure --enable-readdir_r -enable-milter

Andrew


On 30/11/2019 02:54, Gary R. Schmidt wrote:

Hi Clamav,


0.102.1 builds on Solaris 11.3 x64, but freshclam fails.


Using GCC 9.1.0, not the real compiler.


As auto*** is borked for Solaris, first I have to:

for i in `find . -name configure`
do
    sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
    mv /tmp/configure.$$ $i
    chmod a+x $i
done

Then:

env CONFIG_SHELL=/bin/bash \
    /bin/bash ./configure \
    CONFIG_SHELL=/bin/bash \
    LDFLAGS=-R/opt/local/lib \
    --enable-unrar \
    --disable-ipv6 \
    --disable-silent-rules \
    --disable-check \
    --prefix=/opt/local

It builds and installs happily, and clamd seems fine, but freshclam 
does not work.



I have reverted to 0.101.5 (configured in the same way) for the 
meantime, it is fine.



Output from "sudo freshclam/.libs/freshclam -v --debug -F":

=== 



Sat Nov 30 12:50:35 2019 -> ClamAV update process started at Sat Nov 
30 12:50:35 2019
Sat Nov 30 12:50:35 2019 -> *Current working dir is 
/opt/local/share/clamav/

Sat Nov 30 12:50:35 2019 -> *Querying current.cvd.clamav.net
Sat Nov 30 12:50:35 2019 -> *TTL: 226
Sat Nov 30 12:50:35 2019 -> *fc_dns_query_update_info: Software 
version from DNS: 0.102.1
Sat Nov 30 12:50:35 2019 -> *Current working dir is 
/opt/local/share/clamav/
Sat Nov 30 12:50:35 2019 -> *check_for_new_database_version: Local 
copy of daily found: daily.cld.
Sat Nov 30 12:50:35 2019 -> *query_remote_database_version: daily.cvd 
version from DNS: 25648
Sat Nov 30 12:50:35 2019 -> daily database available for update (local 
version: 25647, remote version: 25648)

LibClamAV debug: in cli_untgz()
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/COPYING
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.info
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cfg
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.fp
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.pdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.sfp
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.wdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ftm
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign2
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.idb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsu
LibClamAV debug: cli_untgz: Unpacking 

Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-12-01 Thread J.R. via clamav-users
Gary,

I believe one of the new features of 0.102 was that freshclam would
connect via https (as your debug shows it's trying to do). I guess
there is no fallback to regular http.

What SSL package / version are you using? When compiling does configure find it?

Not sure if freshclam uses CURL at all, but that is also something
possibly worth looking into, making sure it is compiled with a recent
SSL package.

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-11-30 Thread Gary R. Schmidt

On 01/12/2019 00:19, Mark Fortescue via clamav-users wrote:

Hi Gary,

How much memory do you have available.

You probably need 8G or more of ram for the latest and greatest as my 
understanding is that may be storing two copies of the databases in ram 
to speed up database reloading delays.


Your SSL library is running out of memory after downloading the daily 
database and then can't connect for downloading all the daily updates.


If you have plenty of memory then the other alternative is that there is 
a buffer overrun during the daily decompression and that is messing up 
the malloc() tables.


Do you have 'valgrind'. That would help find any buffer overruns but it 
does take a bit of getting use to for first time users.


There are more primitive approaches for finding buffer overruns but you 
would need to be vary familiar with the SSL and freshclam source code 
for these.




Hi,

Thanks for that, but this is "freshclam" we are talking about, which 
does not keep two copies of the database(s) in memory, that's "clamd."


And the machine has 8Gb of RAM (and 10Gb of swap), unless there is a 
requirement to build 0.102.x as 64-bit[1] that I missed this shouldn't 
matter.


Cheers,
GaryB-)

1 - If this is necessary, then configure needs to be fixed.

___

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 0.102.1 and Solaris 11.3...

2019-11-30 Thread Mark Fortescue via clamav-users

Hi Gary,

How much memory do you have available.

You probably need 8G or more of ram for the latest and greatest as my 
understanding is that may be storing two copies of the databases in ram 
to speed up database reloading delays.


Your SSL library is running out of memory after downloading the daily 
database and then can't connect for downloading all the daily updates.


If you have plenty of memory then the other alternative is that there is 
a buffer overrun during the daily decompression and that is messing up 
the malloc() tables.


Do you have 'valgrind'. That would help find any buffer overruns but it 
does take a bit of getting use to for first time users.


There are more primitive approaches for finding buffer overruns but you 
would need to be vary familiar with the SSL and freshclam source code 
for these.


Regards
Mark.

On 30/11/19 02:54, Gary R. Schmidt wrote:

Hi Clamav,


0.102.1 builds on Solaris 11.3 x64, but freshclam fails.


Using GCC 9.1.0, not the real compiler.


As auto*** is borked for Solaris, first I have to:

for i in `find . -name configure`
do
 sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
 mv /tmp/configure.$$ $i
 chmod a+x $i
done

Then:

env CONFIG_SHELL=/bin/bash \
 /bin/bash ./configure \
 CONFIG_SHELL=/bin/bash \
 LDFLAGS=-R/opt/local/lib \
 --enable-unrar \
 --disable-ipv6 \
 --disable-silent-rules \
 --disable-check \
 --prefix=/opt/local

It builds and installs happily, and clamd seems fine, but freshclam does
not work.


I have reverted to 0.101.5 (configured in the same way) for the
meantime, it is fine.


Output from "sudo freshclam/.libs/freshclam -v --debug -F":

===

Sat Nov 30 12:50:35 2019 -> ClamAV update process started at Sat Nov 30
12:50:35 2019
Sat Nov 30 12:50:35 2019 -> *Current working dir is
/opt/local/share/clamav/
Sat Nov 30 12:50:35 2019 -> *Querying current.cvd.clamav.net
Sat Nov 30 12:50:35 2019 -> *TTL: 226
Sat Nov 30 12:50:35 2019 -> *fc_dns_query_update_info: Software version
from DNS: 0.102.1
Sat Nov 30 12:50:35 2019 -> *Current working dir is
/opt/local/share/clamav/
Sat Nov 30 12:50:35 2019 -> *check_for_new_database_version: Local copy
of daily found: daily.cld.
Sat Nov 30 12:50:35 2019 -> *query_remote_database_version: daily.cvd
version from DNS: 25648
Sat Nov 30 12:50:35 2019 -> daily database available for update (local
version: 25647, remote version: 25648)
LibClamAV debug: in cli_untgz()
LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/COPYING

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.info

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cfg

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdu

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msu

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.fp

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldu

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.pdb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndu

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.sfp

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.wdb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ftm

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cdb

LibClamAV debug: cli_untgz: Unpacking
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign2


[clamav-users] 0.102.1 and Solaris 11.3...

2019-11-29 Thread Gary R. Schmidt

Hi Clamav,


0.102.1 builds on Solaris 11.3 x64, but freshclam fails.


Using GCC 9.1.0, not the real compiler.


As auto*** is borked for Solaris, first I have to:

for i in `find . -name configure`
do
    sed 's/BDRT/BCDRT/' $i > /tmp/configure.$$
    mv /tmp/configure.$$ $i
    chmod a+x $i
done

Then:

env CONFIG_SHELL=/bin/bash \
    /bin/bash ./configure \
    CONFIG_SHELL=/bin/bash \
    LDFLAGS=-R/opt/local/lib \
    --enable-unrar \
    --disable-ipv6 \
    --disable-silent-rules \
    --disable-check \
    --prefix=/opt/local

It builds and installs happily, and clamd seems fine, but freshclam does 
not work.



I have reverted to 0.101.5 (configured in the same way) for the 
meantime, it is fine.



Output from "sudo freshclam/.libs/freshclam -v --debug -F":

===

Sat Nov 30 12:50:35 2019 -> ClamAV update process started at Sat Nov 30 
12:50:35 2019

Sat Nov 30 12:50:35 2019 -> *Current working dir is /opt/local/share/clamav/
Sat Nov 30 12:50:35 2019 -> *Querying current.cvd.clamav.net
Sat Nov 30 12:50:35 2019 -> *TTL: 226
Sat Nov 30 12:50:35 2019 -> *fc_dns_query_update_info: Software version 
from DNS: 0.102.1

Sat Nov 30 12:50:35 2019 -> *Current working dir is /opt/local/share/clamav/
Sat Nov 30 12:50:35 2019 -> *check_for_new_database_version: Local copy 
of daily found: daily.cld.
Sat Nov 30 12:50:35 2019 -> *query_remote_database_version: daily.cvd 
version from DNS: 25648
Sat Nov 30 12:50:35 2019 -> daily database available for update (local 
version: 25647, remote version: 25648)

LibClamAV debug: in cli_untgz()
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/COPYING
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.info
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cfg
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.fp
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.pdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.mdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ndu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.sfp
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.msb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ldb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.wdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ftm
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.cdb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign2
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.idb
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.ign
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hdu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.hsu
LibClamAV debug: cli_untgz: Unpacking 
/opt/local/share/clamav/tmp/clamav-cff6c377dfbc4be92a79e2544bfff134.tmp/daily.crb

LibClamAV debug: in cli_untgz_cleanup()
Sat Nov 30 12:50:36 2019 -> *Retrieving 
https://database.clamav.net/daily-25648.cdiff
Sat Nov 30 12:50:36 2019 -> *downloadFile: Download source:  
https://database.clamav.net/daily-25648.cdiff
Sat Nov 30 12:50:36 2019 -> *downloadFile: Download