/[smeserver]/rpms/smeserver-clamav/sme10/smeserver-clamav.spec
ViewVC logotype

Diff of /rpms/smeserver-clamav/sme10/smeserver-clamav.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.10 by jpp, Wed Apr 7 21:05:46 2021 UTC Revision 1.11 by jpp, Sun Apr 18 20:18:15 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-clamav.spec,v 1.9 2021/01/08 22:25:52 jpp Exp $  # $Id: smeserver-clamav.spec,v 1.10 2021/04/07 21:05:46 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 7
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 35  BuildRequires: e-smith-devtools Line 35  BuildRequires: e-smith-devtools
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    * Sun Apr 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-7.sme
39    - fix typo and missing +x [SME: 11520]
40    
41  * 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
42  - fix issues with non epel standard scan.conf [SME: 11520]  - fix issues with non epel standard scan.conf [SME: 11520]
43    move clamd.conf to scan.conf    move clamd.conf to scan.conf
# Line 411  if [ $1 -gt 1 ] ; then Line 414  if [ $1 -gt 1 ] ; then
414  fi  fi
415  %post  %post
416  # removing old conf file  # removing old conf file
417  if [[ -f /etc/clam.d/clamd.conf ]]; then  if [[ -f /etc/clamd.d/clamd.conf ]]; then
418     rm -f /etc/clam.d/clamd.conf     rm -f /etc/clamd.d/clamd.conf
419  fi  fi
420    
421  #echo "Changing freshclam log owners"  #echo "Changing freshclam log owners"
# Line 435  rm -rf $RPM_BUILD_ROOT Line 438  rm -rf $RPM_BUILD_ROOT
438    --dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \    --dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \
439    --dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \    --dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \
440    --dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \    --dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \
441      --file /usr/sbin/clamdscan 'attr(0755,root,root)' \
442    --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \    --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \
443    --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \    --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \
444    --file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \    --file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed