Date: Thu, 7 May 2009 02:26:05 +0200 (CEST) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/134323: [MAINTAINER] mail/bogofilter*: update to 1.2.0 Message-ID: <20090507002605.1E1DE3F482@vmfreebsd6.emma.line.org> Resent-Message-ID: <200905070030.n470U1WB037567@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134323 >Category: ports >Synopsis: [MAINTAINER] mail/bogofilter*: update to 1.2.0 >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 May 07 00:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 6.4-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD vmfreebsd6.emma.line.org 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun Dec 21 07:56:41 UTC 2008 >Description: - Update to 1.2.0, resetting PORTREVISION where set. - use bsd.database.mk framework (USE_BDB/USE_SQLITE) - set MAKE_JOBS_SAFE for parallel builds - fix upstream buglet in sed script through patch (see below). Note that this patch changes three ports Added file: - files/patch-src-tests-tframe Diffstat: bogofilter-sqlite/Makefile | 2 +- bogofilter-tc/Makefile | 1 - bogofilter/Makefile | 20 +++++++++----------- bogofilter/distinfo | 6 +++--- bogofilter/files/patch-src-tests-tframe | 8 ++++++++ 5 files changed, 21 insertions(+), 16 deletions(-) Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: diff --unidirectional-new-file -dur /usr/ports/mail/bogofilter/Makefile ./bogofilter/Makefile --- /usr/ports/mail/bogofilter/Makefile 2009-04-25 02:34:38.000000000 +0200 +++ ./bogofilter/Makefile 2009-05-07 02:18:32.000000000 +0200 @@ -6,17 +6,18 @@ # PORTNAME= bogofilter -PORTVERSION= 1.1.7 -PORTREVISION?= 2 +PORTVERSION= 1.2.0 +PORTREVISION?= 0 CATEGORIES?= mail MASTER_SITES= SF MAINTAINER?= matthias.andree@gmx.de COMMENT= Fast, teachable, learning spam detector -# cannot switch to USE_BDB here, as we want slave ports -# to override this easily -LIB_DEPENDS?= db-4.3:${PORTSDIR}/databases/db43 +.if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR} +# building master port +USE_BDB= 41+ +.endif OPTIONS= GSL "Link with system-wide GSL dynamically (recommended)" on OPTIONS+= UNICODE "Normalize tokens to Unicode (UTF-8)" on @@ -27,15 +28,12 @@ USE_PERL5_RUN= yes GNU_CONFIGURE= yes PATCH_STRIP= -p1 +MAKE_JOBS_SAFE= yes .include <bsd.port.pre.mk> -.if ${ARCH} == "sparc64" -BROKEN= Fails to install on sparc64 -.endif - -BF_LIBS?= -ldb-4.3 -BF_CPPFLAGS?= -I${LOCALBASE}/include/db43 -I${LOCALBASE}/include +BF_LIBS?= -l${BDB_LIB_NAME} +BF_CPPFLAGS?= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if !defined(WITHOUT_UNICODE) CONFIGURE_ARGS+= --enable-unicode diff --unidirectional-new-file -dur /usr/ports/mail/bogofilter/distinfo ./bogofilter/distinfo --- /usr/ports/mail/bogofilter/distinfo 2008-05-07 00:21:00.000000000 +0200 +++ ./bogofilter/distinfo 2009-05-07 00:21:19.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (bogofilter-1.1.7.tar.bz2) = 0ece697e8b54fcc069dba1af55c6015a -SHA256 (bogofilter-1.1.7.tar.bz2) = d56a9236cc422309b0419d65a8676c923002993b1d64efae94deecb4fb1d112a -SIZE (bogofilter-1.1.7.tar.bz2) = 839687 +MD5 (bogofilter-1.2.0.tar.bz2) = ed1a0a4609fa0c7dc1cddba1b9d37067 +SHA256 (bogofilter-1.2.0.tar.bz2) = 208fc5f156c2cf3ea4dcfe9fdebe5aaea8b648bbd5e1ee49f45c4c84d8652e7c +SIZE (bogofilter-1.2.0.tar.bz2) = 885463 diff --unidirectional-new-file -dur /usr/ports/mail/bogofilter/files/patch-src-tests-tframe ./bogofilter/files/patch-src-tests-tframe --- /usr/ports/mail/bogofilter/files/patch-src-tests-tframe 1970-01-01 01:00:00.000000000 +0100 +++ ./bogofilter/files/patch-src-tests-tframe 2009-05-07 00:31:10.000000000 +0200 @@ -0,0 +1,8 @@ +--- ./src/tests/t.frame ++++ ./src/tests/t.frame +@@ -41,4 +41,4 @@ + # Obtain data base file suffix +-DB_NAME=$("$BOGOFILTER" -C -V 2>&1 | sed -n '/Database:/ { p;q }') ++DB_NAME=$("$BOGOFILTER" -C -V 2>&1 | sed -n '/Database:/ {p;q;}') + case $DB_NAME in + *BerkeleyDB*|*"Berkeley DB"*) diff --unidirectional-new-file -dur /usr/ports/mail/bogofilter-sqlite/Makefile ./bogofilter-sqlite/Makefile --- /usr/ports/mail/bogofilter-sqlite/Makefile 2009-01-08 17:00:18.000000000 +0100 +++ ./bogofilter-sqlite/Makefile 2009-05-07 02:05:01.000000000 +0200 @@ -11,7 +11,7 @@ MAINTAINER= matthias.andree@gmx.de -LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 +USE_SQLITE= 3 CONFLICTS= bogofilter-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]* diff --unidirectional-new-file -dur /usr/ports/mail/bogofilter-tc/Makefile ./bogofilter-tc/Makefile --- /usr/ports/mail/bogofilter-tc/Makefile 2009-04-22 06:12:13.000000000 +0200 +++ ./bogofilter-tc/Makefile 2009-05-07 01:06:57.000000000 +0200 @@ -6,7 +6,6 @@ # PORTNAME= bogofilter -PORTREVISION= 4 CATEGORIES= mail PKGNAMESUFFIX= -tc >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507002605.1E1DE3F482>