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

(-)b/mail/dovecot-fts-xapian/Makefile (-1 / +1 lines)
Lines 1-34 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	fts-xapian
3
PORTNAME=	fts-xapian
4
PORTVERSION=	1.4.1
4
PORTVERSION=	1.4.2
5
CATEGORIES=	mail
5
CATEGORIES=	mail
6
PKGNAMEPREFIX=	dovecot-
6
PKGNAMEPREFIX=	dovecot-
7
7
8
MAINTAINER=	juraj@lutter.sk
8
MAINTAINER=	juraj@lutter.sk
9
COMMENT=	Dovecot FTS plugin based on Xapian
9
COMMENT=	Dovecot FTS plugin based on Xapian
10
10
11
LICENSE=	LGPL21
11
LICENSE=	LGPL21
12
12
13
BUILD_DEPENDS=	dovecot>=2.3.7:mail/dovecot
13
BUILD_DEPENDS=	dovecot>=2.3.7:mail/dovecot
14
LIB_DEPENDS=	libxapian.so:databases/xapian-core \
14
LIB_DEPENDS=	libxapian.so:databases/xapian-core \
15
		libicuuc.so:devel/icu \
15
		libicuuc.so:devel/icu \
16
		libsqlite3.so:databases/sqlite3
16
		libsqlite3.so:databases/sqlite3
17
RUN_DEPENDS=	dovecot>=2.3.7:mail/dovecot
17
RUN_DEPENDS=	dovecot>=2.3.7:mail/dovecot
18
18
19
USES=		autoreconf compiler:c++11-lang libtool pkgconfig
19
USES=		autoreconf compiler:c++11-lang libtool pkgconfig
20
20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
22
23
USE_GITHUB=	yes
23
USE_GITHUB=	yes
24
GH_ACCOUNT=	grosjo
24
GH_ACCOUNT=	grosjo
25
25
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
27
28
PLIST_FILES=	lib/dovecot/lib21_fts_xapian_plugin.a \
28
PLIST_FILES=	lib/dovecot/lib21_fts_xapian_plugin.a \
29
		lib/dovecot/lib21_fts_xapian_plugin.so
29
		lib/dovecot/lib21_fts_xapian_plugin.so
30
30
31
post-install:
31
post-install:
32
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_xapian_plugin.so
32
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_xapian_plugin.so
33
33
34
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)b/mail/dovecot-fts-xapian/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1603446932
1
TIMESTAMP = 1604301654
2
SHA256 (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 219ce1a0cb261745ec005156a6b9e3cdd47319750736eab727132b1c222cd7c2
2
SHA256 (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 11ff20bd91d81754bbe4f9ad52cf1fd74be8c3bb8633a7023a35cf4cc3c18c58
3
SIZE (grosjo-fts-xapian-1.4.1_GH0.tar.gz) = 27633
3
SIZE (grosjo-fts-xapian-1.4.2_GH0.tar.gz) = 27812
(-)b/mail/dovecot-fts-xapian/files/patch-src_fts-backend-xapian.cpp (+13 lines)
Added Link Here
1
--- src/fts-backend-xapian.cpp.orig	2020-11-02 07:45:52 UTC
2
+++ src/fts-backend-xapian.cpp
3
@@ -11,8 +11,8 @@ extern "C" {
4
 
5
 #define XAPIAN_FILE_PREFIX "xapian-indexes"
6
 #define XAPIAN_TERM_SIZELIMIT 245
7
-#define XAPIAN_COMMIT_ENTRIES 1000000
8
-#define XAPIAN_COMMIT_TIMEOUT 300
9
+#define XAPIAN_COMMIT_ENTRIES 1000000L
10
+#define XAPIAN_COMMIT_TIMEOUT 300L
11
 #define XAPIAN_COMMIT_MEMORY 10240
12
 #define XAPIAN_WILDCARD "wldcrd"
13
 #define XAPIAN_EXPUNGE_SIZE 3

Return to bug 250803