From 5e7e0c46d914c05e015033f8830d81064ebe2541 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 22 Oct 2021 19:10:57 +0200 Subject: [PATCH] - up to 0.5.5 --- c-icap-modules.spec | 4 ++-- clamav0.101.patch | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/c-icap-modules.spec b/c-icap-modules.spec index d42e69d..53bd37b 100644 --- a/c-icap-modules.spec +++ b/c-icap-modules.spec @@ -7,13 +7,13 @@ %endif Summary: Modules for c-icap ICAP server Name: c-icap-modules -Version: 0.5.2 +Version: 0.5.5 Release: 1 License: BSD Group: Libraries Group: Networking/Daemons Source0: http://downloads.sourceforge.net/c-icap/c_icap_modules-%{version}.tar.gz -# Source0-md5: 465bb8551bb6039b67b3f785c6d88ee4 +# Source0-md5: ca6d5d124a4668d63affcaa5ab083e57 Patch0: %{name}-build.patch Patch1: clamav0.101.patch URL: http://c-icap.sourceforge.net/ diff --git a/clamav0.101.patch b/clamav0.101.patch index 7492e5e..117fb4c 100644 --- a/clamav0.101.patch +++ b/clamav0.101.patch @@ -1,14 +1,14 @@ --- c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c.orig 2018-09-11 16:25:29.000000000 +0200 +++ c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c 2018-12-13 23:00:00.909055631 +0100 @@ -123,7 +123,7 @@ - #ifndef HAVE_LIBCLAMAV_095 - struct cl_limits limits; - #endif + #ifdef HAVE_CL_SCAN_OPTIONS + struct cl_scan_options CLAMSCAN_OPTIONS; + #else -unsigned int CLAMSCAN_OPTIONS = CL_SCAN_STDOPT; +unsigned int CLAMSCAN_OPTIONS = CL_DB_STDOPT; + #endif struct virus_db *virusdb = NULL; - struct virus_db *old_virusdb = NULL; @@ -489,7 +489,7 @@ CLAMSCAN_OPTIONS); #else -- 2.44.0