From itetcu@people.tecnik93.com  Thu Jan 13 13:36:21 2005
Return-Path: <itetcu@people.tecnik93.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 022AC16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Jan 2005 13:36:21 +0000 (GMT)
Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70])
	by mx1.FreeBSD.org (Postfix) with SMTP id CFEA743D5D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Jan 2005 13:36:18 +0000 (GMT)
	(envelope-from itetcu@people.tecnik93.com)
Received: (qmail 12228 invoked from network); 13 Jan 2005 13:26:08 -0000
Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130)
  by smtp1-133.rdsnet.ro with SMTP; 13 Jan 2005 13:26:08 -0000
Received: (qmail 22357 invoked by uid 89); 13 Jan 2005 13:30:07 -0000
Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98)
  by 0 with SMTP; 13 Jan 2005 13:30:07 -0000
Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1])
	by it.buh.tecnik93.com (Postfix) with ESMTP id C51E411612
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 13 Jan 2005 15:29:42 +0200 (EET)
Message-Id: <1105622982.0@it.buh.tecnik93.com>
Date: Thu, 13 Jan 2005 15:29:42 +0200
From: "Ion-Mihai " IOnut " Tetcu" <itetcu@people.tecnik93.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [MAINTAINER] mail/dspam: updatre to 3.2.4
X-Send-Pr-Version: gtk-send-pr 0.4.1 
X-GNATS-Notify:

>Number:         76198
>Category:       ports
>Synopsis:       [MAINTAINER] mail/dspam: updatre to 3.2.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 13 13:40:25 GMT 2005
>Closed-Date:    Thu Jan 13 22:52:10 GMT 2005
>Last-Modified:  Thu Jan 13 22:52:10 GMT 2005
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 5.3-STABLE #13: Tue Dec 28 12:22:13 EET 2004



>Description:


Update to dspam-3.2.4:

drop WITH_WHITELIST, is not supported by ./configure but by dspam.conf

minor performance fixed for pgsql_drv that may have a big effect on some
implementations. you should also consider creating the (unnecessary) index
below to precent the pgsql query builder from getting confused:
CREATE INDEX id_token_data_04 ON dspam_token_data(uid);



>How-To-Repeat:





>Fix:


--- dspam-3.2.3.20041229.1945_to_dspam-3.2.4.diff begins here ---
diff -urN dspam.cvs/Makefile dspam/Makefile
--- dspam.cvs/Makefile	Wed Jan 12 10:16:06 2005
+++ dspam/Makefile	Thu Jan 13 15:20:57 2005
@@ -6,18 +6,21 @@
 #
 
 PORTNAME=	dspam
-PORTVERSION=	3.2.3${SNAP_DATE}
+PORTVERSION=	${PORTVER_MAJ}${SNAP_DATE}
 PORTREVISION=	0
 CATEGORIES=	mail
 MASTER_SITES=	http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam/sources/
-DISTFILES=	dspam.3.2.3.cvs.stable${SNAP_DATE}.tar.gz
 
 MAINTAINER=	itetcu@people.tecnik93.com
 COMMENT=	Bayesian spam filter - stable maintenance version
 
-WRKSRC=		${WRKDIR}/dspam-cvs-stable${SNAP_DATE}
+PORTVER_MAJ=	3.2.4
+#SNAP_DATE=	.20041229.1945
 
-SNAP_DATE=	.20041229.1945
+.ifdef(SNAP_DATE)
+DISTFILES=	dspam.${PORTVER_MAJ}.cvs.stable${SNAP_DATE}.tar.gz
+WRKSRC=		${WRKDIR}/dspam-cvs-stable${SNAP_DATE}
+.endif
 
 ## debug / log / admin options
 OPTIONS=	DEBUG "Enable debugging logging" on
@@ -32,7 +35,6 @@
 OPTIONS+=	RPV "Use Robinson technique combining p-values" off
 OPTIONS+=	TEST_COND "More inoculous results rapidly, risk fps" on
 OPTIONS+=	NO_BIAS "No bias toward innocent mail" off
-OPTIONS+=	WHITELIST "Automatic whitelisting of ham" off
 OPTIONS+=	NEURAL_NET "Enable neural networking" off
 
 ## run-time configure  options
@@ -161,10 +163,6 @@
 CONFIGURE_ARGS+=	--disable-bias
 .endif
 
-.if defined(WITH_WHITELIST)
-CONFIGURE_ARGS+=	--enable-whitelist
-.endif
-
 .if defined(WITH_NEURAL_NET)
 CONFIGURE_ARGS+=	--enable-neural-networking
 .endif
@@ -444,10 +442,10 @@
 	@${ECHO_CMD} ""
 	@sleep 5
 
-.for old_opt in MAILDROP PROCMAIL TRAD_BAYES ALT_BAYES WITH_SPAM_SUBJ \
+.for old_opt in MAILDROP PROCMAIL TRAD_BAYES ALT_BAYES SPAM_SUBJ \
 	USER_LOGGING SYSTEM_LOGGING WEBMAIL OPT_IN SAT PARSE_TO_HEADERS \
 	BROKEN_MTA BROKEN_ERR_CODES SIGNATURE_HEADERS SIGNATURE_ATACH \
-	HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT
+	HOMEDIR_DOT SIGNATURE_LIFE SQLITE QUARANTINE_AGENT WHITELIST
 .	if defined(WITH_${old_opt}) || defined(WITHOUT_${old_opt})
 	@${ECHO_CMD} ""
 	@${ECHO_CMD} "******************************************************************"
diff -urN dspam.cvs/distinfo dspam/distinfo
--- dspam.cvs/distinfo	Wed Jan 12 10:16:07 2005
+++ dspam/distinfo	Thu Jan 13 14:52:18 2005
@@ -1,2 +1,2 @@
-MD5 (dspam.3.2.3.cvs.stable.20041229.1945.tar.gz) = 24ad7d7a70f70ff07be5d1fb8818b758
-SIZE (dspam.3.2.3.cvs.stable.20041229.1945.tar.gz) = 620800
+MD5 (dspam-3.2.4.tar.gz) = 30885376c7300c5abde37896b0ccf89a
+SIZE (dspam-3.2.4.tar.gz) = 620924
diff -urN dspam.cvs/files/UPDATING dspam/files/UPDATING
--- dspam.cvs/files/UPDATING	Wed Jan 12 10:16:07 2005
+++ dspam/files/UPDATING	Thu Jan 13 15:06:58 2005
@@ -11,6 +11,19 @@
 make extract;  more `find . -type f -maxdepth 2 -name UPGRADING`
 
 #############################################################################
+# dspam-3.2.4
+#
+
+- drop WITH_WHITELIST, is not supported by ./configure but by dspam.conf
+
+[20041203.0800] jonz: performance fixes for pgsql_drv
+minor performance fixed for pgsql_drv that may have a big effect on some
+implementations. you should also consider creating the (unnecessary) index
+below to precent the pgsql query builder from getting confused:
+CREATE INDEX id_token_data_04 ON dspam_token_data(uid);
+
+
+#############################################################################
 # dspam-3.2.3.20041229.1945
 #
 
@@ -21,7 +34,6 @@
 - change default DSPAM_HOME_MODE to 0770
 (ports/75549 by Julien Gabel <jpeg@thilelli.net>)
 - DSPAM_HOME_{OWNER,GROUP} default to DSPAM_{OWNER,GROUP}
-- fix make describe by USE_MYSQL
 
 
 #############################################################################
--- dspam-3.2.3.20041229.1945_to_dspam-3.2.4.diff ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jan 13 22:52:03 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76198 
>Unformatted:
