Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2022 18:19:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268069] security/clamav: 1.0.0 does no work with cld and cvd files
Message-ID:  <bug-268069-7788-JApZQRKovc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268069-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268069-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268069

--- Comment #27 from fsbruva@yahoo.com ---
(In reply to Yasuhiro Kimura from comment #24)
Yes, but not with a pure stock system - I involved openssl from ports.

I did the following:
1. Created clean 12.3-RELEASE jail
2. Obtained latest ports tree
3. Installed tomsfastmath as you did
4. Installed clamav with /etc/make.conf containing:
OPTIONS_UNSET=3D X11 DOCS CUPS NLS
DEFAULT_VERSIONS+=3D perl5=3D5.36 python=3D3.11
5. Started freshclam service
6. Started clamd service - *** SUCCESSFULLY STARTS ***

7. Shutdown clamd service
8. Modified /etc/make.conf to be:
OPTIONS_UNSET=3D X11 DOCS CUPS NLS
DEFAULT_VERSIONS+=3D perl5=3D5.36 python=3D3.11 ssl=3Dopenssl
9. Cleaned clamav (cd /usr/ports/security/clamav; make clean)
10. Re-installed clamav (cd /usr/ports/security/clamav; make reinstall), wh=
ich
also builds openssl, and then CMake uses libcrypto and libssl from
/usr/local/lib when building clamav (instead of /usr/lib).
11. Started clamd service - FAILS TO START:
LibClamAV debug: Loading databases from /var/db/clamav
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) =3D f1820e08c2faed3d8e60382bcd9914f0
LibClamAV debug: cli_versig: Decoded signature:
00000000000000000000000000000000

12. Remove openssl from ports (pkg delete openssl)
13. Remove ssl=3Dopenssl from DEFAULT_VERSIONS in /etc/make.conf
14. Cleaned clamav (cd /usr/ports/security/clamav; make clean)
15. Re-installed clamav (cd /usr/ports/security/clamav; make reinstall)
16. Started clamd service - *** SUCCESSFULLY STARTS ***

17. Installed openssl from pkg (pkg install openssl)
18. Cleaned clamav (cd /usr/ports/security/clamav; make clean)
19. Re-installed clamav (cd /usr/ports/security/clamav; make reinstall)
20. Started clamd service - FAILS TO START, same error.

21. Remove tomsfastmath (pkg delete tomsfastmath)
22. Cleaned clamav (cd /usr/ports/security/clamav; make clean)
23. Re-installed clamav (cd /usr/ports/security/clamav; make reinstall)
24. Started clamd service - *** SUCCESSFULLY STARTS ***

So it seems it's an interaction between security/openssl, math/tomsfastmath=
 and
security/clamav.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268069-7788-JApZQRKovc>