From nobody Mon Apr 18 00:24:36 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9F7E211E46F6; Mon, 18 Apr 2022 00:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KhSP02tLSz4t31; Mon, 18 Apr 2022 00:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650241476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=prH6tMl8exbFEaWeKTujnDCl6Rskmom88CAyQmcI+bI=; b=PLcT1am9ImV9CBzolodq7KGnP4jnwE8jebOuCJpApTVQ3/Grdot9GjWTu4VSykQRoEaXBf oB+W3ACXF3SaZ8kf4KsRWyqJnmEqmi0bUqyGe3PqGmLVBpufuZbsmfh7X9PXercnK2K4m+ MqLvkmMANVVFk2X9U4qAgW9Pw/6mxokS2QGWa49lEvB/bTSG5rN5vSlkqdXGZP5LWq3NaM Wofqxp1qAV8V8kDFH95leaXp/OBPu0Nx6yyovMVMN04+/PENW/Ol5E4UOfVjMTs90BS8s+ 72vN0pAFZm2bVhAlY8dDFHUjhWcP53WEYuBt5W4ci7OeznVTx6thB9KjkGlRJg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 20EC962D; Mon, 18 Apr 2022 00:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23I0OaZR079423; Mon, 18 Apr 2022 00:24:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I0OaVU079422; Mon, 18 Apr 2022 00:24:36 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:24:36 GMT Message-Id: <202204180024.23I0OaVU079422@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: 4b1db7ecfdeb - main - mail/dovecot-fts-elastic: New FTS plugin for dovecot List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b1db7ecfdeb2b61fbdb30b3b738aa85659769ed Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650241476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=prH6tMl8exbFEaWeKTujnDCl6Rskmom88CAyQmcI+bI=; b=Hpo7FwRBOvvCQL2hYOSN1GdY2eVlxdMYd7IkRZZZoY2wWXDCb6c/dyXnqKgmAFnlY5fDei qmp2X0RVmok20mFs2xljLe1qd+wOTEklE8oIXxkMkvdZP7+jsah7F7d+yR09iKMR4xpso9 xNV0bVr9ASkVXAKaeYsHFm0l5yaoKr3DGpxRvsRNt57ee2jXRXD6WGiK9ZLKuJxvgjKdJ5 WtvB1f2ab/YFpFkS0/xVm/Gg5a/WuI+7CSUAWyUU564RlO/rx/fGyXukutvUrLnOTzPCtq AiSLz9Q8YpX/tRB2F+mBaHcLTpjDEQVvvNSQ0Srwccu4wbNM3wJGu+prP9uBrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650241476; a=rsa-sha256; cv=none; b=sg0p7jeK0ZYJdzI0LrBZyqcFVxulIFf4RK9lkhNW8SPQDRGnOvbSKAm4RffID3rVqMPLwf v530repXzc98PH9hn3GaKsKrl+tcJe+q3BxQ0+wsc0dIH1ABW7RUSh83d9UM3E1pQ+2JDT Sr7KJcT+kmANrqhlwgCUp7qi4nR8wLZvtygFDtvCkt8Herf5YOsxppJO2Z5wy8rIO/tL4e uSWmTFq11pSe5KaleTGnHGLionMiyCeB2R7eacrYwc7gOx5tg+uwRUblTEsUVTS4rMSPmh 7/oCbn+ymXiU+29pdlup4TDUU+UUrdPPHI3N7vRuvgGZ4zgtr3zt7kz09ULCIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b1db7ecfdeb2b61fbdb30b3b738aa85659769ed commit 4b1db7ecfdeb2b61fbdb30b3b738aa85659769ed Author: Larry Rosenman AuthorDate: 2022-04-18 00:23:32 +0000 Commit: Larry Rosenman CommitDate: 2022-04-18 00:23:32 +0000 mail/dovecot-fts-elastic: New FTS plugin for dovecot PR: 263382 Reported By: bgupta@kde.org --- mail/dovecot-fts-elastic/Makefile | 33 +++++++++++++++++++++++++++++++++ mail/dovecot-fts-elastic/distinfo | 3 +++ mail/dovecot-fts-elastic/pkg-descr | 10 ++++++++++ mail/dovecot/Makefile | 1 + 4 files changed, 47 insertions(+) diff --git a/mail/dovecot-fts-elastic/Makefile b/mail/dovecot-fts-elastic/Makefile new file mode 100644 index 000000000000..f87f7f07bbef --- /dev/null +++ b/mail/dovecot-fts-elastic/Makefile @@ -0,0 +1,33 @@ +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 diff --git a/mail/dovecot-fts-elastic/distinfo b/mail/dovecot-fts-elastic/distinfo new file mode 100644 index 000000000000..9e84ccbdde2b --- /dev/null +++ b/mail/dovecot-fts-elastic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650235615 +SHA256 (filiphanes-fts-elastic-1.1.0_GH0.tar.gz) = 50aac69510cb504b6c7af7180a1d21fed3aadd47df30e5cd8ad50dfae5c36452 +SIZE (filiphanes-fts-elastic-1.1.0_GH0.tar.gz) = 32351 diff --git a/mail/dovecot-fts-elastic/pkg-descr b/mail/dovecot-fts-elastic/pkg-descr new file mode 100644 index 000000000000..9a91121d6071 --- /dev/null +++ b/mail/dovecot-fts-elastic/pkg-descr @@ -0,0 +1,10 @@ +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 + diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 0379f598643f..6d3bfd83df32 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -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