1 |
# $Id: smeserver-clamav.spec,v 1.18 2008/11/26 21:18:33 dungog Exp $ |
# $Id: smeserver-clamav.spec,v 1.32 2013/07/06 05:39:42 burnat 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 14 |
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 |
|
Patch10: smeserver-clamav-2.2.0-MemLimit-0.98.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: e-smith-lib |
Requires: e-smith-lib |
27 |
Requires: e-smith-base |
Requires: e-smith-base |
28 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.94 |
29 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.94 |
30 |
Requires: clamav-db |
Requires: clamav-db |
31 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
40 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2 |
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 2.2.0-14.sme |
44 |
|
- Increase MemLimit to 700M for clamav-0.98 [SME: 8478] |
45 |
|
|
46 |
|
* Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme |
47 |
|
- Move clamscan scheduling to complete before 99-raid-check [SME: 7656] |
48 |
|
|
49 |
|
* Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-12.sme |
50 |
|
- Re-work patch to improve and document template [SME: 6011] |
51 |
|
|
52 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme |
53 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] |
54 |
|
|
55 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme |
56 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
57 |
|
|
58 |
|
* Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme |
59 |
|
- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] |
60 |
|
|
61 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
62 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] |
63 |
|
|
64 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
65 |
|
- Remove create option from logrotate configuration [SME: 5570] |
66 |
|
- Fix version number in previous changelog entry |
67 |
|
|
68 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
69 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
70 |
|
- Minor changelog fixes in version number |
71 |
|
|
72 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
73 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
74 |
|
|
75 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
76 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
77 |
|
|
78 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
79 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
80 |
|
|
81 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
82 |
- Obsolete e-smith-antivirus [SME: 4786] |
- Obsolete e-smith-antivirus [SME: 4786] |
83 |
|
|
84 |
* 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 |
347 |
|
|
348 |
%prep |
%prep |
349 |
%setup |
%setup |
350 |
|
%patch0 -p1 |
351 |
|
%patch1 -p1 |
352 |
|
%patch2 -p1 |
353 |
|
%patch3 -p1 |
354 |
|
%patch4 -p1 |
355 |
|
%patch5 -p1 |
356 |
|
%patch6 -p1 |
357 |
|
%patch7 -p1 |
358 |
|
%patch8 -p1 |
359 |
|
%patch9 -p1 |
360 |
|
%patch10 -p1 |
361 |
|
|
362 |
%build |
%build |
363 |
perl createlinks |
perl createlinks |