1 |
# $Id: smeserver-clamav.spec,v 1.9 2021/01/08 22:25:52 jpp Exp $ |
# $Id: smeserver-clamav.spec,v 1.12 2021/04/19 00:56:51 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 6 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
35 |
SME Server enhancement to configure and run clamd and freshclam |
SME Server enhancement to configure and run clamd and freshclam |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Wed Jun 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-9.sme |
39 |
|
- fix typo in logrotate [SME: 11608] |
40 |
|
|
41 |
|
* Sun Apr 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-8.sme |
42 |
|
- fix typo and missing +x [SME: 11520] |
43 |
|
|
44 |
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-6.sme |
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-6.sme |
45 |
- fix issues with non epel standard scan.conf [SME: 11520] |
- fix issues with non epel standard scan.conf [SME: 11520] |
46 |
move clamd.conf to scan.conf |
move clamd.conf to scan.conf |
417 |
fi |
fi |
418 |
%post |
%post |
419 |
# removing old conf file |
# removing old conf file |
420 |
if [[ -f /etc/clam.d/clamd.conf ]]; then |
if [[ -f /etc/clamd.d/clamd.conf ]]; then |
421 |
rm -f /etc/clam.d/clamd.conf |
rm -f /etc/clamd.d/clamd.conf |
422 |
fi |
fi |
423 |
|
|
424 |
#echo "Changing freshclam log owners" |
#echo "Changing freshclam log owners" |
441 |
--dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \ |
--dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \ |
442 |
--dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \ |
--dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \ |
443 |
--dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \ |
--dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \ |
444 |
|
--file /sbin/clamdscan 'attr(0755,root,root)' \ |
445 |
--file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \ |
--file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \ |
446 |
--file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \ |
--file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \ |
447 |
--file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \ |
--file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \ |