Bug 263382 - mail/dovecot-fts-elastic: New Port Request
Summary: mail/dovecot-fts-elastic: New Port Request
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-17 23:20 UTC by Boudhayan Gupta
Modified: 2022-04-18 00:25 UTC (History)
3 users (show)

See Also:


Attachments
shar file with port (1.79 KB, application/x-shellscript)
2022-04-17 23:20 UTC, Boudhayan Gupta
no flags Details
git format-patch, includes comment in mail/dovecot (3.23 KB, patch)
2022-04-17 23:45 UTC, Boudhayan Gupta
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boudhayan Gupta 2022-04-17 23:20:45 UTC
Created attachment 233286 [details]
shar file with port

Hi,

I've been using this plugin on my local Dovecot instance and thought I'd create a port. Please find a SHAR archive attached. This should go into mail/dovecot-fts-elastic.

The port itself is pretty simple (it's actually based on dovecot-fts-xapian which was almost pretty much exactly what I needed).

One limitation of this plugin (and I guess this is common to all Dovecot FTS plugins) is that it'll need a rebuild anytime Dovecot itself is rebuilt - there are no binary compatibility guarantees - so please feel free to let me know if I need to add something for this.

And one question I'd have is - can I just request a binary port of this to be added to pkg (I guess that absolves me of having to remember to rebuild this every time I see dovecot getting updated), or does it need to hit some form of popularity contest standards?

Thanks,
Boudhayan
Comment 1 Larry Rosenman freebsd_committer freebsd_triage 2022-04-17 23:28:12 UTC
add a note to mail/dovecot to bump portrevision on updates.
Comment 2 Boudhayan Gupta 2022-04-17 23:45:50 UTC
Created attachment 233288 [details]
git format-patch, includes comment in mail/dovecot

Hi Larry,

Thanks for the quick response. I made the edit to mail/dovecot, and now I did it against a git checkout of the ports tree so there's a nice diff you can apply :-)

Thanks,
Boudhayan
Comment 3 Larry Rosenman freebsd_committer freebsd_triage 2022-04-18 00:25:00 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-04-18 00:25:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4b1db7ecfdeb2b61fbdb30b3b738aa85659769ed

commit 4b1db7ecfdeb2b61fbdb30b3b738aa85659769ed
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2022-04-18 00:23:32 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
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 (new)  | 33 ++++++++++++++++++++++++++++++++
 mail/dovecot-fts-elastic/distinfo (new)  |  3 +++
 mail/dovecot-fts-elastic/pkg-descr (new) | 10 ++++++++++
 mail/dovecot/Makefile                    |  1 +
 4 files changed, 47 insertions(+)