1 |
# $Id: smeserver-clamav.spec,v 1.17 2008/10/07 15:36:01 slords Exp $ |
# $Id: smeserver-clamav.spec,v 1.29 2010/06/05 19:21:41 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.0.0 |
%define version 2.0.0 |
7 |
%define release 2 |
%define release 12 |
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.0.0-HeuristicScanPrecedence.patch |
14 |
|
Patch1: smeserver-clamav-2.0.0-fixperm.patch |
15 |
|
Patch2: smeserver-clamav-2.0.0-logrotate.patch |
16 |
|
Patch3: smeserver-clamav-2.0.0-nocreate.patch |
17 |
|
Patch4: smeserver-clamav-2.0.0-logrotate.patch2 |
18 |
|
Patch5: smeserver-clamav-2.0.0-MemLimit.patch |
19 |
|
Patch6: smeserver-clamav-2.0.0-crondaily.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-lib |
Requires: e-smith-lib |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
24 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.94 |
25 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.94 |
26 |
Requires: clamav-db |
Requires: clamav-db |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
36 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2 |
* Wed Jun 9 2010 Ian Wells <esmith@wellsi.com> 2.0.0-12.sme |
40 |
|
- Re-work patch to improve and document template [SME: 4297] |
41 |
|
|
42 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.0.0-11.sme |
43 |
|
- correct createlinks for /etc/cron.daily/freshclam again [SME: 4297] |
44 |
|
|
45 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.0.0-10.sme |
46 |
|
- correct createlinks for /etc/cron.daily/freshclam [SME: 4297] |
47 |
|
|
48 |
|
* Thu Jun 3 2010 Ian Wells <esmith@wellsi.com> 2.0.0-9.sme |
49 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 4297] |
50 |
|
|
51 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-8.sme |
52 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5649] |
53 |
|
|
54 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.0.0-7.sme |
55 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5287] |
56 |
|
|
57 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
58 |
|
- Remove create option from logrotate configuration [SME: 5287] |
59 |
|
|
60 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5.sme |
61 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287] |
62 |
|
- Minor changelog fixes in version number |
63 |
|
|
64 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
65 |
|
- Fix permissions on freshclam.conf file [SME: 5320] |
66 |
|
|
67 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
68 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
69 |
|
|
70 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2.sme |
71 |
- Obsolete e-smith-antivirus [SME: 4786] |
- Obsolete e-smith-antivirus [SME: 4786] |
72 |
|
|
73 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
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 |
|
|
347 |
%build |
%build |
348 |
perl createlinks |
perl createlinks |