Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 22:24:44 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88951: [MAINTAINER] mail/bogofilter: update to 0.96.6
Message-ID:  <E1EbPLA-000O5G-2i@libertas.emma.line.org>
Resent-Message-ID: <200511132130.jADLUEaM049068@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88951
>Category:       ports
>Synopsis:       [MAINTAINER] mail/bogofilter: update to 0.96.6
>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:   Sun Nov 13 21:30:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Nov  7 16:10:51 CET
>Description:
- Update to 0.96.6, adding SHA256 and re-adding SIZE as we go
- also add a post-0.96.6 patch from CVS to fix bogus test failures from local
  configuration files (reported by Yuan-Chung Hsiao)

Added file(s):
- files/patch-tests-nolocalconfig

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- bogofilter-0.96.6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/Makefile /usr/home/emma/ports/mail/bogofilter/Makefile
--- /usr/ports/mail/bogofilter/Makefile	Tue Nov  8 23:23:55 2005
+++ /usr/home/emma/ports/mail/bogofilter/Makefile	Sun Nov 13 22:19:31 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bogofilter
-PORTVERSION=	0.96.5
+PORTVERSION=	0.96.6
 PORTREVISION?=	0
 CATEGORIES?=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -15,10 +15,10 @@
 MAINTAINER?=	matthias.andree@gmx.de
 COMMENT=	Fast, teachable, learning spam detector
 
+LIB_DEPENDS?=	db-4.3:${PORTSDIR}/databases/db43
+
 OPTIONS=	GSL     "Link with system-wide GSL dynamically (recommended)" on
 OPTIONS+=	UNICODE "Normalize tokens to Unicode (UTF-8)" on
