1 |
|
# $Id: smeserver-clamav.spec,v 1.21 2009/11/06 10:26:47 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 1.2.0 |
%define version 2.0.0 |
7 |
%define release 14 |
%define release 6 |
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 |
|
Patch4: smeserver-clamav-1.2.0-feedback.patch |
|
|
Patch5: smeserver-clamav-1.2.0-feedback.patch2 |
|
|
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 |
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: e-smith-lib |
Requires: e-smith-lib |
20 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
21 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.94 |
22 |
|
Requires: clamd >= 0.94 |
23 |
Requires: clamav-db |
Requires: clamav-db |
24 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
25 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
26 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
27 |
|
Obsoletes: e-smith-antivirus |
28 |
|
Obsoletes: clamav-es |
29 |
|
Obsoletes: clamav-es-libs |
30 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
31 |
|
|
32 |
%description |
%description |
33 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
37 |
|
- Remove create option from logrotate configuration [SME: 5287] |
38 |
|
|
39 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5.sme |
40 |
|
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287] |
41 |
|
- Minor changelog fixes in version number |
42 |
|
|
43 |
|
* Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
44 |
|
- Fix permissions on freshclam.conf file [SME: 5320] |
45 |
|
|
46 |
|
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme |
47 |
|
- Add HeuristicScanPrecedence option, default disabled [SME: 4598] |
48 |
|
|
49 |
|
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2.sme |
50 |
|
- Obsolete e-smith-antivirus [SME: 4786] |
51 |
|
|
52 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
53 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
54 |
|
|
55 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
56 |
|
- Remove obsolete locale tags [SME: 4235] |
57 |
|
|
58 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
59 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
60 |
|
|
61 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
62 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
63 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
64 |
|
expansion, which, if present, could cause the nightly file scanning to be |
65 |
|
run twice. [SME: 4266] |
66 |
|
|
67 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
68 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
69 |
|
|
70 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
71 |
|
- Add Obsoletes headers to force removal of clamav-es and |
72 |
|
clamav-es-libs. [SME 4167] |
73 |
|
|
74 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
75 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
76 |
|
|
77 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
78 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
79 |
|
|
80 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
81 |
|
- Fix clamav version string [SME: 4060] |
82 |
|
|
83 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
84 |
|
- Remove <base> tags now in general [SME: 3915] |
85 |
|
|
86 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
87 |
|
- Remove duplicate <base> entries [SME: 3890] |
88 |
|
|
89 |
|
* Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16 |
90 |
|
- Cosmetic removal of word entire on panel [SME: 3483] |
91 |
|
|
92 |
|
* Thu Sep 06 2007 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-15 |
93 |
|
- Fix freshclam.conf permissions [SME: 3375] |
94 |
|
|
95 |
* Fri Jun 08 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.0-14 |
* Fri Jun 08 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.0-14 |
96 |
- Use full paths in update-failed script - tai64nlocal was not |
- Use full paths in update-failed script - tai64nlocal was not |
97 |
being found in $PATH. [SME: 1686] |
being found in $PATH. [SME: 1686] |
319 |
%patch1 -p1 |
%patch1 -p1 |
320 |
%patch2 -p1 |
%patch2 -p1 |
321 |
%patch3 -p1 |
%patch3 -p1 |
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
322 |
|
|
323 |
%build |
%build |
324 |
perl createlinks |
perl createlinks |
331 |
%pre |
%pre |
332 |
|
|
333 |
%post |
%post |
334 |
|
rm -f /etc/cron.d/clamav |
335 |
|
|
336 |
%install |
%install |
337 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |