Unverified Commit 4b1db7ec authored by Larry Rosenman's avatar Larry Rosenman
Browse files

mail/dovecot-fts-elastic: New FTS plugin for dovecot

PR: 263382
Reported By: bgupta@kde.org
parent 7878eb5e
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
PORTNAME=	fts-elastic
PORTVERSION=	1.1.0
PORTREVISION=	1
CATEGORIES=	mail
PKGNAMEPREFIX=	dovecot-

MAINTAINER=	bgupta@kde.org
COMMENT=	Dovecot FTS plugin for using ElasticSearch 6 or 7

LICENSE=	MIT

BUILD_DEPENDS=	dovecot>=2.3.7:mail/dovecot
LIB_DEPENDS=	libjson-c.so:devel/json-c
RUN_DEPENDS=	dovecot>=2.3.7:mail/dovecot

USES=		autoreconf libtool

USE_GITHUB=	yes
GH_ACCOUNT=	filiphanes
GH_TAGNAME=     ${PORTVERSION}

USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
LDFLAGS+=       -L${LOCALBASE}/lib
CPPFLAGS+=      -I${LOCALBASE}/include

PLIST_FILES=	lib/dovecot/lib21_fts_elastic_plugin.a \
		lib/dovecot/lib21_fts_elastic_plugin.so

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_elastic_plugin.so

.include <bsd.port.mk>
+3 −0
Original line number Diff line number Diff line
TIMESTAMP = 1650235615
SHA256 (filiphanes-fts-elastic-1.1.0_GH0.tar.gz) = 50aac69510cb504b6c7af7180a1d21fed3aadd47df30e5cd8ad50dfae5c36452
SIZE (filiphanes-fts-elastic-1.1.0_GH0.tar.gz) = 32351
+10 −0
Original line number Diff line number Diff line
This projects provides a Dovecot full-text search indexing plugin that uses
ElasticSearch 6 or 7 as a backend.

Dovecot communicates with ElasticSearch using direct HTTP/JSON queries, and
does not require ElasticSearch client libraries. It supports automatic indexing
and searching of e-mail. For mailboxes with more than 10000 messages, it uses
the Elastic Scroll API.

WWW: https://github.com/filiphanes/fts-elastic
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
# Anytime PORTVERSION changes please bump PORTREVISION of:           #
# - mail/dovecot-pigeonhole. See ports/146029 for an explanation.    #
# - mail/dovecot-fts-xapian.                                         #
# - mail/dovecot-fts-elastic.                                        #
######################################################################

PORTNAME=	dovecot