- Turn off LLVM for now, because the bundled copy is deprecated,

the versions we have are too new and the performance gain over
  the  byte code interpreter are negligable, according to upstream.
- Put libclammspack0 into its own subpackage to follow the letter
  of the shlib packaging policy, even though it really makes no
  sense here.

OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=166
This commit is contained in:
2018-04-26 15:39:59 +00:00
committed by Git OBS Bridge
parent 365105a77e
commit f1110218c2
2 changed files with 22 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
-------------------------------------------------------------------
Fri Apr 13 15:07:48 UTC 2018 - max@suse.com
Thu Apr 26 15:35:15 UTC 2018 - max@suse.com
- Update to version 0.100.0 (bsc#1089502):
* Add interfaces to the Prelude SIEM open source package for
@@ -31,11 +31,16 @@ Fri Apr 13 15:07:48 UTC 2018 - max@suse.com
for Linux.
* Obsoletes clamav-fix_newer_zlib.patch
- Update key ring and add signature file.
- Use system-wide LLVM instead of the deprecated bundled one.
- Turn off LLVM for now, because the bundled copy is deprecated,
the versions we have are too new and the performance gain over
the byte code interpreter are negligable, according to upstream.
- Move pkgconfig stuff from main to devel package.
- Re-introduce removed options as deprecated, so that clamd and
freshclam don't exit on startup with an old config file
(clamav-obsolete-config.patch).
- Put libclammspack0 into its own subpackage to follow the letter
of the shlib packaging policy, even though it really makes no
sense here.
-------------------------------------------------------------------
Wed Mar 7 13:15:11 UTC 2018 - max@suse.com

View File

@@ -26,7 +26,6 @@ BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: llvm-devel
BuildRequires: ncurses-devel
BuildRequires: pcre-devel
BuildRequires: pkgconfig
@@ -80,6 +79,14 @@ Group: System/Libraries
ClamAV is an antivirus engine designed for detecting trojans,
viruses, malware and other malicious threats.
%package -n libclammspack0
Summary: ClamAV antivirus engine runtime
Group: System/Libraries
%description -n libclammspack0
ClamAV is an antivirus engine designed for detecting trojans,
viruses, malware and other malicious threats.
%package devel
Summary: Development files for libclamav, an antivirus engine
Group: Development/Libraries/C and C++
@@ -130,8 +137,11 @@ install -m644 %{S:6} %buildroot%_tmpfilesdir/clamav.conf
mkdir -p %buildroot/var/spool/amavis
mkdir -p -m 0755 %buildroot/run/clamav
rm %buildroot/%_libdir/*.la
# Remove bogus dependencies from libclamav.pc
sed -i 's/^Libs: .*/Libs: -lclamav/' %buildroot%_libdir/pkgconfig/libclamav.pc
# libclammspack is not meant to be linked against by anything but
# libclamav
rm %buildroot%_libdir/pkgconfig/libclammspack.pc
rm %buildroot%_libdir/libclammspack.so
# fix the new config file names
pushd %buildroot/etc
@@ -183,6 +193,8 @@ VALGRIND_GENSUP=1 make check
%files -n libclamav7
%_libdir/libclam*.so.7*
%files -n libclammspack0
%_libdir/libclammspack.so.0*
%files devel