git: 36f9d031ea64 - main - security/clamav: Update to new bugfix release 0.104.1

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Wed, 03 Nov 2021 21:18:52 UTC
The branch main has been updated by yasu:

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

commit 36f9d031ea648d74b10f26c8d8e46a42e98feb51
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2021-11-03 18:29:46 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2021-11-03 21:18:10 +0000

    security/clamav: Update to new bugfix release 0.104.1
    
    Update COMMENT and pkg-descr
    
    ReleaseNotes:   https://blog.clamav.net/2021/11/clamav-01034-and-01041-patch-releases.html
---
 security/clamav/Makefile                           |  4 ++--
 security/clamav/distinfo                           |  6 +++---
 security/clamav/files/patch-cmake_FindCURSES.cmake | 15 +++++++++++++++
 security/clamav/pkg-descr                          | 13 +++++++------
 4 files changed, 27 insertions(+), 11 deletions(-)

diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 037c7ca58488..1ba7ad8b2daf 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	clamav
-DISTVERSION=	0.104.0
+DISTVERSION=	0.104.1
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.clamav.net/downloads/production/
 
 MAINTAINER=	yasu@FreeBSD.org
-COMMENT=	Command line virus scanner written entirely in C
+COMMENT=	Open-source (GPL) anti-virus engine (Regular Feature Release)
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
diff --git a/security/clamav/distinfo b/security/clamav/distinfo
index e578511dfc6c..60b1e206a767 100644
--- a/security/clamav/distinfo
+++ b/security/clamav/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631019092
-SHA256 (clamav-0.104.0.tar.gz) = a079d64cd55d6184510adfe0f341b2f278f7fb1bcc080d28d374298160f19cb2
-SIZE (clamav-0.104.0.tar.gz) = 11896747
+TIMESTAMP = 1635961222
+SHA256 (clamav-0.104.1.tar.gz) = b7e6b709ab6c8a8eddb8c32b04c3e5df38adcae459b4ecd9bc1febaca9be57c0
+SIZE (clamav-0.104.1.tar.gz) = 11953064
diff --git a/security/clamav/files/patch-cmake_FindCURSES.cmake b/security/clamav/files/patch-cmake_FindCURSES.cmake
new file mode 100644
index 000000000000..6ebeacc46f48
--- /dev/null
+++ b/security/clamav/files/patch-cmake_FindCURSES.cmake
@@ -0,0 +1,15 @@
+--- cmake/FindCURSES.cmake.orig	2021-11-02 19:09:25 UTC
++++ cmake/FindCURSES.cmake
+@@ -58,7 +58,11 @@ if(NCURSES_NOT_FOUND EQUAL -1)
+     set(HAVE_LIBNCURSES 1)
+     set(CURSES_INCLUDE "<ncurses.h>")
+ 
+-    set(CURSES_LIBRARY ${PC_NCurses_LINK_LIBRARIES})
++    find_library(CURSES_LIBRARY
++      NAMES ncurses
++      PATHS ${PC_NCurses_LIBRARY_DIRS}
++    )
++
+     set(CURSES_VERSION ${PC_NCurses_VERSION})
+ 
+     include(FindPackageHandleStandardArgs)
diff --git a/security/clamav/pkg-descr b/security/clamav/pkg-descr
index 5227cb3413dc..4f2f846671be 100644
--- a/security/clamav/pkg-descr
+++ b/security/clamav/pkg-descr
@@ -1,8 +1,9 @@
-This the stable version of Clam Antivirus.
-Clam Antivirus is command line virus scanner written entirely in C
-and its database is kept up to date. It also detects polymorphic
-viruses, scans compressed files and supported by AMaViS.
-Optionally you can use the clamav-milter interface to connect
-clamav with sendmail.
+ClamAV is an open-source (GPL) anti-virus engine used in a variety of
+situations, including email and web scanning, and endpoint
+security. It provides many utilities for users, including a flexible
+and scalable multi-threaded daemon, a command-line scanner and an
+advanced tool for automatic database updates.
+
+This is Regular (non-LTS) Feature Release of ClamAV.
 
 WWW: https://www.clamav.net/