1 |
|
# $Id$ |
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 16 |
%define release 1 |
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 |
|
Patch0: smeserver-clamav-ArchiveBlockEncrypted.patch |
|
|
Patch1: smeserver-clamav-1.2.0-exclude_arg.patch |
|
|
Patch2: smeserver-clamav-1.2.0-RestrictScan.patch |
|
|
Patch3: smeserver-clamav-1.2.0-ParamsAndOutput.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 |
|
|
Patch11: smeserver-clamav-1.2.0-freshclam_perms.patch |
|
|
Patch12: smeserver-clamav-1.2.0-entire.patch |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
Requires: e-smith-lib |
Requires: e-smith-lib |
16 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
17 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.93 |
18 |
|
Requires: clamd >= 0.93 |
19 |
Requires: clamav-db |
Requires: clamav-db |
20 |
|
Requires: e-smith-formmagick >= 1.4.0-12 |
21 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
22 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
23 |
|
Obsoletes: clamav-es |
24 |
|
Obsoletes: clamav-es-libs |
25 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
|
|
27 |
%description |
%description |
28 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
29 |
|
|
30 |
%changelog |
%changelog |
31 |
* Mon Jan 07 2007 Stephen Noble <support@dungog.net> 1.2.0-16 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
32 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
33 |
|
|
34 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
35 |
|
- Remove obsolete locale tags [SME: 4235] |
36 |
|
|
37 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
38 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
39 |
|
|
40 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
41 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
42 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
43 |
|
expansion, which, if present, could cause the nightly file scanning to be |
44 |
|
run twice. [SME: 4266] |
45 |
|
|
46 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
47 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
48 |
|
|
49 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
50 |
|
- Add Obsoletes headers to force removal of clamav-es and |
51 |
|
clamav-es-libs. [SME 4167] |
52 |
|
|
53 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
54 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
55 |
|
|
56 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
57 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
58 |
|
|
59 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
60 |
|
- Fix clamav version string [SME: 4060] |
61 |
|
|
62 |
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18 |
63 |
|
- Remove <base> tags now in general [SME: 3915] |
64 |
|
|
65 |
|
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
66 |
|
- Remove duplicate <base> entries [SME: 3890] |
67 |
|
|
68 |
|
* Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16 |
69 |
- Cosmetic removal of word entire on panel [SME: 3483] |
- Cosmetic removal of word entire on panel [SME: 3483] |
70 |
|
|
71 |
* 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 |
294 |
|
|
295 |
%prep |
%prep |
296 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
297 |
|
|
298 |
%build |
%build |
299 |
perl createlinks |
perl createlinks |
306 |
%pre |
%pre |
307 |
|
|
308 |
%post |
%post |
309 |
|
rm -f /etc/cron.d/clamav |
310 |
|
|
311 |
%install |
%install |
312 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |