1 |
|
# $Id: smeserver-clamav.spec,v 1.33 2014/07/03 23:00:46 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 24 |
%define release 15 |
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 |
23 |
Patch10: smeserver-clamav-1.2.0-update-failed-fullpaths.patch |
Patch10: smeserver-clamav-2.2.0-MemLimit-0.98.patch |
24 |
Patch11: smeserver-clamav-1.2.0-freshclam_perms.patch |
Patch11: smeserver-clamav-2.2.0-disable_unofficial_sigs_for_fs_scan.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 |
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: e-smith-lib |
Requires: e-smith-lib |
28 |
Requires: clamav >= 0.93 |
Requires: e-smith-base |
29 |
Requires: clamd >= 0.93 |
Requires: clamav >= 0.94 |
30 |
|
Requires: clamd >= 0.94 |
31 |
Requires: clamav-db |
Requires: clamav-db |
32 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
33 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
34 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
35 |
|
Obsoletes: e-smith-antivirus |
36 |
Obsoletes: clamav-es |
Obsoletes: clamav-es |
37 |
Obsoletes: clamav-es-libs |
Obsoletes: clamav-es-libs |
38 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
39 |
|
|
40 |
%description |
%description |
41 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-15.sme |
45 |
|
- Disable unofficial sigs for filesystem scans [SME: 9176] |
46 |
|
|
47 |
|
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 2.2.0-14.sme |
48 |
|
- Increase MemLimit to 700M for clamav-0.98 [SME: 8478] |
49 |
|
|
50 |
|
* Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme |
51 |
|
- Move clamscan scheduling to complete before 99-raid-check [SME: 7656] |
52 |
|
|
53 |
|
* Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-12.sme |
54 |
|
- Re-work patch to improve and document template [SME: 6011] |
55 |
|
|
56 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme |
57 |
|
- template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011] |
58 |
|
|
59 |
|
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme |
60 |
|
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868] |
61 |
|
|
62 |
|
* Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme |
63 |
|
- Increase MemLimit to 300M for clamav-0.96 [SME: 5868] |
64 |
|
|
65 |
|
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme |
66 |
|
- Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570] |
67 |
|
|
68 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme |
69 |
|
- Remove create option from logrotate configuration [SME: 5570] |
70 |
|
- Fix version number in previous changelog entry |
71 |
|
|
72 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
73 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570] |
74 |
|
- Minor changelog fixes in version number |
75 |
|
|
76 |
|
* Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
77 |
|
- Change default value for HeuristicScanPrecedence to yes [SME: 5204] |
78 |
|
|
79 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
80 |
|
- Fix permissions on freshclam.conf file [SME: 5319] |
81 |
|
|
82 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme |
83 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
84 |
|
|
85 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme |
86 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
87 |
|
|
88 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
89 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
90 |
|
|
91 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
92 |
|
- Remove obsolete locale tags [SME: 4235] |
93 |
|
|
94 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
95 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
96 |
|
|
97 |
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
98 |
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
99 |
[SME: 1047], but we need to remove any leftover file from earlier template |
[SME: 1047], but we need to remove any leftover file from earlier template |
363 |
%patch9 -p1 |
%patch9 -p1 |
364 |
%patch10 -p1 |
%patch10 -p1 |
365 |
%patch11 -p1 |
%patch11 -p1 |
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
366 |
|
|
367 |
%build |
%build |
368 |
perl createlinks |
perl createlinks |