git: aaa3390aa3d3 - main - UPDATING: Document possible build error of seculity/clamav and how to work around it

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 04:14:00 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aaa3390aa3d3e0fae4b4f994857b92e6ae40ba2b

commit aaa3390aa3d3e0fae4b4f994857b92e6ae40ba2b
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2025-10-19 03:52:15 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2025-10-19 04:13:51 +0000

    UPDATING: Document possible build error of seculity/clamav and how to work around it
    
    PR:             290150
    Reported by:    Piotr Zmudzinsk, Xavier Humbert, Sigi, Fabian Wenk
---
 UPDATING | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/UPDATING b/UPDATING
index 838e211bf242..3280cc68707c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,29 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20251019:
+  AFFECTS: users of security/clamav
+  AUTHOR: yasu@FreeBSD.org
+
+  After security/clamav is updated to 1.5.0, some users report that build
+  fails as below.
+
+    /usr/ports/security/clamav/work/clamav-1.5.1/libclamav/others.c:623:23: error: use of undeclared identifier 'CERTSDIR'
+      623 |         cvdcertsdir = CERTSDIR;
+          |                       ^
+    1 warning and 1 error generated.
+    ninja: build stopped: subcommand failed.
+    *** Error code 1
+
+  The error seems to happen with following conditions.
+
+  * Non-base SSL stack is used. That is, in /etc/make.conf there is such
+    setting as 'DEFAULT_VERSIONS+=ssl=openssl'.
+  * Previous version (1.4.3) of clamav package is already installed.
+
+  If you face it, you can work around it by uninstalling current clamav
+  package first.
+
 20251016:
   AFFECTS: users of devel/nexus2-oss
   AUTHOR: michaelo@FreeBSD.org