Please forgive my un-technicality on the issue. Dovecot is strict about plugin compatibility: every time it starts, it checks if requested plugins have the same "build" signature as the running instance of dovecot, refusing to work properly in case of a mismatch. This translates in: everytime there's an update to dovecot in portage and I emerge it, it breaks because I forget to force-reinstall the external plugins I use (mail-filter/dovecot_antispam). In my un-technicality I've seen that there are packages which get force-reinstalled when other packages get updated. I request to extend this behaviour to dovecot plugins. Reproducible: Always Steps to Reproduce: 1. emerge net-mail/dovecot (when there's an update) 2. /etc/init.d/dovecot restart 3. (try to connect to it) Actual Results: Dovecot refuses the connection, complaining in its logs that external plugins have a version mismatch (Sorry, I don't have the log available) Expected Results: 1. emerge should reinstall installed plugins after compiling dovecot
I don't see why not?
dovecot_antispam isn't in tree (anymore?) but I'm happy to add this if eras has no objections. Is there anything which needs to subscribe to the subslot in ::gentoo, or should we just provide it/
no objections and no subslot consumer in ::gentoo afaik but pigeonhole (the plugin that provides SIEVE capability) should really be a separate package. Their releases usually but not always occur simultaneously. so pigeonhole package, if/when we separate it from dovecot, will be a potential consumer.
Came to +1 this. I have a plugin in the GURU repo (net-mail/dovecot-fts-xapian) that needs to be rebuilt every time Dovecot gets rebuilt.
"equery depends -a net-mail/dovecot" brings up this list for me (summarized): mail-filter/maildrop (dovecot ? net-mail/dovecot) net-mail/dovecot-fts-xapian (net-mail/dovecot) [GURU] sys-cluster/poolmon (net-mail/dovecot) I threw up a Github PR in case it makes anyone's life easier or restarts a conversation about pros/cons/gotchas.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b456d41ef71294e468e0bf5f8c630fa0e6a301 commit e4b456d41ef71294e468e0bf5f8c630fa0e6a301 Author: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com> AuthorDate: 2023-04-20 13:44:52 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2023-04-20 16:08:38 +0000 net-mail/dovecot: A ${PV} based subsloting Closes: https://bugs.gentoo.org/562796 Closes: https://github.com/gentoo/gentoo/pull/30667 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com> Signed-off-by: Eray Aslan <eras@gentoo.org> net-mail/dovecot/dovecot-2.3.20-r2.ebuild | 302 ++++++++++++++++++++++++++++++ 1 file changed, 302 insertions(+)