1 |
# $Id: smeserver-clamav.spec,v 1.7 2021/01/06 22:21:20 jpp Exp $ |
# $Id: smeserver-clamav.spec,v 1.8 2021/01/08 16:04:20 jpp 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 2.7.0 |
%define version 2.7.0 |
7 |
%define release 4 |
%define release 5 |
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.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: smeserver-clamav-2.7.0-bz11103-improvements.patch |
Patch0: smeserver-clamav-2.7.0-bz11103-improvements.patch |
14 |
|
Patch1: smeserver-clamav-2.7.0-bz11313-clamdtop.patch |
15 |
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-5.sme |
38 |
|
- ease use of clamdtop [SME: 11313] |
39 |
|
|
40 |
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-4.sme |
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-4.sme |
41 |
- fix Transaction check error [SME: 11311] |
- fix Transaction check error [SME: 11311] |
42 |
|
|
383 |
mkdir -p root/run/clamd |
mkdir -p root/run/clamd |
384 |
rm -rf root/etc/e-smith/templates/usr/lib/systemd/system/freshclam.service.d |
rm -rf root/etc/e-smith/templates/usr/lib/systemd/system/freshclam.service.d |
385 |
rm -rf root/usr/lib/systemd/system/freshclam.service.d |
rm -rf root/usr/lib/systemd/system/freshclam.service.d |
386 |
|
%patch1 -p1 |
387 |
|
|
388 |
%build |
%build |
389 |
perl createlinks |
perl createlinks |