1 |
# $Id: smeserver-clamav.spec,v 1.18 2008/11/26 21:18:33 dungog Exp $ |
# $Id: smeserver-clamav.spec,v 1.31 2010/06/14 20:47:44 wellsi Exp $ |
2 |
|
|
3 |
Summary: SME Server module to configure clamav |
Summary: SME Server module to configure clamav |
4 |
%define name smeserver-clamav |
%define name smeserver-clamav |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 2 |
%define release 13 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: System Environment/Base |
Group: System Environment/Base |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
|
Patch0: smeserver-clamav-2.2.0-HeuristicScanPrecedence.patch |
14 |
|
Patch1: smeserver-clamav-2.2.0-fixperm.patch |
15 |
|
Patch2: smeserver-clamav-2.2.0-defaultHeuristicScanPrecedence2yes.patch |
16 |
|
Patch3: smeserver-clamav-2.2.0-logrotate.patch |
17 |
|
Patch4: smeserver-clamav-2.2.0-nocreate.patch |
18 |
|
Patch5: smeserver-clamav-2.2.0-logrotate.patch2 |
19 |
|
Patch6: smeserver-clamav-2.2.0-MemLimit-0.96.patch |
20 |
|
Patch7: smeserver-clamav-2.2.0-MemLimit2.patch |
21 |
|
Patch8: smeserver-clamav-2.2.0-crondaily.patch |
22 |
|
Patch9: smeserver-clamav-2.2.0-weekly_AV_scan_on_Saturday.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-lib |
Requires: e-smith-lib |
26 |
Requires: e-smith-base |
Requires: e-smith-base |
27 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.94 |
28 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.94 |
29 |
Requires: clamav-db |
Requires: clamav-db |
30 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
31 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
39 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2 |
* Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme |
43 |
|
- Move clamscan scheduling to complete before 99-raid-check [SME: 7656] |
44 |
|
|
45 |
|
* Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-12.sme |
46 |
|
- Re-work patch to improve and document template [SME: 6011] |
47 |
|
|
48 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme |
49 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] |
50 |
|
|
51 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme |
52 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
53 |
|
|
54 |
|
* Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme |
55 |
|
- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] |
56 |
|
|
57 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
58 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] |
59 |
|
|
60 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
61 |
|
- Remove create option from logrotate configuration [SME: 5570] |
62 |
|
- Fix version number in previous changelog entry |
63 |
|
|
64 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
65 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
66 |
|
- Minor changelog fixes in version number |
67 |
|
|
68 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
69 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
70 |
|
|
71 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
72 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
73 |
|
|
74 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
75 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
76 |
|
|
77 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
78 |
- Obsolete e-smith-antivirus [SME: 4786] |
- Obsolete e-smith-antivirus [SME: 4786] |
79 |
|
|
80 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
343 |
|
|
344 |
%prep |
%prep |
345 |
%setup |
%setup |
346 |
|
%patch0 -p1 |
347 |
|
%patch1 -p1 |
348 |
|
%patch2 -p1 |
349 |
|
%patch3 -p1 |
350 |
|
%patch4 -p1 |
351 |
|
%patch5 -p1 |
352 |
|
%patch6 -p1 |
353 |
|
%patch7 -p1 |
354 |
|
%patch8 -p1 |
355 |
|
%patch9 -p1 |
356 |
|
|
357 |
%build |
%build |
358 |
perl createlinks |
perl createlinks |