From nobody Tue Feb 08 18:35:45 2022 X-Original-To: dev-commits-ports-main@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 AE49F19A9166; Tue, 8 Feb 2022 18:35:45 +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 4JtWss4NPSz3pRF; Tue, 8 Feb 2022 18:35:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644345345; 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=LYjFKbVN1skWCI7JYTJG/33hdBvSfBxWNO3BptRgZ1c=; b=GcMJ64mZXoahzYhMPuRGUwJ30jt6HkGrSTJkLKalPmObrV9Cfo3GYYVT23RDLsl+rep2xd mUOzrPiJjWA8H2Sn6sJPkPUQOZa3sxTlIJt6jBsUF6M97EzM0425eYCfIrOi/LT8yvPGUF sHBoCXI9ToFH4yBKKiUmEx9NphNCBceGVri4fZN+Ip2ni5p/uzccPnMj/KCuKkLRWfqQ1Q hIWm1P00PMHGCcdXKesO+qh/D4sE7Bg0WAtQIYRne8gID/dBCmJUJ/LMUxe6S6dxcFionk aHA/mXYYMrgXqTXnTCu6lFRtPjSGXyfaDzZXcJivQ81uJPtJ+wQQ903D1In/zw== 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 767C21E762; Tue, 8 Feb 2022 18:35:45 +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 218IZjXl088854; Tue, 8 Feb 2022 18:35:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 218IZjk1088853; Tue, 8 Feb 2022 18:35:45 GMT (envelope-from git) Date: Tue, 8 Feb 2022 18:35:45 GMT Message-Id: <202202081835.218IZjk1088853@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: f0507682f64e - main - mail/dovecot-fts-flatcurve: NEW Port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f0507682f64e01c9ef4c43de11b56c41f0475cf5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644345345; 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=LYjFKbVN1skWCI7JYTJG/33hdBvSfBxWNO3BptRgZ1c=; b=rKGF9imGqDFsuRTOo/hLsCkSkxZmZZiaH2uIno68WV5RXUDwAdd5aeK5iph47uE8r4jqRZ 7H6RnwxLsFtY018XQBJm2zq8IKIXNPvYPLfza/+uoP27eLhVW4nGwS0GQHn5ZN3eJF4mj0 A3ETV+Wfvb+zVE0Xs/p7NIOkl75klYae36zgmY7QE2MLQMDYrClOun+c2Mb43BA02NnS8T Gxbl2bEVePdatQqiM/5/49mHN+h2XKZpnxc/CdBvFuhLxv0eNcdwe4xbCicZfVzHeQoEir RnOVXFuLntF6YanzoPCDe7u+3wZbHcj7pBSLnmu8DTYt4/uJ7VI823Qx6Wf60Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644345345; a=rsa-sha256; cv=none; b=KV61JXQyNctor2dp5xWNK6ncdCS0lsy1UETlszo/XzdR2AUeDAVDsT0HTKOEa/1ggfv8VE vY/4ghnboUNP/SI21ocaxmVvRY3368d3EbHeSCMghTHWSV54EP6EfNQwvzx+XiKvdqgaJq S2gOhTGg1t5LjFnVe2VXi8H6xN4aX1OUxhXVuuuUEtNi+PXSLP0ziZKRYJag/SDYNjOHq9 XMKRuECxRNxR5emhLuG5WE//pMg/yNQfdgCG1NBpQbsCQXQZJxXDRxZTJbuPXSbK7OXxoj D9IqsBX+BOJkHWpeW9yXblU5hW+cLKqSUSFHbs5gl9FyLmdUfrm9OEEh3VCBKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0507682f64e01c9ef4c43de11b56c41f0475cf5 commit f0507682f64e01c9ef4c43de11b56c41f0475cf5 Author: Muhammad Moinur Rahman AuthorDate: 2022-02-08 18:34:40 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-02-08 18:35:31 +0000 mail/dovecot-fts-flatcurve: NEW Port This is a Dovecot FTS plugin to enable message indexing using the Xapian Open Source Search Engine Library. The plugin relies on Dovecot to do the necessary stemming. It is intended to act as a simple interface to the Xapian storage/search query functionality. This driver supports match scoring and substring matches (on by default), which means it is RFC 3501 (IMAP4rev1) compliant. This driver does not support fuzzy searches. WWW: https://github.com/slusarz/dovecot-fts-flatcurve PR: 261766 --- mail/Makefile | 1 + mail/dovecot-fts-flatcurve/Makefile | 35 ++++++++++++++++++++++ mail/dovecot-fts-flatcurve/distinfo | 3 ++ .../files/patch-src_Makefile.am | 16 ++++++++++ mail/dovecot-fts-flatcurve/pkg-descr | 12 ++++++++ 5 files changed, 67 insertions(+) diff --git a/mail/Makefile b/mail/Makefile index e416ac13f4cb..af4fd9afee54 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -94,6 +94,7 @@ SUBDIR += dma SUBDIR += dot-forward SUBDIR += dovecot + SUBDIR += dovecot-fts-flatcurve SUBDIR += dovecot-fts-xapian SUBDIR += dovecot-pigeonhole SUBDIR += dspam diff --git a/mail/dovecot-fts-flatcurve/Makefile b/mail/dovecot-fts-flatcurve/Makefile new file mode 100644 index 000000000000..993bc4d4a6f6 --- /dev/null +++ b/mail/dovecot-fts-flatcurve/Makefile @@ -0,0 +1,35 @@ +PORTNAME= fts-flatcurve +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.0 +CATEGORIES= mail +PKGNAMEPREFIX= dovecot- + +MAINTAINER= martin@waschbuesch.de +COMMENT= Dovecot FTS plugin based on Xapian + +LICENSE= LGPL21 + +BUILD_DEPENDS= dovecot>=2.3.10:mail/dovecot +LIB_DEPENDS= libicuuc.so:devel/icu \ + libxapian.so:databases/xapian-core +RUN_DEPENDS= dovecot>=2.3.10:mail/dovecot + +USES= autoreconf libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= slusarz +GH_PROJECT= dovecot-fts-flatcurve +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes + +PLIST_FILES= include/dovecot-fts-flatcurve/fts-flatcurve-config.h \ + lib/dovecot/doveadm/lib21_doveadm_fts_flatcurve_plugin.a \ + lib/dovecot/doveadm/lib21_doveadm_fts_flatcurve_plugin.so \ + lib/dovecot/lib21_fts_flatcurve_plugin.a \ + lib/dovecot/lib21_fts_flatcurve_plugin.so + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lib21_fts_flatcurve_plugin.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/doveadm/lib21_doveadm_fts_flatcurve_plugin.so + +.include diff --git a/mail/dovecot-fts-flatcurve/distinfo b/mail/dovecot-fts-flatcurve/distinfo new file mode 100644 index 000000000000..7eedfa15a1a0 --- /dev/null +++ b/mail/dovecot-fts-flatcurve/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1644170033 +SHA256 (slusarz-dovecot-fts-flatcurve-v0.2.0_GH0.tar.gz) = 19cb4eb6ce72e8789f12d4e31d068ca79d1b38f199d36120336c74c3ad55ab5c +SIZE (slusarz-dovecot-fts-flatcurve-v0.2.0_GH0.tar.gz) = 48956 diff --git a/mail/dovecot-fts-flatcurve/files/patch-src_Makefile.am b/mail/dovecot-fts-flatcurve/files/patch-src_Makefile.am new file mode 100644 index 000000000000..9dd4d8c2e908 --- /dev/null +++ b/mail/dovecot-fts-flatcurve/files/patch-src_Makefile.am @@ -0,0 +1,16 @@ +--- src/Makefile.am.orig 2022-01-14 06:31:24 UTC ++++ src/Makefile.am +@@ -5,10 +5,11 @@ AM_CPPFLAGS = \ + $(LIBDOVECOT_STORAGE_INCLUDE) \ + $(LIBDOVECOT_DOVEADM_INCLUDE) \ + $(LIBDOVECOT_FTS_INCLUDE) \ +- $(XAPIAN_INCLUDE) ++ $(XAPIAN_INCLUDE) \ ++ $(XAPIAN_CXXFLAGS) + + AM_CXXFLAGS = \ +- $(XAPIAN_LIBS) ++ $(XAPIAN_LIBS) $(XAPIAN_CXXFLAGS) + + lib21_doveadm_fts_flatcurve_plugin_la_LDFLAGS = -module -avoid-version + lib21_fts_flatcurve_plugin_la_LDFLAGS = -module -avoid-version diff --git a/mail/dovecot-fts-flatcurve/pkg-descr b/mail/dovecot-fts-flatcurve/pkg-descr new file mode 100644 index 000000000000..f97b16b215b8 --- /dev/null +++ b/mail/dovecot-fts-flatcurve/pkg-descr @@ -0,0 +1,12 @@ +This is a Dovecot FTS plugin to enable message indexing using the Xapian +Open Source Search Engine Library. + +The plugin relies on Dovecot to do the necessary stemming. +It is intended to act as a simple interface to the Xapian +storage/search query functionality. + +This driver supports match scoring and substring matches (on by +default), which means it is RFC 3501 (IMAP4rev1) compliant. +This driver does not support fuzzy searches. + +WWW: https://github.com/slusarz/dovecot-fts-flatcurve