--- rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2008/02/10 12:17:48 1.5 +++ rpms/smeserver-clamav/sme8/smeserver-clamav.spec 2016/01/06 14:40:48 1.34 @@ -1,42 +1,124 @@ +# $Id: smeserver-clamav.spec,v 1.33 2014/07/03 23:00:46 wellsi Exp $ + Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} -%define version 1.2.0 -%define release 17 +%define version 2.2.0 +%define release 15 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 +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 +Patch11: smeserver-clamav-2.2.0-disable_unofficial_sigs_for_fs_scan.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: e-smith-lib -Requires: clamav >= 0.90 -Requires: clamd >= 0.90 +Requires: e-smith-base +Requires: clamav >= 0.94 +Requires: clamd >= 0.94 Requires: clamav-db +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 +* Wed Jan 6 2016 Daniel Berteaud 2.2.0-15.sme +- Disable unofficial sigs for filesystem scans [SME: 9176] + +* 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 +- 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 [SME: 4288] + +* Fri Apr 25 2008 Charlie Brady 1.2.0-22 +- Add Obsoletes headers to force removal of clamav-es and + clamav-es-libs. [SME 4167] + +* Fri Apr 18 2008 Shad L. Lords 1.2.0-21 +- Update defaults for clamav 0.93 [SME: 4223] + +* Fri Apr 18 2008 Jonathan Martens 1.2.0-20 +- Move cron template from cron.d to crontab [SME: 1047] + +* Tue Mar 18 2008 Shad L. Lords 1.2.0-19 +- Fix clamav version string [SME: 4060] + +* Wed Feb 13 2008 Stephen Noble 1.2.0-18 +- Remove tags now in general [SME: 3915] + * Sun Feb 10 2008 Stephen Noble 1.2.0-17 - Remove duplicate entries [SME: 3890] @@ -281,8 +363,6 @@ freshclam %patch9 -p1 %patch10 -p1 %patch11 -p1 -%patch12 -p1 -%patch13 -p1 %build perl createlinks @@ -295,6 +375,7 @@ mkdir -p root/var/spool/clamav/quarantin %pre %post +rm -f /etc/cron.d/clamav %install rm -rf $RPM_BUILD_ROOT