include $(TOPDIR)/rules.mk
PKG_NAME:=clamav
-PKG_VERSION:=0.104.0
+PKG_VERSION:=0.104.2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/
-PKG_HASH:=a079d64cd55d6184510adfe0f341b2f278f7fb1bcc080d28d374298160f19cb2
+PKG_HASH:=3e45e46d9aaeb3a6956ed30376237ab7c4cd9573bc0f5d6fc15c588d30978d9d
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr> \
Lucian Cristian <lucian.cristian@gmail.com>
--- /dev/null
+From 0f03ec698e67ea3c0f21ba021c922146d5ad07b2 Mon Sep 17 00:00:00 2001
+From: Carlos Velasco <carlos.velasco@nimastelecom.com>
+Date: Thu, 4 Nov 2021 09:11:06 +0100
+Subject: [PATCH] CMake: Fix FindCurses.cmake try packate ncursesw if ncurses
+ not found
+
+Change to pkg_search_module, first try to find ncurses pkg, if not found, then try with ncursesw pkg
+---
+ cmake/FindCURSES.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/cmake/FindCURSES.cmake
++++ b/cmake/FindCURSES.cmake
+@@ -43,7 +43,7 @@ The following cache variables may also b
+
+ find_package(PkgConfig QUIET)
+ # First try for NCurses
+-pkg_check_modules(PC_NCurses QUIET ncurses)
++pkg_search_module (PC_NCurses QUIET ncurses ncursesw)
+
+ find_path(NCURSES_INCLUDE_DIR
+ NAMES ncurses.h