1 |
|
# $Id: smeserver-clamav.spec,v 1.23 2010/02/06 06:51:17 dungog 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 1.2.0 |
%define version 2.0.0 |
7 |
%define release 23 |
%define release 8 |
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-ArchiveBlockEncrypted.patch |
Patch0: smeserver-clamav-2.0.0-HeuristicScanPrecedence.patch |
14 |
Patch1: smeserver-clamav-1.2.0-exclude_arg.patch |
Patch1: smeserver-clamav-2.0.0-fixperm.patch |
15 |
Patch2: smeserver-clamav-1.2.0-RestrictScan.patch |
Patch2: smeserver-clamav-2.0.0-logrotate.patch |
16 |
Patch3: smeserver-clamav-1.2.0-ParamsAndOutput.patch |
Patch3: smeserver-clamav-2.0.0-nocreate.patch |
17 |
Patch4: smeserver-clamav-1.2.0-feedback.patch |
Patch4: smeserver-clamav-2.0.0-logrotate.patch2 |
18 |
Patch5: smeserver-clamav-1.2.0-feedback.patch2 |
Patch5: smeserver-clamav-2.0.0-MemLimit.patch |
|
Patch6: smeserver-clamav-1.2.0-feedback.patch3 |
|
|
Patch7: smeserver-clamav-1.2.0-version90.patch |
|
|
Patch8: smeserver-clamav-1.2.0-memlimit.patch |
|
|
Patch9: smeserver-clamav-1.2.0-memlimit.patch2 |
|
|
Patch10: smeserver-clamav-1.2.0-update-failed-fullpaths.patch |
|
|
Patch11: smeserver-clamav-1.2.0-freshclam_perms.patch |
|
|
Patch12: smeserver-clamav-1.2.0-entire.patch |
|
|
Patch13: smeserver-clamav-1.2.0-rmWeekly.patch |
|
|
Patch14: smeserver-clamav-1.2.0-tags2general.patch |
|
|
Patch15: smeserver-clamav-1.2.0-clamver.patch |
|
|
Patch16: smeserver-clamav-1.2.0-MoveCronTemplate.patch |
|
|
Patch17: smeserver-clamav-1.2.0-clamav93.patch |
|
|
Patch18: smeserver-clamav-1.2.0-add2general.patch |
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: e-smith-lib |
Requires: e-smith-lib |
22 |
Requires: clamav >= 0.93 |
Requires: e-smith-base |
23 |
Requires: clamd >= 0.93 |
Requires: clamav >= 0.94 |
24 |
|
Requires: clamd >= 0.94 |
25 |
Requires: clamav-db |
Requires: clamav-db |
26 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
27 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
28 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
29 |
|
Obsoletes: e-smith-antivirus |
30 |
Obsoletes: clamav-es |
Obsoletes: clamav-es |
31 |
Obsoletes: clamav-es-libs |
Obsoletes: clamav-es-libs |
32 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
33 |
|
|
34 |
%description |
%description |
35 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
36 |
|
|
37 |
%changelog |
%changelog |
38 |
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-8.sme |
39 |
- Remove /etc/cron.d/clamav causing second instance of clamav to run [SME: 4266] |
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
40 |
which was caused by a partial migration of the template fragments [SME: 1047] |
|
41 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.0.0-7.sme |
42 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5287] |
43 |
|
|
44 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
45 |
|
- Remove create option from logrotate configuration [SME: 5287] |
46 |
|
|
47 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5.sme |
48 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287] |
49 |
|
- Minor changelog fixes in version number |
50 |
|
|
51 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
52 |
|
- Fix permissions on freshclam.conf file [SME: 5320] |
53 |
|
|
54 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
55 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
56 |
|
|
57 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2.sme |
58 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
59 |
|
|
60 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
61 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
62 |
|
|
63 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
64 |
|
- Remove obsolete locale tags [SME: 4235] |
65 |
|
|
66 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
67 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
68 |
|
|
69 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
70 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
71 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
72 |
|
expansion, which, if present, could cause the nightly file scanning to be |
73 |
|
run twice. [SME: 4266] |
74 |
|
|
75 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
76 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
329 |
%patch3 -p1 |
%patch3 -p1 |
330 |
%patch4 -p1 |
%patch4 -p1 |
331 |
%patch5 -p1 |
%patch5 -p1 |
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
332 |
|
|
333 |
%build |
%build |
334 |
perl createlinks |
perl createlinks |