Patches from debian package
Julien Valroff <[email protected]> Sat, 18 Jun 2011 07:57:56 +0200
| Newsgroups | gmane.mail.spam.dspam.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ~ <[email protected]> ~ <[email protected]>
: :' : Debian Developer & Free software contributor
`. `'` http://www.kirya.net/
`- 4096R/ E1D8 5796 8214 4687 E416 948C 859F EF67 258E 26B1
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel
011_Document-hash-drv-support-daemon.diff
(text/x-diff, 825 B)
Description: hash driver support daemon mode since version 3.6rc2 (see upstream CHANGELOG) Author: Debian DSPAM Maintainers <[email protected]> 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
012_typo-dspam_maintenance.diff
(text/x-diff, 1.3 KB)
Description: Fix typo in dspam_maintenance for pgsql backend Author: Rodolphe Pelloux-Prayer <[email protected]> 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