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

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

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

Revision 1.3 by vip-ire, Thu Mar 3 10:30:49 2016 UTC Revision 1.7 by dani, Wed Mar 14 12:48:09 2018 UTC
# Line 1  Line 1 
1  # $Id: clamav.spec,v 1.2 2016/02/04 11:58:13 vip-ire Exp $  # $Id: clamav.spec,v 1.6 2018/01/27 10:44:12 dani Exp $
2  # Authority: dag  # Authority: dag
3  # Upstream: <clamav-devel$lists,sf,net>  # Upstream: <clamav-devel$lists,sf,net>
4    
# Line 13  Line 13 
13    
14  Summary: Anti-virus software  Summary: Anti-virus software
15  Name: clamav  Name: clamav
16  Version: 0.99.1  Version: 0.99.4
17  Release: 1%{?dist}  Release: 1%{?dist}
18  License: GPL  License: GPL
19  Group: Applications/System  Group: Applications/System
# Line 289  fi Line 289  fi
289  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
290    
291  %post -n clamd  %post -n clamd
292  /sbin/chkconfig --add clamd  %systemd_post clamav-daemon.service
293    
294  %preun -n clamd  %preun -n clamd
295  if [ $1 -eq 0 ]; then  %systemd_preun clamav-daemon.service
     /sbin/service clamd stop &>/dev/null || :  
     /sbin/chkconfig --del clamd  
 fi  
296    
297  %postun -n clamd  %postun -n clamd
298  /sbin/service clamd condrestart &>/dev/null || :  %systemd_postun
299    
300  %post milter  %post milter
301  /sbin/chkconfig --add clamav-milter  /sbin/chkconfig --add clamav-milter
# Line 316  fi Line 313  fi
313  /usr/sbin/groupadd -r clamav 2>/dev/null || :  /usr/sbin/groupadd -r clamav 2>/dev/null || :
314  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :  /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
315    
316    %post db
317    %systemd_post clamav-freshclam.service
318    
319    %preun db
320    %systemd_preun clamav-freshclam.service
321    
322    %postun db
323    %systemd_postun
324    
325  %clean  %clean
326  %{__rm} -rf %{buildroot}  %{__rm} -rf %{buildroot}
327    
# Line 333  fi Line 339  fi
339  %doc %{_mandir}/man1/freshclam.1*  %doc %{_mandir}/man1/freshclam.1*
340  %doc %{_mandir}/man5/freshclam.conf.5*  %doc %{_mandir}/man5/freshclam.conf.5*
341  %config(noreplace) %{_sysconfdir}/freshclam.conf  %config(noreplace) %{_sysconfdir}/freshclam.conf
342    %{_unitdir}/clamav-freshclam.service
343  %{_bindir}/clambc  %{_bindir}/clambc
344  %{_bindir}/clamscan  %{_bindir}/clamscan
345  %{_bindir}/freshclam  %{_bindir}/freshclam
# Line 359  fi Line 366  fi
366  %config(noreplace) %{_sysconfdir}/clamd.conf  %config(noreplace) %{_sysconfdir}/clamd.conf
367  %config(noreplace) %{_sysconfdir}/logrotate.d/clamav  %config(noreplace) %{_sysconfdir}/logrotate.d/clamav
368  %config %{_initrddir}/clamd  %config %{_initrddir}/clamd
369    %{_unitdir}/clamav-daemon.service
370    %{_unitdir}/clamav-daemon.socket
371  %{_sbindir}/clamd  %{_sbindir}/clamd
372  %{_bindir}/clamconf  %{_bindir}/clamconf
373  %{_bindir}/clamdscan  %{_bindir}/clamdscan
# Line 408  fi Line 417  fi
417  %exclude %{_libdir}/libclamunrar_iface.la  %exclude %{_libdir}/libclamunrar_iface.la
418    
419  %changelog  %changelog
420    * Wed Mar 14 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.4-1.sme
421    - Update to 0.99.4 [SME: 10528]
422    
423    * Sat Jan 27 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.3-1.sme
424    - Update to 0.99.3 [SME: 10500]
425    
426    * Tue May 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.2-1.sme
427    - Update to 0.99.2 [SME: 9487]
428    - Adapt to use systemd unit [SME: 9487]
429    
430  * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme  * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme
431  - Update to 0.99.1 [SME: 9268]  - Update to 0.99.1 [SME: 9268]
432    


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