1 |
# $Id$ |
# $Id: smeserver-clamav.spec,v 1.28 2010/04/18 17:22:57 snetram 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 1 |
%define release 11 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: e-smith-lib |
Requires: e-smith-lib |
25 |
Requires: e-smith-base |
Requires: e-smith-base |
26 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.94 |
27 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.94 |
28 |
Requires: clamav-db |
Requires: clamav-db |
29 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
31 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
32 |
|
Obsoletes: e-smith-antivirus |
33 |
Obsoletes: clamav-es |
Obsoletes: clamav-es |
34 |
Obsoletes: clamav-es-libs |
Obsoletes: clamav-es-libs |
35 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
38 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme |
42 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] |
43 |
|
|
44 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme |
45 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
46 |
|
|
47 |
|
* Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme |
48 |
|
- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] |
49 |
|
|
50 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
51 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] |
52 |
|
|
53 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
54 |
|
- Remove create option from logrotate configuration [SME: 5570] |
55 |
|
- Fix version number in previous changelog entry |
56 |
|
|
57 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
58 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
59 |
|
- Minor changelog fixes in version number |
60 |
|
|
61 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
62 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
63 |
|
|
64 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
65 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
66 |
|
|
67 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
68 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
69 |
|
|
70 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
71 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
72 |
|
|
73 |
* 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 |
74 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
75 |
|
|
336 |
|
|
337 |
%prep |
%prep |
338 |
%setup |
%setup |
339 |
|
%patch0 -p1 |
340 |
|
%patch1 -p1 |
341 |
|
%patch2 -p1 |
342 |
|
%patch3 -p1 |
343 |
|
%patch4 -p1 |
344 |
|
%patch5 -p1 |
345 |
|
%patch6 -p1 |
346 |
|
%patch7 -p1 |
347 |
|
%patch8 -p1 |
348 |
|
|
349 |
%build |
%build |
350 |
perl createlinks |
perl createlinks |