[Bug 268069] security/clamav: 1.0.0 does no work with cld and cvd files

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 Dec 2022 01:18:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268069

--- Comment #29 from Yasuhiro Kimura <yasu@freebsd.org> ---
(In reply to fsbruva from comment #27)

Referencing your steps in comment #27 I succeeded to reproduce the problem with
following steps.

1. Make clean install of 12.3-RELEASE amd64.
2. Checkout latest ports tree.
3. Add 'DEFAULT_VERSIONS+=ssl=openssl' to /etc/make.conf
4. Install TomsFastMath with `cd /usr/ports/math/tomsfastmath; make install`.
5. Install ClamAV with `cd /usr/ports/security/clamav; make install`.
6. Add 'clamav_freshclam_enable="YES"' to /etc/rc.conf.
7. Start freshclam with `service clamav-freshclam start`.

So the problem happens when following 2 conditions are met.

a. security/openssl ports is used as SSL library.
b. math/tomsfastmath is installed before building ClamAV 1.0.0.

As for the latter it is very likely as it was build dependency of 0.105.1. But
the former surprises me a bit as only you mentioned it and I don't think a lot
of user do it. But does this mean other users who faced the problem also use
'DEFAULT_VERSIONS+=ssl=openssl'?

Anyway I'll chech your patch and commit it.

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