Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2004 13:19:54 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ale@unixmania.net
Subject:   ports/65322: [MAINTAINER] mail/bogofilter: FIX self test with obsolete configuration file
Message-ID:  <E1BBXZa-000AgT-GH@libertas.emma.line.org>
Resent-Message-ID: <200404081120.i38BKIWV095443@freefall.freebsd.org>

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

>Number:         65322
>Category:       ports
>Synopsis:       [MAINTAINER] mail/bogofilter: FIX self test with obsolete configuration file
>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 Apr 08 04:20:17 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.10-BETA FreeBSD 4.10-BETA #100: Wed Apr  7 18:55:21 CEST
>Description:
This patch adds files/patch-fix_selftest.

This will prevent the bogofilter build from failing when a default
configuration with obsolete options is in place, symptom:

...
make  check-TESTS
Unknown data base type in bogofilter -V: Error - bad parameter 'strict_check'
FAIL: t.abort
Unknown data base type in bogofilter -V: Error - bad parameter 'strict_check'
FAIL: t.env
...

Reporter: Alessandro de Manzano; Milano; Italy

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

--- bogofilter-0.16.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/bogofilter/files/patch-fix_selftest /root/bogofilter/files/patch-fix_selftest
--- /usr/ports/mail/bogofilter/files/patch-fix_selftest	Thu Jan  1 01:00:00 1970
+++ /root/bogofilter/files/patch-fix_selftest	Thu Apr  8 13:11:02 2004
@@ -0,0 +1,11 @@
+--- bogofilter/src/tests/t.frame~	Mon Dec  8 23:35:11 2003
++++ bogofilter/src/tests/t.frame	Thu Apr  8 13:08:38 2004
+@@ -32,7 +32,7 @@
+ export _POSIX2_VERSION
+ 
+ # Obtain data base file suffix
+-DB_NAME=`$BOGOFILTER -V 2>&1 | sed -n '2p;'`
++DB_NAME=`$BOGOFILTER -C -V 2>&1 | sed -n '2p;'`
+ case $DB_NAME in
+     *BerkeleyDB*)   DB_EXT=db ;;
+     *QDBM*)	    DB_EXT=qdbm ;;
--- bogofilter-0.16.4.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?E1BBXZa-000AgT-GH>