--- rpms/smeserver-clamav/sme7/smeserver-clamav.spec 2008/03/18 17:05:54 1.7 +++ rpms/smeserver-clamav/sme7/smeserver-clamav.spec 2010/04/18 17:22:47 1.24 @@ -1,45 +1,90 @@ +# $Id: smeserver-clamav.spec,v 1.23 2010/02/06 06:51:17 dungog Exp $ + Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} -%define version 1.2.0 -%define release 19 +%define version 2.0.0 +%define release 8 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 +Patch0: smeserver-clamav-2.0.0-HeuristicScanPrecedence.patch +Patch1: smeserver-clamav-2.0.0-fixperm.patch +Patch2: smeserver-clamav-2.0.0-logrotate.patch +Patch3: smeserver-clamav-2.0.0-nocreate.patch +Patch4: smeserver-clamav-2.0.0-logrotate.patch2 +Patch5: smeserver-clamav-2.0.0-MemLimit.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-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 +* Sun Apr 18 2010 Jonathan Martens 2.0.0-8.sme +- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] + +* Sat Feb 6 2010 Stephen Noble 2.0.0-7.sme +- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5287] + +* Fri Nov 6 2009 Jonathan Martens 2.0.0-6.sme +- Remove create option from logrotate configuration [SME: 5287] + +* Fri Nov 6 2009 Jonathan Martens 2.0.0-5.sme +- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287] +- Minor changelog fixes in version number + +* Tue Jun 2 2009 Shad L. Lords 2.0.0-4.sme +- Fix permissions on freshclam.conf file [SME: 5320] + +* Mon Apr 13 2009 Jonathan Martens 2.0.0-3.sme +- Add HeuristicScanPrecedence option, default disabled [SME: 4598] + +* Thu Nov 27 2008 Stephen Noble 2.0.0-2.sme +- Obsolete e-smith-antivirus [SME: 4786] + +* Tue Oct 7 2008 Shad L. Lords 2.0.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] @@ -284,16 +329,6 @@ freshclam %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 %build perl createlinks @@ -306,6 +341,7 @@ mkdir -p root/var/spool/clamav/quarantin %pre %post +rm -f /etc/cron.d/clamav %install rm -rf $RPM_BUILD_ROOT