--- rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2008/11/26 21:18:33 1.18 +++ rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2014/07/03 23:00:46 1.33 @@ -1,21 +1,32 @@ -# $Id: smeserver-clamav.spec,v 1.17 2008/10/07 15:36:02 slords Exp $ +# $Id: smeserver-clamav.spec,v 1.32 2013/07/06 05:39:42 burnat Exp $ Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} %define version 2.2.0 -%define release 2 +%define release 14 Version: %{version} Release: %{release}%{?dist} License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.gz +Patch0: smeserver-clamav-2.2.0-HeuristicScanPrecedence.patch +Patch1: smeserver-clamav-2.2.0-fixperm.patch +Patch2: smeserver-clamav-2.2.0-defaultHeuristicScanPrecedence2yes.patch +Patch3: smeserver-clamav-2.2.0-logrotate.patch +Patch4: smeserver-clamav-2.2.0-nocreate.patch +Patch5: smeserver-clamav-2.2.0-logrotate.patch2 +Patch6: smeserver-clamav-2.2.0-MemLimit-0.96.patch +Patch7: smeserver-clamav-2.2.0-MemLimit2.patch +Patch8: smeserver-clamav-2.2.0-crondaily.patch +Patch9: smeserver-clamav-2.2.0-weekly_AV_scan_on_Saturday.patch +Patch10: smeserver-clamav-2.2.0-MemLimit-0.98.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-lib Requires: e-smith-base -Requires: clamav >= 0.93 -Requires: clamd >= 0.93 +Requires: clamav >= 0.94 +Requires: clamd >= 0.94 Requires: clamav-db Requires: e-smith-formmagick >= 1.4.0-12 Provides: e-smith-clamav @@ -29,7 +40,45 @@ BuildRequires: e-smith-devtools SME Server enhancement to configure and run clamd and freshclam %changelog -* Mon Sep 22 2008 Stephen Noble 2.2.0-2 +* Thu Jul 3 2014 Ian Wells 2.2.0-14.sme +- Increase MemLimit to 700M for clamav-0.98 [SME: 8478] + +* Sat Jul 6 2013 Chris Burnat 2.2.0-13.sme +- Move clamscan scheduling to complete before 99-raid-check [SME: 7656] + +* Mon Jun 14 2010 Ian Wells 2.2.0-12.sme +- Re-work patch to improve and document template [SME: 6011] + +* Sat Jun 5 2010 Ian Wells 2.2.0-11.sme +- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] + +* Sun Apr 18 2010 Jonathan Martens 2.2.0-10.sme +- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] + +* Fri Apr 02 2010 Filippo Carletti 2.2.0-9.sme +- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] + +* Sat Feb 6 2010 Stephen Noble 2.2.0-8.sme +- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] + +* Fri Nov 6 2009 Jonathan Martens 2.2.0-7.sme +- Remove create option from logrotate configuration [SME: 5570] +- Fix version number in previous changelog entry + +* Fri Nov 6 2009 Jonathan Martens 2.2.0-6.sme +- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] +- Minor changelog fixes in version number + +* Wed Nov 4 2009 Jonathan Martens 2.2.0-5.sme +- Change default value for HeuristicScanPrecedence to yes [SME: 5204] + +* Tue Jun 2 2009 Shad L. Lords 2.2.0-4.sme +- Fix permissions on freshclam.conf file [SME: 5319] + +* Mon Apr 13 2009 Jonathan Martens 2.2.0-3.sme +- Add HeuristicScanPrecedence option, default disabled [SME: 4598] + +* Thu Nov 27 2008 Stephen Noble 2.2.0-2.sme - Obsolete e-smith-antivirus [SME: 4786] * Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme @@ -298,6 +347,17 @@ SME Server enhancement to configure and %prep %setup +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 %build perl createlinks