/[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.17 by terryfage, Sat Jan 1 04:01:58 2022 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.16 2021/12/30 08:34:13 terryfage 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 13
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 13  Source: %{name}-%{version}.tar.xz Line 13  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  Patch1: smeserver-clamav-2.7.0-bz11313-clamdtop.patch
15  Patch2: smeserver-clamav-2.7.0-bz11520-clamd2scan.conf.patch  Patch2: smeserver-clamav-2.7.0-bz11520-clamd2scan.conf.patch
16    Patch3: smeserver-clamav-2.7.0-bz11755-identify-freshclam-error.patch
17    Patch4: smeserver-clamav-2.7.0-bz11695-properties.patch
18    Patch5: smeserver-clamav-2.7.0-bz11695-propertyfix.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 35  BuildRequires: e-smith-devtools Line 38  BuildRequires: e-smith-devtools
38  SME Server enhancement to configure and run clamd and freshclam  SME Server enhancement to configure and run clamd and freshclam
39    
40  %changelog  %changelog
41    * Sat Jan 01 2022 Terry Fage <tfage@yahoo.com.au> 2.7.0-13.sme
42    - fix property name error 2.7.0-12.sme [SME: 11695]
43    
44    * Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-12.sme
45    - fix spec file error 2.7.0-11.sme [SME: 11474]
46    
47    * Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-11.sme
48    - rename property ArchiveBlockEncrypted to AlertEncrypted as per upstream [SME: 11695]
49      added properties AlertBrokenExecutables AlertExceedsMax AlertOLE2Macros
50      AlertPartitionIntersection AlertPhishingCloak and AlertPhishingSSLMismatch
51      with default no
52      added property HeuristicAlerts with default yes
53    - fix noise on centos2sme [SME: 11474]
54    
55    * Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-10.sme
56    - identify from which server is freshclam error [SME: 11755]
57      fix from  Graeme Fleming
58    
59    * Wed Jun 09 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-9.sme
60    - fix typo in logrotate [SME: 11608]
61    
62    * Sun Apr 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-8.sme
63    - fix typo and missing +x [SME: 11520]
64    
65  * 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
66  - fix issues with non epel standard scan.conf [SME: 11520]  - fix issues with non epel standard scan.conf [SME: 11520]
67    move clamd.conf to scan.conf    move clamd.conf to scan.conf
# Line 392  rm -rf root/etc/e-smith/templates/usr/li Line 419  rm -rf root/etc/e-smith/templates/usr/li
419  rm -rf root/usr/lib/systemd/system/freshclam.service.d  rm -rf root/usr/lib/systemd/system/freshclam.service.d
420  %patch1 -p1  %patch1 -p1
421  %patch2 -p1  %patch2 -p1
422    %patch3 -p1
423    %patch4 -p1
424    %patch5 -p1
425    
426  %build  %build
427  perl createlinks  perl createlinks
# Line 411  if [ $1 -gt 1 ] ; then Line 441  if [ $1 -gt 1 ] ; then
441  fi  fi
442  %post  %post
443  # removing old conf file  # removing old conf file
444  if [[ -f /etc/clam.d/clamd.conf ]]; then  if [[ -f /etc/clamd.d/clamd.conf ]]; then
445     rm -f /etc/clam.d/clamd.conf     rm -f /etc/clamd.d/clamd.conf
446  fi  fi
447    
448  #echo "Changing freshclam log owners"  #echo "Changing freshclam log owners"
449  if [[ -d /var/log/freshclam ]]; then  if [[ -d /var/log/freshclam ]]; then
450    chown -R clamupdate:clamupdate /var/log/freshclam;    chown -R clamupdate:clamupdate /var/log/freshclam;
   chown -R clamupdate:clamupdate /var/log/freshclam/*;  
451  fi  fi
452    
453  #echo "Changing clamd log owners"  #echo "Changing clamd log owners"
454  if [[ -d /var/log/clamd ]]; then  if [[ -d /var/log/clamd ]]; then
455    chown -R clamscan:clamscan /var/log/clamd;    chown -R clamscan:clamscan /var/log/clamd;
   chown -R clamscan:clamscan /var/log/clamd/*;  
456  fi  fi
457    
458  %install  %install
# Line 435  rm -rf $RPM_BUILD_ROOT Line 463  rm -rf $RPM_BUILD_ROOT
463    --dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \    --dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \
464    --dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \    --dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \
465    --dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \    --dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \
466      --file /sbin/clamdscan 'attr(0755,root,root)' \
467    --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \    --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \
468    --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \    --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \
469    --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