--- rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2008/04/26 22:08:57 1.10 +++ rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2013/07/06 05:39:42 1.32 @@ -1,52 +1,99 @@ +# $Id: smeserver-clamav.spec,v 1.31 2010/06/14 20:47:44 wellsi Exp $ + Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} -%define version 1.2.0 -%define release 23 +%define version 2.2.0 +%define release 13 Version: %{version} Release: %{release}%{?dist} License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.gz -Patch0: smeserver-clamav-ArchiveBlockEncrypted.patch -Patch1: smeserver-clamav-1.2.0-exclude_arg.patch -Patch2: smeserver-clamav-1.2.0-RestrictScan.patch -Patch3: smeserver-clamav-1.2.0-ParamsAndOutput.patch -Patch4: smeserver-clamav-1.2.0-feedback.patch -Patch5: smeserver-clamav-1.2.0-feedback.patch2 -Patch6: smeserver-clamav-1.2.0-feedback.patch3 -Patch7: smeserver-clamav-1.2.0-version90.patch -Patch8: smeserver-clamav-1.2.0-memlimit.patch -Patch9: smeserver-clamav-1.2.0-memlimit.patch2 -Patch10: smeserver-clamav-1.2.0-update-failed-fullpaths.patch -Patch11: smeserver-clamav-1.2.0-freshclam_perms.patch -Patch12: smeserver-clamav-1.2.0-entire.patch -Patch13: smeserver-clamav-1.2.0-rmWeekly.patch -Patch14: smeserver-clamav-1.2.0-tags2general.patch -Patch15: smeserver-clamav-1.2.0-clamver.patch -Patch16: smeserver-clamav-1.2.0-MoveCronTemplate.patch -Patch17: smeserver-clamav-1.2.0-clamav93.patch -Patch18: smeserver-clamav-1.2.0-add2general.patch +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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-lib -Requires: clamav >= 0.93 -Requires: clamd >= 0.93 +Requires: e-smith-base +Requires: clamav >= 0.94 +Requires: clamd >= 0.94 Requires: clamav-db -Requires: e-smith-formmagick >= 1.4.0-9 +Requires: e-smith-formmagick >= 1.4.0-12 Provides: e-smith-clamav Obsoletes: e-smith-clamav +Obsoletes: e-smith-antivirus Obsoletes: clamav-es Obsoletes: clamav-es-libs BuildRequires: e-smith-devtools %description -e-smith server enhancement to configure and run clamd and -freshclam +SME Server enhancement to configure and run clamd and freshclam %changelog +* 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 +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Mon Sep 22 2008 Stephen Noble 1.2.0-26 +- Remove obsolete locale tags [SME: 4235] + +* Sun Aug 10 2008 Shad L. Lords 1.2.0-25 +- Remove links to crontab in all but clamav-update [SME: 4494] + +* Wed Apr 30 2008 Jonathan Martens 1.2.0-24 +- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab + [SME: 1047], but we need to remove any leftover file from earlier template + expansion, which, if present, could cause the nightly file scanning to be + run twice. [SME: 4266] + * Sun Apr 27 2008 Jonathan Martens 1.2.0-23 -- Add common tags to e-smith-formmagick's general +- Add common tags to e-smith-formmagick's general [SME: 4288] * Fri Apr 25 2008 Charlie Brady 1.2.0-22 - Add Obsoletes headers to force removal of clamav-es and @@ -306,15 +353,6 @@ freshclam %patch7 -p1 %patch8 -p1 %patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 %build perl createlinks @@ -327,6 +365,7 @@ mkdir -p root/var/spool/clamav/quarantin %pre %post +rm -f /etc/cron.d/clamav %install rm -rf $RPM_BUILD_ROOT