1 |
# $Id: smeserver-clamav.spec,v 1.18 2008/11/26 21:18:33 dungog Exp $ |
# $Id: smeserver-clamav.spec,v 1.24 2009/11/06 10:31:12 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 2 |
%define release 7 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-lib |
Requires: e-smith-lib |
21 |
Requires: e-smith-base |
Requires: e-smith-base |
22 |
Requires: clamav >= 0.93 |
Requires: clamav >= 0.94 |
23 |
Requires: clamd >= 0.93 |
Requires: clamd >= 0.94 |
24 |
Requires: clamav-db |
Requires: clamav-db |
25 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
34 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2 |
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
38 |
|
- Remove create option from logrotate configuration [SME: 5570] |
39 |
|
- Fix version number in previous changelog entry |
40 |
|
|
41 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
42 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
43 |
|
- Minor changelog fixes in version number |
44 |
|
|
45 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
46 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
47 |
|
|
48 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
49 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
50 |
|
|
51 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
52 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
53 |
|
|
54 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
55 |
- Obsolete e-smith-antivirus [SME: 4786] |
- Obsolete e-smith-antivirus [SME: 4786] |
56 |
|
|
57 |
* 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 |
320 |
|
|
321 |
%prep |
%prep |
322 |
%setup |
%setup |
323 |
|
%patch0 -p1 |
324 |
|
%patch1 -p1 |
325 |
|
%patch2 -p1 |
326 |
|
%patch3 -p1 |
327 |
|
%patch4 -p1 |
328 |
|
|
329 |
%build |
%build |
330 |
perl createlinks |
perl createlinks |