2 |
%define name smeserver-clamav |
%define name smeserver-clamav |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2.0 |
%define version 1.2.0 |
5 |
%define release 19 |
%define release 26 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
24 |
Patch13: smeserver-clamav-1.2.0-rmWeekly.patch |
Patch13: smeserver-clamav-1.2.0-rmWeekly.patch |
25 |
Patch14: smeserver-clamav-1.2.0-tags2general.patch |
Patch14: smeserver-clamav-1.2.0-tags2general.patch |
26 |
Patch15: smeserver-clamav-1.2.0-clamver.patch |
Patch15: smeserver-clamav-1.2.0-clamver.patch |
27 |
|
Patch16: smeserver-clamav-1.2.0-MoveCronTemplate.patch |
28 |
|
Patch17: smeserver-clamav-1.2.0-clamav93.patch |
29 |
|
Patch18: smeserver-clamav-1.2.0-add2general.patch |
30 |
|
Patch19: smeserver-clamav-1.2.0-crontab.patch |
31 |
|
Patch20: smeserver-clamav-1.2.0-cleanlocale.patch |
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
Requires: e-smith-lib |
Requires: e-smith-lib |
35 |
Requires: clamav >= 0.90 |
Requires: e-smith-base |
36 |
Requires: clamd >= 0.90 |
Requires: clamav >= 0.93 |
37 |
|
Requires: clamd >= 0.93 |
38 |
Requires: clamav-db |
Requires: clamav-db |
39 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-12 |
40 |
Provides: e-smith-clamav |
Provides: e-smith-clamav |
41 |
Obsoletes: e-smith-clamav |
Obsoletes: e-smith-clamav |
42 |
|
Obsoletes: clamav-es |
43 |
|
Obsoletes: clamav-es-libs |
44 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
45 |
|
|
46 |
%description |
%description |
47 |
e-smith server enhancement to configure and run clamd and |
SME Server enhancement to configure and run clamd and freshclam |
|
freshclam |
|
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26 |
51 |
|
- Remove obsolete locale tags [SME: 4235] |
52 |
|
|
53 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25 |
54 |
|
- Remove links to crontab in all but clamav-update [SME: 4494] |
55 |
|
|
56 |
|
* Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24 |
57 |
|
- Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab |
58 |
|
[SME: 1047], but we need to remove any leftover file from earlier template |
59 |
|
expansion, which, if present, could cause the nightly file scanning to be |
60 |
|
run twice. [SME: 4266] |
61 |
|
|
62 |
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23 |
63 |
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4288] |
64 |
|
|
65 |
|
* Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22 |
66 |
|
- Add Obsoletes headers to force removal of clamav-es and |
67 |
|
clamav-es-libs. [SME 4167] |
68 |
|
|
69 |
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21 |
70 |
|
- Update defaults for clamav 0.93 [SME: 4223] |
71 |
|
|
72 |
|
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20 |
73 |
|
- Move cron template from cron.d to crontab [SME: 1047] |
74 |
|
|
75 |
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19 |
76 |
- Fix clamav version string [SME: 4060] |
- Fix clamav version string [SME: 4060] |
77 |
|
|
326 |
%patch13 -p1 |
%patch13 -p1 |
327 |
%patch14 -p1 |
%patch14 -p1 |
328 |
%patch15 -p1 |
%patch15 -p1 |
329 |
|
%patch16 -p1 |
330 |
|
%patch17 -p1 |
331 |
|
%patch18 -p1 |
332 |
|
%patch19 -p1 |
333 |
|
%patch20 -p1 |
334 |
|
|
335 |
%build |
%build |
336 |
perl createlinks |
perl createlinks |
343 |
%pre |
%pre |
344 |
|
|
345 |
%post |
%post |
346 |
|
rm -f /etc/cron.d/clamav |
347 |
|
|
348 |
%install |
%install |
349 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |