packages: clamav-database/clamav-database.spec - up daily.cvd to 1197 - add...
lisu
lisu at pld-linux.org
Mon Sep 20 12:10:26 CEST 2010
Author: lisu Date: Mon Sep 20 10:10:26 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up daily.cvd to 1197
- add bytecode.cvd and safebrowsing.cvd virus databases
---- Files affected:
packages/clamav-database:
clamav-database.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: packages/clamav-database/clamav-database.spec
diff -u packages/clamav-database/clamav-database.spec:1.33 packages/clamav-database/clamav-database.spec:1.34
--- packages/clamav-database/clamav-database.spec:1.33 Thu Sep 9 11:41:07 2010
+++ packages/clamav-database/clamav-database.spec Mon Sep 20 12:10:20 2010
@@ -1,20 +1,26 @@
# $Revision$, $Date$
%define main_version 52
-%define daily_version 1185
-%define database_version 20100909
+%define daily_version 1197
+%define bytecode_version 50
+%define safebrowsing_version 2388
+%define database_version 20100920
%define rel 1
Summary: Virus databases for clamav
Summary(hu.UTF-8): Vírus adatbázis clamav-hoz
Summary(pl.UTF-8): Bazy wirusów dla clamava
Name: clamav-database
-Version: %{main_version}.%{daily_version}
+Version: %{main_version}.%{daily_version}.%{bytecode_version}.%{safebrowsing_version}
Release: %{database_version}.%{rel}
License: GPL
Group: Applications/Databases
Source0: http://db.local.clamav.net/main.cvd
# Source0-md5: b1e43b47f292fe18f5fd6155925b756b
Source1: http://db.local.clamav.net/daily.cvd
-# Source1-md5: 6639ed673ad7493b5d9e28f23bd0b430
+# Source1-md5: 1bedb4000f2039d9c6f9a08e61733418
+Source2: http://db.local.clamav.net/bytecode.cvd
+# Source2-md5: 6607d0a07b3e6f13a60aba0e00d23036
+Source3: http://db.local.clamav.net/safebrowsing.cvd
+# Source3-md5: bd31f2e47fbcd046d4436330c404ed67
URL: http://www.clamav.net/
BuildRequires: file
Requires: clamav
@@ -32,11 +38,13 @@
%prep
%setup -qcT
-cp -a %{SOURCE0} %{SOURCE1} .
+cp -a %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build
main_version=$(file main.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
daily_version=$(file daily.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
+bytecode_version=$(file bytecode.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
+safebrowsing_version=$(file safebrowsing.cvd | awk -F, '/version/{print $2}' | awk '{print $NF}')
if [ "$main_version" != %{main_version} ]; then
: Update %%define main_version $main_version, and retry
exit 1
@@ -45,6 +53,14 @@
: Update %%define daily_version $daily_version, and retry
exit 1
fi
+if [ "$bytecode_version" != %{bytecode_version} ]; then
+ : Update %%define bytecode_version $bytecode_version, and retry
+ exit 1
+fi
+if [ "$safebrowsing_version" != %{safebrowsing_version} ]; then
+ : Update %%define safebrowsing_version $safebrowsing_version, and retry
+ exit 1
+fi
%install
rm -rf $RPM_BUILD_ROOT
@@ -66,6 +82,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2010/09/20 10:10:20 lisu
+- up daily.cvd to 1197
+- add bytecode.cvd and safebrowsing.cvd virus databases
+
Revision 1.33 2010/09/09 09:41:07 lisu
- 52.1185-20100909
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/clamav-database/clamav-database.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list