From 3896639549726dbaa5341740bf15be4c4941e6dd Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sat, 29 Jan 2005 17:34:37 +0000 Subject: - Update to 3.2.6 PR: ports/76796 Submitted by: Ion-Mihai "IOnut" Tetcu (maintainer) --- mail/dspam/files/UPDATING | 14 ++++++++++++++ mail/dspam/files/patch-dspam.c | 28 ++++++++++++++++++++++++++++ mail/dspam/files/patch-tools_dspam_clean.c | 18 ++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 mail/dspam/files/patch-dspam.c create mode 100644 mail/dspam/files/patch-tools_dspam_clean.c (limited to 'mail/dspam/files') diff --git a/mail/dspam/files/UPDATING b/mail/dspam/files/UPDATING index a328ad0fd16d..b755a547e0be 100644 --- a/mail/dspam/files/UPDATING +++ b/mail/dspam/files/UPDATING @@ -10,6 +10,20 @@ also the UPGRADING enclosed in the dspam distribution. You can see it by doing in the port directory: make extract; more `find . -type f -maxdepth 2 -name UPGRADING` +############################################################################# +# dspam-3.2.6 +# + +- In v3.2.6, the default level of statistical sedation has been changed from +5 to 0 (off). This feature is normally overridden by dspam.conf, but if you +have removed the feature from the default configuration, this may change +DSPAM's behavior. To ensure that nothing changes in your filter's behavior, +make sure the following line is in your dspam.conf: +Feature tb=5 + +- fix for statisticalSedation ignore + + ############################################################################# # dspam-3.2.4 # diff --git a/mail/dspam/files/patch-dspam.c b/mail/dspam/files/patch-dspam.c new file mode 100644 index 000000000000..4863a8411661 --- /dev/null +++ b/mail/dspam/files/patch-dspam.c @@ -0,0 +1,28 @@ +*** dspam.c Fri Jan 28 14:33:46 2005 +--- dspam.c.orig Fri Jan 28 14:33:40 2005 +*************** +*** 2748,2757 **** + free(SIG.data); + nt_destroy (inoc_users); + nt_destroy (classify_users); +! if (CTX) + dspam_destroy (CTX); + return result; +- + } + + int +--- 2748,2760 ---- + free(SIG.data); + nt_destroy (inoc_users); + nt_destroy (classify_users); +! if (CTX) { +! if (CTX->signature == &SIG) { +! CTX->signature = NULL; +! } + dspam_destroy (CTX); ++ } + return result; + } + + int diff --git a/mail/dspam/files/patch-tools_dspam_clean.c b/mail/dspam/files/patch-tools_dspam_clean.c new file mode 100644 index 000000000000..aef014c87d43 --- /dev/null +++ b/mail/dspam/files/patch-tools_dspam_clean.c @@ -0,0 +1,18 @@ +Index: tools/dspam_clean.c +=================================================================== +RCS file: /usr/local/cvsroot/dspam-3.2/tools/dspam_clean.c,v +retrieving revision 1.5 +diff -u -r1.5 dspam_clean.c +--- tools/dspam_clean.c 25 Oct 2004 22:57:56 -0000 1.5 ++++ tools/dspam_clean.c 28 Jan 2005 19:58:49 -0000 +@@ -188,7 +188,7 @@ + nt_add(users, argv[i]); + } + +- if (!do_probs && !do_sigs && !do_unused) { ++ if (help || !do_probs && !do_sigs && !do_unused) { + fprintf(stderr, "%s", CLEANSYNTAX); + _ds_destroy_attributes(agent_config); + nt_destroy(users); + +L. -- cgit v1.2.3