git: c8e4b9ea29d3 - main - security/clamav: Update to 0.105.0

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Mon, 23 May 2022 10:56:44 UTC
The branch main has been updated by yasu:

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

commit c8e4b9ea29d391babf87f658aa37408fdf750648
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-05-23 10:55:28 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-05-23 10:55:29 +0000

    security/clamav: Update to 0.105.0
    
    ReleaseNotes:   https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html
---
 security/clamav/Makefile  | 6 ++++--
 security/clamav/distinfo  | 7 ++++---
 security/clamav/pkg-plist | 1 +
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index fc401b6399bf..21cce7bd63d9 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	clamav
-DISTVERSION=	0.104.3
+DISTVERSION=	0.105.0
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.clamav.net/downloads/production/
@@ -10,6 +10,8 @@ COMMENT=	Open-source (GPL) anti-virus engine (Regular Feature Release)
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
+BUILD_DEPENDS=	${RUST_DEFAULT}>=1.56.0:lang/${RUST_DEFAULT} \
+		tomsfastmath>0:math/tomsfastmath
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libjson-c.so:devel/json-c \
 		libmspack.so:archivers/libmspack \
@@ -21,7 +23,7 @@ USE_LDCONFIG=	yes
 USE_RC_SUBR=	clamav-clamd clamav-freshclam
 
 CMAKE_ARGS=	-DDATABASE_DIRECTORY:STRING=${_DBDIR}
-CMAKE_ON=	ENABLE_EXTERNAL_MSPACK
+CMAKE_ON=	ENABLE_EXTERNAL_MSPACK ENABLE_EXTERNAL_TOMSFASTMATH
 
 TEST_TARGET=	check
 
diff --git a/security/clamav/distinfo b/security/clamav/distinfo
index e5d617685cb3..70c235aaa226 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -1,3 +1,4 @@
-TIMESTAMP = 1652127692
-SHA256 (clamav-0.104.3.tar.gz) = 281cfaebc2a21d32746d523c4d23a9630992ab61fc28f55d2f810f2967c10521
-SIZE (clamav-0.104.3.tar.gz) = 12017176
+TIMESTAMP = 1652109767
+SHA256 (clamav-0.105.0.tar.gz) = 270203a54c458049db54fcd93683ff5b2db19151f363c48e82cecefdde2b35d4
+SIZE (clamav-0.105.0.tar.gz) = 28765652
+
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist
index 699cea8a0418..bee6199730eb 100644
--- a/security/clamav/pkg-plist
+++ b/security/clamav/pkg-plist
@@ -58,6 +58,7 @@ share/man/man8/clamd.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/html/book.js
 %%PORTDOCS%%%%DOCSDIR%%/html/community_resources/CommunityResources.html
 %%PORTDOCS%%%%DOCSDIR%%/html/clipboard.min.js
+%%PORTDOCS%%%%DOCSDIR%%/html/community_resources/CommunityResources.html
 %%PORTDOCS%%%%DOCSDIR%%/html/css/chrome.css
 %%PORTDOCS%%%%DOCSDIR%%/html/css/general.css
 %%PORTDOCS%%%%DOCSDIR%%/html/css/print.css