Hello community, here is the log from the commit of package clamav for openSUSE:Factory checked in at 2013-01-07 15:01:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clamav (Old) and /work/SRC/openSUSE:Factory/.clamav.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clamav", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/clamav/clamav.changes 2012-10-07 18:54:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.clamav.new/clamav.changes 2013-01-07 15:01:34.000000000 +0100 @@ -1,0 +2,8 @@ +Sat Jan 5 01:53:56 UTC 2013 - [email protected] + +- update daily.cvd to ver. 16364 + released on 04 Jan 2013 20:37 :0500 (sig count: 492103) +- add cvd signature verification to %check section +- make Release field of clamav-db package contain cvd file versions + +------------------------------------------------------------------- Old: ---- daily-15055.cvd New: ---- daily-16364.cvd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clamav.spec ++++++ --- /var/tmp/diff_new_pack.sCGgXd/_old 2013-01-07 15:01:38.000000000 +0100 +++ /var/tmp/diff_new_pack.sCGgXd/_new 2013-01-07 15:01:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package clamav # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,6 +45,7 @@ Summary: Antivirus Toolkit License: GPL-2.0 Group: Productivity/Security +# version updates should also fetch the current cvd files for the db subpackage Version: 0.97.6 Release: 0 Url: http://www.clamav.net @@ -60,9 +61,11 @@ Source4: clamav-rpmlintrc Source5: clamav-rcmilter # http://db.local.clamav.net/main.cvd -Source6: main-54.cvd +%define main_cvd_version 54 +Source6: main-%{main_cvd_version}.cvd # http://db.local.clamav.net/daily.cvd -Source7: daily-15055.cvd +%define daily_cvd_version 16364 +Source7: daily-%{daily_cvd_version}.cvd Patch1: clamav-conf.patch Patch2: clamav-sles9.patch Patch3: clamav-gcc47.patch @@ -86,6 +89,8 @@ %if 0%{?suse_version} > 1120 BuildArch: noarch %endif +Version: %{version} +Release: %{main_cvd_version}.%{daily_cvd_version}.<CI_CNT>.<B_CNT> %description db This package contains a snapshot of the virus description database for @@ -138,11 +143,6 @@ make %{?jobs:-j%jobs} -%check -%if !0%{?qemu_user_space_build:1} -VALGRIND_GENSUP=1 make check -%endif - %install %makeinstall ln -sf docs/html/{clamdoc,index}.html @@ -170,6 +170,21 @@ # Remove bogus dependencies from libclamav.pc sed -i 's/^Libs: .*/Libs: -lclamav/' %buildroot%_libdir/pkgconfig/libclamav.pc +%check + +# signature check using installed clamav sigtool +LD_LIBRARY_PATH="%buildroot%{_libdir}" "%buildroot%{_bindir}/sigtool" --info %buildroot/var/lib/clamav/main.cvd.dist +LD_LIBRARY_PATH="%buildroot%{_libdir}" "%buildroot%{_bindir}/sigtool" --info %buildroot/var/lib/clamav/daily.cvd.dist + +# Check that cvd version matches versions declared in package +test "$(head -c512 %SOURCE6 | cut -d: -f3)" = "%{main_cvd_version}" +test "$(head -c512 %SOURCE7 | cut -d: -f3)" = "%{daily_cvd_version}" + +# regressoin tests +%if !0%{?qemu_user_space_build:1} +VALGRIND_GENSUP=1 make check +%endif + %files %defattr(-,root,root,-) %config(noreplace) %_sysconfdir/*.conf -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
