Sunday, February 02, 2020

[NEW] dovecot-fts-xapian

Please see attached port for fts_xapian (Dovecot FTS plugin) [1].

---
fts-xapian is a full-text search plugin for Dovecot. It utilises the
Xapian search engine library to index email automatically, and allow
rapid body and header server-side search over IMAP.

The authors intend this plugin to provide the functionality provided by
the now-deprecated fts_squat plugin, and provide a simpler way to
configure FTS for Dovecot without needing heavy external dependencies
such as Solr.
---

This is my first time porting, please point out where I've gone wrong.
I'm a little unsure the semantics of putting mail/dovecot in
BUILD_DEPENDS; my reasoning:

- fts-xapian doesn't link to dovecot itself, so it shouldn't be in
LIB_DEPENDS (dovecot dlopen's fts-xapian at runtime)

- dovecot-config is required at build, so it can't just be in
RUN_DEPENDS

- Putting mail/dovecot into both BUILD_DEPENDS and RUN_DEPENDS seemed
to cause breakage during build

[1] https://github.com/grosjo/fts-xapian

No comments:

Post a Comment