--- rpms/smeserver-clamav/sme10/smeserver-clamav.spec 2021/04/19 00:56:51 1.12 +++ rpms/smeserver-clamav/sme10/smeserver-clamav.spec 2022/05/04 13:19:21 1.19 @@ -1,10 +1,10 @@ -# $Id: smeserver-clamav.spec,v 1.11 2021/04/18 20:18:15 jpp Exp $ +# $Id: smeserver-clamav.spec,v 1.18 2022/03/14 07:03:28 jpp Exp $ Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} %define version 2.7.0 -%define release 8 +%define release 15 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -13,6 +13,10 @@ Source: %{name}-%{version}.tar.xz Patch0: smeserver-clamav-2.7.0-bz11103-improvements.patch Patch1: smeserver-clamav-2.7.0-bz11313-clamdtop.patch Patch2: smeserver-clamav-2.7.0-bz11520-clamd2scan.conf.patch +Patch3: smeserver-clamav-2.7.0-bz11755-identify-freshclam-error.patch +Patch4: smeserver-clamav-2.7.0-bz11695-properties.patch +Patch5: smeserver-clamav-2.7.0-bz11695-propertyfix.patch +Patch6: smeserver-clamav-2.7.0-bz11963-logrotate.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -35,6 +39,33 @@ BuildRequires: e-smith-devtools SME Server enhancement to configure and run clamd and freshclam %changelog +* Wed May 04 2022 Zsolt Vasarhelyi 2.7.0-15.sme +- logrotate clamd keeps logging to old log [SME: 11963] + +* Mon Mar 14 2022 Jean-Philippe Pialasse 2.7.0-14.sme +- remove default property ArchiveBlockEncrypted [SME: 11695] + +* Sat Jan 01 2022 Terry Fage 2.7.0-13.sme +- fix property name error 2.7.0-12.sme [SME: 11695] + +* Mon Dec 20 2021 Jean-Philippe Pialasse 2.7.0-12.sme +- fix spec file error 2.7.0-11.sme [SME: 11474] + +* Mon Dec 20 2021 Jean-Philippe Pialasse 2.7.0-11.sme +- rename property ArchiveBlockEncrypted to AlertEncrypted as per upstream [SME: 11695] + added properties AlertBrokenExecutables AlertExceedsMax AlertOLE2Macros + AlertPartitionIntersection AlertPhishingCloak and AlertPhishingSSLMismatch + with default no + added property HeuristicAlerts with default yes +- fix noise on centos2sme [SME: 11474] + +* Mon Nov 15 2021 Jean-Philippe Pialasse 2.7.0-10.sme +- identify from which server is freshclam error [SME: 11755] + fix from Graeme Fleming + +* Wed Jun 09 2021 Jean-Philippe Pialasse 2.7.0-9.sme +- fix typo in logrotate [SME: 11608] + * Sun Apr 18 2021 Jean-Philippe Pialasse 2.7.0-8.sme - fix typo and missing +x [SME: 11520] @@ -395,6 +426,10 @@ rm -rf root/etc/e-smith/templates/usr/li rm -rf root/usr/lib/systemd/system/freshclam.service.d %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 %build perl createlinks @@ -421,13 +456,11 @@ fi #echo "Changing freshclam log owners" if [[ -d /var/log/freshclam ]]; then chown -R clamupdate:clamupdate /var/log/freshclam; - chown -R clamupdate:clamupdate /var/log/freshclam/*; fi #echo "Changing clamd log owners" if [[ -d /var/log/clamd ]]; then chown -R clamscan:clamscan /var/log/clamd; - chown -R clamscan:clamscan /var/log/clamd/*; fi %install