1 |
|
# $Id: smeserver-clamav.spec,v 1.31 2010/06/14 20:47:44 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.2.0 |
7 |
%define release 15 |
%define release 13 |
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.2.0-HeuristicScanPrecedence.patch |
14 |
Patch1: smeserver-clamav-1.2.0-exclude_arg.patch |
Patch1: smeserver-clamav-2.2.0-fixperm.patch |
15 |
Patch2: smeserver-clamav-1.2.0-RestrictScan.patch |
Patch2: smeserver-clamav-2.2.0-defaultHeuristicScanPrecedence2yes.patch |
16 |
Patch3: smeserver-clamav-1.2.0-ParamsAndOutput.patch |
Patch3: smeserver-clamav-2.2.0-logrotate.patch |
17 |
Patch4: smeserver-clamav-1.2.0-feedback.patch |
Patch4: smeserver-clamav-2.2.0-nocreate.patch |
18 |
Patch5: smeserver-clamav-1.2.0-feedback.patch2 |
Patch5: smeserver-clamav-2.2.0-logrotate.patch2 |
19 |
Patch6: smeserver-clamav-1.2.0-feedback.patch3 |
Patch6: smeserver-clamav-2.2.0-MemLimit-0.96.patch |
20 |
Patch7: smeserver-clamav-1.2.0-version90.patch |
Patch7: smeserver-clamav-2.2.0-MemLimit2.patch |
21 |
Patch8: smeserver-clamav-1.2.0-memlimit.patch |
Patch8: smeserver-clamav-2.2.0-crondaily.patch |
22 |
Patch9: smeserver-clamav-1.2.0-memlimit.patch2 |
Patch9: smeserver-clamav-2.2.0-weekly_AV_scan_on_Saturday.patch |
|
Patch10: smeserver-clamav-1.2.0-update-failed-fullpaths.patch |
|
|
Patch11: smeserver-clamav-1.2.0-freshclam_perms.patch |
|
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-lib |
Requires: e-smith-lib |
26 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
27 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.94 |
28 |
|
Requires: clamd >= 0.94 |
29 |
Requires: clamav-db |
Requires: clamav-db |
30 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
31 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
32 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
33 |
|
Obsoletes: e-smith-antivirus |
34 |
|
Obsoletes: clamav-es |
35 |
|
Obsoletes: clamav-es-libs |
36 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
37 |
|
|
38 |
%description |
%description |
39 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme |
43 |
|
- Move clamscan scheduling to complete before 99-raid-check [SME: 7656] |
44 |
|
|
45 |
|
* Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-12.sme |
46 |
|
- Re-work patch to improve and document template [SME: 6011] |
47 |
|
|
48 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme |
49 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] |
50 |
|
|
51 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme |
52 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
53 |
|
|
54 |
|
* Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme |
55 |
|
- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] |
56 |
|
|
57 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
58 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] |
59 |
|
|
60 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
61 |
|
- Remove create option from logrotate configuration [SME: 5570] |
62 |
|
- Fix version number in previous changelog entry |
63 |
|
|
64 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
65 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
66 |
|
- Minor changelog fixes in version number |
67 |
|
|
68 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
69 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
70 |
|
|
71 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
72 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
73 |
|
|
74 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
75 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
76 |
|
|
77 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
78 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
79 |
|
|
80 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
81 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
82 |
|
|
83 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
84 |
|
- Remove obsolete locale tags [SME: 4235] |
85 |
|
|
86 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
87 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
88 |
|
|
89 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
90 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
91 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
92 |
|
expansion, which, if present, could cause the nightly file scanning to be |
93 |
|
run twice. [SME: 4266] |
94 |
|
|
95 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
96 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
97 |
|
|
98 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
99 |
|
- Add Obsoletes headers to force removal of clamav-es and |
100 |
|
clamav-es-libs. [SME 4167] |
101 |
|
|
102 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
103 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
104 |
|
|
105 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
106 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
107 |
|
|
108 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
109 |
|
- Fix clamav version string [SME: 4060] |
110 |
|
|
111 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
112 |
|
- Remove <base> tags now in general [SME: 3915] |
113 |
|
|
114 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
115 |
|
- Remove duplicate <base> entries [SME: 3890] |
116 |
|
|
117 |
|
* Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16 |
118 |
|
- Cosmetic removal of word entire on panel [SME: 3483] |
119 |
|
|
120 |
* Thu Sep 06 2007 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-15 |
* Thu Sep 06 2007 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-15 |
121 |
- Fix freshclam.conf permissions [SME: 3375] |
- Fix freshclam.conf permissions [SME: 3375] |
122 |
|
|
353 |
%patch7 -p1 |
%patch7 -p1 |
354 |
%patch8 -p1 |
%patch8 -p1 |
355 |
%patch9 -p1 |
%patch9 -p1 |
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
356 |
|
|
357 |
%build |
%build |
358 |
perl createlinks |
perl createlinks |
365 |
%pre |
%pre |
366 |
|
|
367 |
%post |
%post |
368 |
|
rm -f /etc/cron.d/clamav |
369 |
|
|
370 |
%install |
%install |
371 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |