[pkg-dspam-commits] r79 - trunk/debian

Jesus Climent mooch at costa.debian.org
Tue Mar 14 17:27:41 UTC 2006


Author: mooch
Date: Tue Mar 14 17:27:40 2006
New Revision: 79

Modified:
   trunk/debian/changelog
   trunk/debian/control
   trunk/debian/dspam.cron.daily
Log:
Recommend clamav-daemon.
Repaired daily cron file.

Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog	(original)
+++ trunk/debian/changelog	Tue Mar 14 17:27:40 2006
@@ -1,3 +1,10 @@
+dspam (3.6.4-3) unstable; urgency=low
+
+  * Small changes in daily crontab (Closes: #356874).
+  * Recommend clamav-daemon, instead of clamav (Closes: #356899).
+
+ -- Debian DSPAM Maintainers <pkg-dspam-misc at lists.alioth.debian.org>  Tue, 14 Mar 2006 17:24:06 +0000
+
 dspam (3.6.4-2) unstable; urgency=low
 
   * Updated dependency of libmysqlclient to 15-dev (Closes: #354218).

Modified: trunk/debian/control
==============================================================================
--- trunk/debian/control	(original)
+++ trunk/debian/control	Tue Mar 14 17:27:40 2006
@@ -9,7 +9,7 @@
 Package: dspam
 Architecture: any
 Depends: procmail, adduser, ${shlibs:Depends}
-Recommends: dspam-doc, clamav
+Recommends: dspam-doc, clamav-daemon
 Description: is a scalable, fast and statistical anti-spam filter
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:

Modified: trunk/debian/dspam.cron.daily
==============================================================================
--- trunk/debian/dspam.cron.daily	(original)
+++ trunk/debian/dspam.cron.daily	Tue Mar 14 17:27:40 2006
@@ -1,11 +1,10 @@
 #!/bin/sh
 #
-# Clean up the db4 databases
+# Clean up the hash databases
 
 DSPAMCONF=/etc/dspam/dspam.conf
-DSPAMSTORAGE=`cat $DSPAMCONF | grep "^StorageDriver.*hash_drv.so"`
 
-if [ ! -z $DSPAMSTORAGE ]; then
+if grep -q "^StorageDriver.*hash_drv.so" $DSPAMCONF; then
   if [ -x /usr/bin/dspam_clean ]; then
     /usr/bin/dspam_clean -s -p
   fi



More information about the Pkg-dspam-commits mailing list