View | Details | Raw Unified | Return to bug 134323
Collapse All | Expand All

(-)./bogofilter/Makefile (-11 / +9 lines)
Lines 6-22 Link Here
6
#
6
#
7
7
8
PORTNAME=	bogofilter
8
PORTNAME=	bogofilter
9
PORTVERSION=	1.1.7
9
PORTVERSION=	1.2.0
10
PORTREVISION?=	2
10
PORTREVISION?=	0
11
CATEGORIES?=	mail
11
CATEGORIES?=	mail
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
14
MAINTAINER?=	matthias.andree@gmx.de
14
MAINTAINER?=	matthias.andree@gmx.de
15
COMMENT=	Fast, teachable, learning spam detector
15
COMMENT=	Fast, teachable, learning spam detector
16
16
17
# cannot switch to USE_BDB here, as we want slave ports
17
.if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR}
18
# to override this easily
18
# building master port
19
LIB_DEPENDS?=	db-4.3:${PORTSDIR}/databases/db43
19
USE_BDB=	41+
20
.endif
20
21
21
OPTIONS=	GSL     "Link with system-wide GSL dynamically (recommended)" on
22
OPTIONS=	GSL     "Link with system-wide GSL dynamically (recommended)" on
22
OPTIONS+=	UNICODE "Normalize tokens to Unicode (UTF-8)" on
23
OPTIONS+=	UNICODE "Normalize tokens to Unicode (UTF-8)" on
Lines 27-41 Link Here
27
USE_PERL5_RUN=	yes
28
USE_PERL5_RUN=	yes
28
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
29
PATCH_STRIP=	-p1
30
PATCH_STRIP=	-p1
31
MAKE_JOBS_SAFE=	yes
30
32
31
.include <bsd.port.pre.mk>
33
.include <bsd.port.pre.mk>
32
34
33
.if ${ARCH} == "sparc64"
35
BF_LIBS?=		-l${BDB_LIB_NAME}
34
BROKEN=		Fails to install on sparc64
36
BF_CPPFLAGS?=		-I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
35
.endif
36
37
BF_LIBS?=		-ldb-4.3
38
BF_CPPFLAGS?=		-I${LOCALBASE}/include/db43 -I${LOCALBASE}/include
39
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc
37
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc
40
.if !defined(WITHOUT_UNICODE)
38
.if !defined(WITHOUT_UNICODE)
41
CONFIGURE_ARGS+=	--enable-unicode
39
CONFIGURE_ARGS+=	--enable-unicode
(-)./bogofilter/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (bogofilter-1.1.7.tar.bz2) = 0ece697e8b54fcc069dba1af55c6015a
1
MD5 (bogofilter-1.2.0.tar.bz2) = ed1a0a4609fa0c7dc1cddba1b9d37067
2
SHA256 (bogofilter-1.1.7.tar.bz2) = d56a9236cc422309b0419d65a8676c923002993b1d64efae94deecb4fb1d112a
2
SHA256 (bogofilter-1.2.0.tar.bz2) = 208fc5f156c2cf3ea4dcfe9fdebe5aaea8b648bbd5e1ee49f45c4c84d8652e7c
3
SIZE (bogofilter-1.1.7.tar.bz2) = 839687
3
SIZE (bogofilter-1.2.0.tar.bz2) = 885463
(-)./bogofilter/files/patch-src-tests-tframe (+8 lines)
Line 0 Link Here
1
--- ./src/tests/t.frame
2
+++ ./src/tests/t.frame
3
@@ -41,4 +41,4 @@
4
 # Obtain data base file suffix
5
-DB_NAME=$("$BOGOFILTER" -C -V 2>&1 | sed -n '/Database:/ { p;q }')
6
+DB_NAME=$("$BOGOFILTER" -C -V 2>&1 | sed -n '/Database:/ {p;q;}')
7
 case $DB_NAME in
8
     *BerkeleyDB*|*"Berkeley DB"*)
(-)./bogofilter-sqlite/Makefile (-1 / +1 lines)
Lines 11-17 Link Here
11
11
12
MAINTAINER=	matthias.andree@gmx.de
12
MAINTAINER=	matthias.andree@gmx.de
13
13
14
LIB_DEPENDS=	sqlite3.8:${PORTSDIR}/databases/sqlite3
14
USE_SQLITE=	3
15
15
16
CONFLICTS=	bogofilter-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
16
CONFLICTS=	bogofilter-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]*
17
17
(-)./bogofilter-tc/Makefile (-1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	bogofilter
8
PORTNAME=	bogofilter
9
PORTREVISION=	4
10
CATEGORIES=	mail
9
CATEGORIES=	mail
11
PKGNAMESUFFIX=	-tc
10
PKGNAMESUFFIX=	-tc

Return to bug 134323