Hi,

I just want to share 2 small patches we use in the Debian package and  that
I failed to forward earlier.

  1. 011_Document-hash-drv-support-daemon.diff
     hash driver support daemon mode since version 3.6rc2

  2. 012_typo-dspam_maintenance.diff
     Fix typo in dspam_maintenance for pgsql backend

I look forward to reading your comments.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <jul...@kirya.net> ~ <jul...@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1
Description: hash driver support daemon mode since version 3.6rc2 (see upstream CHANGELOG)
Author: Debian DSPAM Maintainers <pkg-dspam-m...@lists.alioth.debian.org>
Forwarded: no

--- a/README
+++ b/README
@@ -1714,9 +1714,9 @@
 
   The DSPAM agent can be compiled with client/server support by configuring
   with --enable-daemon. You will need to use a multithread-safe storage driver
-  (presently mysql_drv and pgsql_drv are supported). Once you have compiled
-  with daemon support, you'll need to modify your dspam.conf to provide the
-  settings necessary for client/server mode:
+  (presently mysql_drv, pgsql_drv and hash_drv are supported). Once you have
+  compiled with daemon support, you'll need to modify your dspam.conf to
+  provide the settings necessary for client/server mode:
 
 	ServerHost		127.0.0.1
 
Description: Fix typo in dspam_maintenance for pgsql backend
Author: Rodolphe Pelloux-Prayer <rodol...@damsy.net> 
Forwarded: no

--- a/contrib/dspam_maintenance/dspam_maintenance.sh
+++ b/contrib/dspam_maintenance/dspam_maintenance.sh
@@ -504,7 +504,7 @@
 				-e "/^DELETE FROM dspam_signature_data/,/COMMIT/{s:^\([\t ]*WHERE[\t ]\{1,\}created_on[\t ]\{1,\}<[\t ]\{1,\}CURRENT_DATE[\t ]\{1,\}\-[\t ]\{1,\}\)14\(.*\)$:\1${SIGNATURE_AGE}\2:g}" \
 				-e "/^DELETE FROM dspam_token_data/,/COMMIT/{s:^\([\t ]*AND[\t ]\{1,\}last_hit[\t ]\{1,\}<[\t ]\{1,\}CURRENT_DATE[\t ]\{1,\}\-[\t ]\{1,\}\)[36]0\(.*\)$:\1${HAPAXES_AGE}\2:g}" \
 				-e "/^DELETE FROM dspam_token_data/,/COMMIT/{s:^\([\t ]*AND[\t ]\{1,\}last_hit[\t ]\{1,\}<[\t ]\{1,\}CURRENT_DATE[\t ]\{1,\}\-[\t ]\{1,\}\)15\(.*\)$:\1${HITS1MAX}\2:g}" \
-				-e "/^DELETE FROM dspam_token_data/,/COMMIT/{s:^\([\t ]*\(AND\|WHERE\)[\t ]\{1,\}last_hit[\t ]\{1,\}<[\t ]\{1,\}CURRENT_DATE[\t ]\{1,\}\-[\t ]\{1,\}\)90\(.*\)$:\1${UNUSED_AGE}\2:g}" \
+				-e "/^DELETE FROM dspam_token_data/,/COMMIT/{s:^\([\t ]*\(AND\|WHERE\)[\t ]\{1,\}last_hit[\t ]\{1,\}<[\t ]\{1,\}CURRENT_DATE[\t ]\{1,\}\-[\t ]\{1,\}\)90\(.*\)$:\1${UNUSED_AGE}\3:g}" \
 				"${DSPAM_PgSQL_PURGE_SQL}">"${DSPAM_SQL_TMPFILE}"
 			[ -r "${DSPAM_SQL_TMPFILE}" ] && DSPAM_PgSQL_PURGE_SQL="${DSPAM_SQL_TMPFILE}"
 		fi
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to