Hello,
Here's a minor update to mail/dspam, all flavors have been tested on
i386 and amd64.
3.6.7 is a maintenance release.
BUGFIX: Using UIDInSignature, wrong UID is written to message when
using groups
BUGFIX: PostgreSQL driver does not reconnect on failure in daemon mode
BUGFIX: X-DSPAM-Probability sometimes misreported when multiple
algorithms used
BUGFIX: Agent segfaults when DeliveryHost or ClientHost not
specified, --client
BUGFIX: Agent segfaults on some systems when syslog is used
BUGFIX: Agent segfaults when dlopen() to storage library fails
BUGFIX: Infinite loop created when deleting preference, not using
extensions
BUGFIX: ATX (agent context) does not hold enough bits for 'flags'
variable
--
Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
http://forum.manucure.info - http://www.manucure-pro.com
Index: Makefile
===================================================================
RCS file: /cvs/cvs/openbsd/ports/mail/dspam/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 15 May 2006 12:01:25 -0000 1.14
+++ Makefile 5 Jun 2006 22:51:41 -0000
@@ -2,7 +2,7 @@
COMMENT= "anti-spam filter"
-VERSION= 3.6.6
+VERSION= 3.6.7
DISTNAME= dspam-${VERSION}
SHARED_LIBS= dspam 7.0
CATEGORIES= mail
Index: distinfo
===================================================================
RCS file: /cvs/cvs/openbsd/ports/mail/dspam/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo 15 May 2006 12:01:25 -0000 1.10
+++ distinfo 5 Jun 2006 22:51:54 -0000
@@ -1,4 +1,4 @@
-MD5 (dspam-3.6.6.tar.gz) = 72dbf9d802ac3645c93b715c81cc9f50
-RMD160 (dspam-3.6.6.tar.gz) = 2416908398e7e8e6a180e97dbebd4f9aee6088d7
-SHA1 (dspam-3.6.6.tar.gz) = 6113966122597c277d51b7f27539b899c3dcf847
-SIZE (dspam-3.6.6.tar.gz) = 725502
+MD5 (dspam-3.6.7.tar.gz) = 3d16fcdaa7428aef13e13c37510481e3
+RMD160 (dspam-3.6.7.tar.gz) = 4f33be032362ce2617820d5a70375713f57798f7
+SHA1 (dspam-3.6.7.tar.gz) = 5d34d86a4c0a4a2d2cccc32b598c22d29c030a58
+SIZE (dspam-3.6.7.tar.gz) = 743169
Index: patches/patch-src_dspam_c
===================================================================
RCS file: /cvs/cvs/openbsd/ports/mail/dspam/patches/patch-src_dspam_c,v
retrieving revision 1.6
diff -u -r1.6 patch-src_dspam_c
--- patches/patch-src_dspam_c 15 May 2006 12:01:25 -0000 1.6
+++ patches/patch-src_dspam_c 5 Jun 2006 22:53:51 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_dspam_c,v 1.6 2006/05/15 12:01:25 todd Exp $
---- src/dspam.c.orig Sat May 13 14:17:30 2006
-+++ src/dspam.c Sun May 14 21:32:13 2006
-@@ -383,7 +383,7 @@ process_message (
+--- src/dspam.c.orig Tue May 30 17:03:55 2006
++++ src/dspam.c Tue Jun 6 00:52:09 2006
+@@ -387,7 +387,7 @@ process_message (
CTX->confidence = 1.0;
STATUS("A virus was detected in the message contents");
result = DSR_ISSPAM;
@@ -10,7 +10,7 @@
internally_canned = 1;
}
}
-@@ -396,7 +396,7 @@ process_message (
+@@ -400,7 +400,7 @@ process_message (
result = DSR_ISSPAM;
CTX->probability = 1.0;
CTX->confidence = 1.0;
@@ -19,7 +19,7 @@
internally_canned = 1;
}
-@@ -416,7 +416,7 @@ process_message (
+@@ -420,7 +420,7 @@ process_message (
result = DSR_ISSPAM;
CTX->probability = 1.0;
CTX->confidence = 1.0;
@@ -28,7 +28,7 @@
internally_canned = 1;
}
}
-@@ -747,10 +747,10 @@ process_message (
+@@ -751,10 +751,10 @@ process_message (
switch (CTX->result) {
case DSR_ISSPAM:
@@ -41,7 +41,7 @@
break;
}
-@@ -1015,7 +1015,7 @@ int tag_message(AGENT_CTX *ATX, ds_messa
+@@ -1019,7 +1019,7 @@ int tag_message(AGENT_CTX *ATX, ds_messa
int tagged = 0;
char spam_subject[16];
@@ -50,7 +50,7 @@
if (_ds_pref_val(ATX->PTX, "spamSubject")[0] != '\n' &&
_ds_pref_val(ATX->PTX, "spamSubject")[0] != 0)
{
-@@ -1589,7 +1589,7 @@ int process_users(AGENT_CTX *ATX, buffer
+@@ -1593,7 +1593,7 @@ int process_users(AGENT_CTX *ATX, buffer
if (parse_message == NULL) {
LOG(LOG_CRIT, ERR_MEM_ALLOC);
presult->exitcode = ERC_PROCESS;
Index: patches/patch-src_mysql_drv_c
===================================================================
RCS file: /cvs/cvs/openbsd/ports/mail/dspam/patches/patch-src_mysql_drv_c,v
retrieving revision 1.4
diff -u -r1.4 patch-src_mysql_drv_c
--- patches/patch-src_mysql_drv_c 15 May 2006 12:01:25 -0000 1.4
+++ patches/patch-src_mysql_drv_c 5 Jun 2006 22:53:51 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_mysql_drv_c,v 1.4 2006/05/15 12:01:25 todd Exp $
---- src/mysql_drv.c.orig Sat May 13 14:17:30 2006
-+++ src/mysql_drv.c Sun May 14 21:32:13 2006
-@@ -1358,7 +1358,7 @@ _ds_get_nextuser (DSPAM_CTX * CTX)
+--- src/mysql_drv.c.orig Sat Jun 3 05:15:49 2006
++++ src/mysql_drv.c Tue Jun 6 00:52:09 2006
+@@ -1361,7 +1361,7 @@ _ds_get_nextuser (DSPAM_CTX * CTX)
virtual_username,
virtual_table);
#else
Index: patches/patch-src_pgsql_drv_c
===================================================================
RCS file: /cvs/cvs/openbsd/ports/mail/dspam/patches/patch-src_pgsql_drv_c,v
retrieving revision 1.2
diff -u -r1.2 patch-src_pgsql_drv_c
--- patches/patch-src_pgsql_drv_c 23 Mar 2006 17:17:40 -0000 1.2
+++ patches/patch-src_pgsql_drv_c 5 Jun 2006 22:53:51 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_pgsql_drv_c,v 1.2 2006/03/23 17:17:40 todd Exp $
---- src/pgsql_drv.c.orig Thu Feb 2 11:15:36 2006
-+++ src/pgsql_drv.c Sat Mar 4 19:08:13 2006
-@@ -1133,7 +1133,7 @@ _ds_get_signature (DSPAM_CTX * CTX, stru
+--- src/pgsql_drv.c.orig Sat Jun 3 05:15:27 2006
++++ src/pgsql_drv.c Tue Jun 6 00:52:09 2006
+@@ -1149,7 +1149,7 @@ _ds_get_signature (DSPAM_CTX * CTX, stru
p = _pgsql_drv_getpwuid (CTX, uid);
if (!p) {
@@ -10,7 +10,7 @@
return EFAILURE;
}
username = strdup(p->pw_name);
-@@ -1392,7 +1392,7 @@ _ds_get_nextuser (DSPAM_CTX * CTX)
+@@ -1408,7 +1408,7 @@ _ds_get_nextuser (DSPAM_CTX * CTX)
virtual_username,
virtual_table);
#else