Accepting request 416677 from security
- boo#991812: Remove obsolete dependency on latex2html-pngicons. - Trim useless words from description and fix spellos. Test for user/group existence before adding and always show errors when they occur. OBS-URL: https://build.opensuse.org/request/show/416677 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clamav?expand=0&rev=85
This commit is contained in:
commit
1d87629a77
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 3 08:46:11 UTC 2016 - max@suse.com
|
||||
|
||||
- boo#991812: Remove obsolete dependency on latex2html-pngicons.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 14:09:26 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Trim useless words from description and fix spellos.
|
||||
Test for user/group existence before adding and always show
|
||||
errors when they occur.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 30 13:42:20 UTC 2016 - fweiss@suse.com
|
||||
|
||||
|
25
clamav.spec
25
clamav.spec
@ -43,7 +43,6 @@ Group: Productivity/Security
|
||||
Version: 0.99.2
|
||||
Release: 0
|
||||
Url: http://www.clamav.net
|
||||
Requires: latex2html-pngicons
|
||||
Obsoletes: clamav-db < 0.88.3
|
||||
Requires(pre): %_sbindir/groupadd %_sbindir/useradd %_sbindir/usermod
|
||||
Requires(pre): /usr/bin/awk /bin/sed /bin/tar
|
||||
@ -61,14 +60,14 @@ BuildRequires: systemd-rpm-macros
|
||||
%systemd_requires
|
||||
|
||||
%description
|
||||
ClamAV is an open source (GPL) antivirus engine designed for detecting
|
||||
Trojans, viruses, malware and other malicious threats. It is the de
|
||||
facto standard for mail gateway scanning. It provides a high
|
||||
performance mutli-threaded scanning daemon, command line utilities for
|
||||
on demand file scanning, and an intelligent tool for automatic
|
||||
signature updates. The core ClamAV library provides numerous file
|
||||
format detection mechanisms, file unpacking support, archive support,
|
||||
and multiple signature languages for detecting threats.
|
||||
ClamAV is an antivirus engine designed for detecting trojans,
|
||||
viruses, malware and other malicious threats. It is the de-facto
|
||||
standard for mail gateway scanning. It provides a multi-threaded
|
||||
scanning daemon, command line utilities for on-demand file scanning,
|
||||
and a tool for automatic signature updates. The core ClamAV library
|
||||
provides numerous file format detection mechanisms, file unpacking
|
||||
support, archive support, and multiple signature languages for
|
||||
detecting threats.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -97,7 +96,7 @@ CFLAGS="$CFLAGS -DFP_64BIT"
|
||||
--enable-clamdtop \
|
||||
--disable-timestamps
|
||||
|
||||
make V=1 %{?jobs:-j%jobs}
|
||||
make V=1 %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
@ -160,8 +159,10 @@ VALGRIND_GENSUP=1 make check
|
||||
%ghost %attr(755,vscan,vscan) /run/clamav
|
||||
|
||||
%pre
|
||||
%_sbindir/groupadd -r vscan 2> /dev/null || :
|
||||
%_sbindir/useradd -r -o -g vscan -u 65 -s /bin/false -c "Vscan account" -d /var/spool/amavis vscan 2> /dev/null || :
|
||||
getent group vscan >/dev/null || %_sbindir/groupadd -r vscan || :
|
||||
getent passwd vscan >/dev/null || \
|
||||
%_sbindir/useradd -r -o -g vscan -u 65 -s /bin/false \
|
||||
-c "Vscan account" -d /var/spool/amavis vscan || :
|
||||
%_sbindir/usermod vscan -g vscan 2> /dev/null || :
|
||||
%service_add_pre clamd.service freshclam.service clamav-milter.service
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user