package clamav-0.105.1_4,1 fails to update signatures

Pierre-Alain TORET pierre-alain.toret at protonmail.com
Fri Jan 13 00:13:11 PST 2023


------- Original Message -------
Le jeudi 12 janvier 2023 à 23:52, Stephen Welker <stephen.welker at nemostar.com.au> a écrit :


> 
> 
> On 13/1/2023 2:24 am, Pierre-Alain TORET wrote:
> 
> > How did you install clamav on your machine ?
> 
> 
> Standard package install.
> 
> I use the freshclam.conf configuration option 'LocalIPAddress', because
> the server I run has 6 ethernet interfaces (17 IPv4 & 17 IPv6 addresses).
> 

After rebuilding ftp/curl with the CARES option, then security/clamav, and reinstalling them, I'm able to download the signature using a LocalIPAddress.

% doas -u clamav freshclam --local-address=192.168.122.12
ClamAV update process started at Fri Jan 13 09:04:51 2023
daily database available for download (remote version: 26779)
Time:    3.4s, ETA:    0.0s [========================>]   57.70MiB/57.70MiB
Testing database: '/var/db/clamav/tmp.f84083233b/clamav-5fb7a16e8711126a08b25d3f38425773.tmp-daily.cvd' ...
Database test passed.
daily.cvd updated (version: 26779, sigs: 2015974, f-level: 90, builder: raynman)
main database available for download (remote version: 62)
Time:    7.3s, ETA:    0.0s [========================>]  162.58MiB/162.58MiB
Testing database: '/var/db/clamav/tmp.f84083233b/clamav-b36719ea1dd37e0346b78ecc8ddfcd02.tmp-main.cvd' ...
Database test passed.
main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode database available for download (remote version: 333)
Time:    0.2s, ETA:    0.0s [========================>]  286.79KiB/286.79KiB
Testing database: '/var/db/clamav/tmp.f84083233b/clamav-99db855e87ce3b3c7e2ee3de0e179250.tmp-bytecode.cvd' ...
Database test passed.
bytecode.cvd updated (version: 333, sigs: 92, f-level: 63, builder: awillia2)

A patch like is required in order for ftp/curl to build properly (for the current dports state) :

/usr/dports/ftp/curl % git diff Makefile.DragonFly
diff --git a/ftp/curl/Makefile.DragonFly b/ftp/curl/Makefile.DragonFly
index feb35a37cb4..2d8a46198af 100644
--- a/ftp/curl/Makefile.DragonFly
+++ b/ftp/curl/Makefile.DragonFly
@@ -1,2 +1,2 @@
 # until https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237621 is resolved
-OPTIONS_DEFAULT:=      ${OPTIONS_DEFAULT:NGSSAPI_MIT} GSSAPI_NONE
+OPTIONS_DEFAULT:=      ${OPTIONS_DEFAULT:NTHREADED_RESOLVER} GSSAPI_NONE CARES



More information about the Users mailing list