-
-LIB_DEPENDS?=	db-4.3:${PORTSDIR}/databases/db43
 
 CONFLICTS?=	bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
 
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/distinfo /usr/home/emma/ports/mail/bogofilter/distinfo
--- /usr/ports/mail/bogofilter/distinfo	Tue Nov  8 23:23:56 2005
+++ /usr/home/emma/ports/mail/bogofilter/distinfo	Sun Nov 13 21:08:30 2005
@@ -1 +1,3 @@
-MD5 (bogofilter-0.96.5.tar.bz2) = 77ec9fc84f51a183800a615b59c97da8
+MD5 (bogofilter-0.96.6.tar.bz2) = 24ce45bac5dc7e8ec6bb2f68e5d64a73
+SHA256 (bogofilter-0.96.6.tar.bz2) = b74d6889fa11a1b5b9b59826de4f859cebe9088786728c630a74465da36831ab
+SIZE (bogofilter-0.96.6.tar.bz2) = 746286
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/files/patch-tests-nolocalconfig /usr/home/emma/ports/mail/bogofilter/files/patch-tests-nolocalconfig
--- /usr/ports/mail/bogofilter/files/patch-tests-nolocalconfig	Thu Jan  1 01:00:00 1970
+++ /usr/home/emma/ports/mail/bogofilter/files/patch-tests-nolocalconfig	Sun Nov 13 21:17:23 2005
@@ -0,0 +1,68 @@
+--- ./src/tests/t.maint	16 Sep 2005 20:57:29 -0000	1.32
++++ ./src/tests/t.maint	13 Nov 2005 16:45:48 -0000	1.33
+@@ -36,10 +36,10 @@
+ echo initial: `$BOGOUTIL -d $WORDLIST | wc -l` > $OUT
+ 
+ for cnt in 0 1 2 3 ; do
+-    $BOGOUTIL -c $cnt -m $WORDLIST
+-    echo "count $cnt ->" `$BOGOUTIL -d $WORDLIST | wc -l` >> $OUT
++    $BOGOUTIL -C -c $cnt -m $WORDLIST
++    echo "count $cnt ->" `$BOGOUTIL -C -d $WORDLIST | wc -l` >> $OUT
+     if  [ $verbose -ne 0 ]; then
+-	$BOGOUTIL -d $WORDLIST > $OUT.$cnt
++	$BOGOUTIL -C -d $WORDLIST > $OUT.$cnt
+     fi
+ done
+ 
+--- ./src/tests/t.regtest	16 Mar 2005 12:18:22 -0000	1.9
++++ ./src/tests/t.regtest	13 Nov 2005 16:45:48 -0000	1.10
+@@ -30,10 +30,10 @@
+     fi
+ 
+     if [ -f  $BOGOFILTER_DIR/goodlist.${DB_EXT} ] ; then
+-	g=`$BOGOUTIL -d $BOGOFILTER_DIR/goodlist.${DB_EXT} | grep -v " 0 " | tee $TMPDIR/good.$T.out | wc -l`
+-	s=`$BOGOUTIL -d $BOGOFILTER_DIR/spamlist.${DB_EXT} | grep -v " 0 " | tee $TMPDIR/spam.$T.out | wc -l`
++	g=`$BOGOUTIL -C -d $BOGOFILTER_DIR/goodlist.${DB_EXT} | grep -v " 0 " | tee $TMPDIR/good.$T.out | wc -l`
++	s=`$BOGOUTIL -C -d $BOGOFILTER_DIR/spamlist.${DB_EXT} | grep -v " 0 " | tee $TMPDIR/spam.$T.out | wc -l`
+     else
+-	$BOGOUTIL -d $BOGOFILTER_DIR/wordlist.${DB_EXT} > $TMPDIR/word.$T.out
++	$BOGOUTIL -C -d $BOGOFILTER_DIR/wordlist.${DB_EXT} > $TMPDIR/word.$T.out
+ 	g=`grep -v " 0$" < $TMPDIR/word.$T.out | tee $TMPDIR/good.$T.out | wc -l`
+ 	s=`grep -v " 0 " < $TMPDIR/word.$T.out | tee $TMPDIR/spam.$T.out | wc -l`
+     fi
+--- ./src/tests/t.systest	16 Mar 2005 12:18:22 -0000	1.14
++++ ./src/tests/t.systest	13 Nov 2005 16:45:48 -0000	1.15
+@@ -57,7 +57,7 @@
+ $BOGOFILTER $OPTS -n < ${SYSTEST}/inputs/good.mbx
+ for f in $BOGOFILTER_DIR/*.${DB_EXT} ; do
+     n=`basename $f .${DB_EXT}`
+-    $BOGOUTIL -d $BOGOFILTER_DIR/$n.${DB_EXT} > $BOGOFILTER_DIR/$n.txt
++    $BOGOUTIL -C -d $BOGOFILTER_DIR/$n.${DB_EXT} > $BOGOFILTER_DIR/$n.txt
+ done
+ if  [ $verbose -ne 0 ]; then
+     ls -l $BOGOFILTER_DIR/*list.txt
+--- ./src/tests/t.MH	16 Mar 2005 12:18:22 -0000	1.12
++++ ./src/tests/t.MH	13 Nov 2005 16:45:48 -0000	1.13
+@@ -24,7 +24,7 @@
+ $BOGOFILTER -C -D -s $v -B $TMPDIR/spam
+ wordlist=".MSG_COUNT Lotus Magazine Min Service connection more most set that unsubscribe"
+ 
+-$BOGOUTIL -w $WORDLIST $wordlist >$OUT || rm -f $OUT
++$BOGOUTIL -C -w $WORDLIST $wordlist >$OUT || rm -f $OUT
+ 
+ if  [ $verbose -eq 0 ]; then
+     cmp $CORRECT $OUT
+--- ./src/tests/t.bulkmode	29 Jun 2005 03:11:25 -0000	1.18
++++ ./src/tests/t.bulkmode	13 Nov 2005 16:45:48 -0000	1.19
+@@ -27,9 +27,11 @@
+ }
+ 
+ if [ -d $BOGOFILTER_DIR ] ; then rm -f $BOGOFILTER_DIR/* ; else : ; fi
++
+ mkdir -p $BOGOFILTER_DIR
+ $BOGOFILTER -C -s < ${SYSTEST}/inputs/spam.mbx
+ $BOGOFILTER -C -n < ${SYSTEST}/inputs/good.mbx
++
+ #for f in $BOGOFILTER_DIR/*.${DB_EXT} ; do
+ #    o=`echo $f | sed s@.${DB_EXT}@.txt@`
+ #    $BOGOUTIL -d $f > $o
--- bogofilter-0.96.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EbPLA-000O5G-2i>