ports/127039: [NEW PORT] mail/bogofilter-tc: Fast, teachable, learning spam detector
Matthias Andree
matthias.andree at gmx.de
Tue Sep 2 07:40:04 UTC 2008
>Number: 127039
>Category: ports
>Synopsis: [NEW PORT] mail/bogofilter-tc: Fast, teachable, learning spam detector
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 02 07:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Matthias Andree
>Release: FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #36: Tue Jul 29 11:16:09 CEST 2008
>Description:
This is a new sibling port of bogofilter's, using tokyocabinet as database.
Adjust CONFLICTS of pre-existing bogofilter ports.
The fix below contains patches to three ports and a shar with the new port.
Courtesy of and
Submitted by: Zach Thompson <hideo at lastamericanempire.com>
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
diff -ur /usr/ports/mail/bogofilter/Makefile bogofilter/Makefile
--- /usr/ports/mail/bogofilter/Makefile 2008-08-21 08:17:32.000000000 +0200
+++ bogofilter/Makefile 2008-09-02 09:19:17.000000000 +0200
@@ -21,7 +21,7 @@
OPTIONS= GSL "Link with system-wide GSL dynamically (recommended)" on
OPTIONS+= UNICODE "Normalize tokens to Unicode (UTF-8)" on
-CONFLICTS?= bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
+CONFLICTS?= bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
USE_BZIP2= yes
USE_PERL5_RUN= yes
diff -ur /usr/ports/mail/bogofilter-qdbm/Makefile bogofilter-qdbm/Makefile
--- /usr/ports/mail/bogofilter-qdbm/Makefile 2007-01-15 16:10:17.000000000 +0100
+++ bogofilter-qdbm/Makefile 2008-09-02 09:19:21.000000000 +0200
@@ -14,7 +14,7 @@
LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
-CONFLICTS= bogofilter-[0-9]* [a-z][a-z]-bogofilter-[0-9]* bogofilter-sqlite-[0-9]*
+CONFLICTS= bogofilter-[0-9]* [a-z][a-z]-bogofilter-[0-9]* bogofilter-sqlite-[0-9]* bogofilter-tc-[0-9]*
CONFIGURE_ARGS= --with-database=qdbm
BF_CPPFLAGS= -I${LOCALBASE}/include
diff -ur /usr/ports/mail/bogofilter-sqlite/Makefile bogofilter-sqlite/Makefile
--- /usr/ports/mail/bogofilter-sqlite/Makefile 2005-10-24 16:25:38.000000000 +0200
+++ bogofilter-sqlite/Makefile 2008-09-02 09:19:23.000000000 +0200
@@ -13,7 +13,7 @@
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-CONFLICTS= bogofilter-[0-9]* bogofilter-qdbm-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
+CONFLICTS= bogofilter-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
CONFIGURE_ARGS= --with-database=sqlite
BF_CPPFLAGS= -I${LOCALBASE}/include
--- bogofilter-tc-1.1.7.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# bogofilter-tc
# bogofilter-tc/Makefile
#
echo c - bogofilter-tc
mkdir -p bogofilter-tc > /dev/null 2>&1
echo x - bogofilter-tc/Makefile
sed 's/^X//' >bogofilter-tc/Makefile << 'e55992d19ad66e3929bdc70eab600f1d'
X# New ports collection makefile for: bogofilter-tc
X# Date created: 2008-08-29
X# Whom: Zach Thompson <hideo at lastamericanempire.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= bogofilter
XCATEGORIES= mail
XPKGNAMESUFFIX= -tc
X
XMAINTAINER= matthias.andree at gmx.de
X# Blanket approval for changes by Zach Thompson (address above)
X
XLIB_DEPENDS= tokyocabinet.4:${PORTSDIR}/databases/tokyocabinet
X
XCONFLICTS= bogofilter-[0-9]* [a-z][a-z]-bogofilter-[1-9]* bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]*
X
XCONFIGURE_ARGS= --with-database=tokyocabinet
XBF_CPPFLAGS= -I${LOCALBASE}/include
XBF_LIBS=
XDESCR= ${PKGDIR}/pkg-descr
X
XMASTERDIR= ${.CURDIR}/../bogofilter
X
X.include "${MASTERDIR}/Makefile"
e55992d19ad66e3929bdc70eab600f1d
exit
--- bogofilter-tc-1.1.7.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list