[clamav/f16] ship local copy of virus database

ensc ensc at fedoraproject.org
Sat Jun 16 10:32:05 UTC 2012


commit 7904c550ff49780dd8b536166f42a7c79227cb4b
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date:   Sat Jun 16 12:22:58 2012 +0200

    ship local copy of virus database
    
    Although it is a welcome change that database was removed from upstream
    tarball, this seems to happened by accident only.  To avoid big changes
    until situation has been clarified ship a manually downloaded copy for
    now.

 clamav.spec |    8 ++++++++
 sources     |    2 ++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index f9ee71f..39cca40 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -74,6 +74,10 @@ Source5:	clamd-README
 Source6:	clamav-update.logrotate
 Source7:	clamd.SERVICE.init
 Source8:	clamav-notify-servers
+
+Source10:	http://db.local.clamav.net/main-54.cvd
+Source11:	http://db.local.clamav.net/daily-15050.cvd
+
 Patch24:	clamav-0.92-private.patch
 Patch25:	clamav-0.92-open.patch
 Patch26:	clamav-0.95-cliopts.patch
@@ -477,6 +481,8 @@ rm -f	$RPM_BUILD_ROOT%_sysconfdir/clamd.conf \
 touch $RPM_BUILD_ROOT%homedir/daily.cld
 touch $RPM_BUILD_ROOT%homedir/main.cld
 
+install -D -m 0644 -p %SOURCE10		$RPM_BUILD_ROOT%homedir/main.cvd
+install -D -m 0644 -p %SOURCE11		$RPM_BUILD_ROOT%homedir/daily.cvd
 
 ## prepare the server-files
 install -D -m 0644 -p %SOURCE2		_doc_server/clamd.sysconfig
@@ -840,6 +846,8 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
 - CVE-2012-1459: allows to bypass malware detection via a TAR archive
   entry with a length field corresponding to that entire entry, plus
   part of the header of the next entry
+- ship local copy of virus database; it was removed by accident from
+  0.97.5 tarball
 
 * Fri Mar 16 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.97.4-1600
 - updated to 0.97.4
diff --git a/sources b/sources
index 94f05dd..7f41adc 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 f8e88e6adc82349e5babfa6ee7bb98fa  clamav-0.97.5-norar.tar.xz
+a7d25938fe8fcc4694a52937d15bd2cc  daily-15050.cvd
+eb12490fda87d602e476d4b163f8a34b  main-54.cvd


More information about the scm-commits mailing list