Hello community, here is the log from the commit of package clamav checked in at Tue Mar 6 09:02:48 CET 2007. -------- --- clamav/clamav.changes 2007-03-02 16:37:17.000000000 +0100 +++ /mounts/work_src_done/STABLE/clamav/clamav.changes 2007-03-05 16:05:16.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Mar 5 16:00:56 CET 2007 - max@suse.de + +- Extended the database presence check in rcclamd to accept the + main.inc directory in addition to the main.cvd file, because + freshclam can delete the file during a scripted update. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clamav.spec ++++++ --- /var/tmp/diff_new_pack.k18214/_old 2007-03-06 09:02:32.000000000 +0100 +++ /var/tmp/diff_new_pack.k18214/_new 2007-03-06 09:02:32.000000000 +0100 @@ -16,7 +16,7 @@ %endif Summary: Antivirus Toolkit Version: 0.90.1 -Release: 1 +Release: 2 License: GNU General Public License (GPL) Group: Productivity/Security URL: http://www.clamav.net @@ -200,6 +200,10 @@ done %changelog +* Mon Mar 05 2007 - max@suse.de +- Extended the database presence check in rcclamd to accept the + main.inc directory in addition to the main.cvd file, because + freshclam can delete the file during a scripted update. * Fri Mar 02 2007 - max@suse.de - Update to version 0.90.1 (#250566) - Some bug fixes and code improvements ++++++ clamav-rcclamd ++++++ --- clamav/clamav-rcclamd 2007-02-19 14:05:01.000000000 +0100 +++ /mounts/work_src_done/STABLE/clamav/clamav-rcclamd 2007-03-05 16:00:08.000000000 +0100 @@ -102,7 +102,7 @@ if [ "$1" = "stop" ]; then exit 0; else exit 5; fi; } -CLAMD_DB=/var/lib/clamav/main.cvd +CLAMD_DBDIR=$(clamconf | sed -n '/DatabaseDirectory = /{s///;s/"//g;p;q}') CLAMD_PIDFILE=/var/lib/clamav/clamd.pid # Source LSB init functions @@ -151,9 +151,9 @@ start) echo -n "Starting Clam AntiVirus daemon " # Check if there is a virus definition file - if ! test -f $CLAMD_DB ; then + if ! test -f $CLAMD_DBDIR/main.cvd -o -d $CLAMD_DBDIR/main.inc ; then echo "" - echo " Virus definition file $CLAMD_DB is missing." + echo " Virus definitions are missing from $CLAMD_DB." echo " Either install the clamav-db package or run freshclam " echo -n " to get the virus definitions." rc_failed 6 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org