ports/76198: [MAINTAINER] mail/dspam: updatre to 3.2.4

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Thu Jan 13 13:40:26 UTC 2005


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 13 13:40:25 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list