1 |
|
# $Id: smeserver-clamav.spec,v 1.26 2010/06/03 18:59:05 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 1.2.0 |
%define version 2.0.0 |
7 |
%define release 16 |
%define release 10 |
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 |
19 |
Patch6: smeserver-clamav-1.2.0-feedback.patch3 |
Patch6: smeserver-clamav-2.0.0.crondaily.patch |
20 |
Patch7: smeserver-clamav-1.2.0-version90.patch |
Patch7: smeserver-clamav-2.0.0-crondailyCreatelinks.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 |
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-lib |
Requires: e-smith-lib |
24 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
25 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.94 |
26 |
|
Requires: clamd >= 0.94 |
27 |
Requires: clamav-db |
Requires: clamav-db |
28 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
30 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
31 |
|
Obsoletes: e-smith-antivirus |
32 |
|
Obsoletes: clamav-es |
33 |
|
Obsoletes: clamav-es-libs |
34 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
35 |
|
|
36 |
%description |
%description |
37 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Thu Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.0.0-10.sme |
41 |
|
- correct createlinks for /etc/cron.daily/freshclam [SME: 4297] |
42 |
|
|
43 |
|
* Thu Jun 3 2010 Ian Wells <esmith@wellsi.com> 2.0.0-9.sme |
44 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 4297] |
45 |
|
|
46 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-8.sme |
47 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5649] |
48 |
|
|
49 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.0.0-7.sme |
50 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5287] |
51 |
|
|
52 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
53 |
|
- Remove create option from logrotate configuration [SME: 5287] |
54 |
|
|
55 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5.sme |
56 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287] |
57 |
|
- Minor changelog fixes in version number |
58 |
|
|
59 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
60 |
|
- Fix permissions on freshclam.conf file [SME: 5320] |
61 |
|
|
62 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
63 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
64 |
|
|
65 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2.sme |
66 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
67 |
|
|
68 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
69 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
70 |
|
|
71 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
72 |
|
- Remove obsolete locale tags [SME: 4235] |
73 |
|
|
74 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
75 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
76 |
|
|
77 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
78 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
79 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
80 |
|
expansion, which, if present, could cause the nightly file scanning to be |
81 |
|
run twice. [SME: 4266] |
82 |
|
|
83 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
84 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
85 |
|
|
86 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
87 |
|
- Add Obsoletes headers to force removal of clamav-es and |
88 |
|
clamav-es-libs. [SME 4167] |
89 |
|
|
90 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
91 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
92 |
|
|
93 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
94 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
95 |
|
|
96 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
97 |
|
- Fix clamav version string [SME: 4060] |
98 |
|
|
99 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
100 |
|
- Remove <base> tags now in general [SME: 3915] |
101 |
|
|
102 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
103 |
|
- Remove duplicate <base> entries [SME: 3890] |
104 |
|
|
105 |
* Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16 |
* Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16 |
106 |
- Cosmetic removal of word entire on panel [SME: 3483] |
- Cosmetic removal of word entire on panel [SME: 3483] |
107 |
|
|
339 |
%patch5 -p1 |
%patch5 -p1 |
340 |
%patch6 -p1 |
%patch6 -p1 |
341 |
%patch7 -p1 |
%patch7 -p1 |
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
342 |
|
|
343 |
%build |
%build |
344 |
perl createlinks |
perl createlinks |
351 |
%pre |
%pre |
352 |
|
|
353 |
%post |
%post |
354 |
|
rm -f /etc/cron.d/clamav |
355 |
|
|
356 |
%install |
%install |
357 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |