[Midnightbsd-cvs] [MidnightBSD/mports] 07bfaa: mail/dovecot24: update to 2.4.5
Lucas Holt
noreply at github.com
Fri Aug 28 19:05:07 EDT 2026
Branch: refs/heads/mail/dovecot24
Home: https://github.com/MidnightBSD/mports
Commit: 07bfaa11748042256de01facfea6312105ab960e
https://github.com/MidnightBSD/mports/commit/07bfaa11748042256de01facfea6312105ab960e
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M mail/dovecot24/Makefile
M mail/dovecot24/distinfo
M mail/dovecot24/pkg-plist
Log Message:
-----------
mail/dovecot24: update to 2.4.5
- update dovecot from 2.4.4 to 2.4.5 and reset PORTREVISION
- refresh distinfo for the 2.4.5 tarball
- sync pkg-plist with the new release: add abnf.h, bitmap.h,
idna.h, idna-punycode.h, imap-state-private.h, sasl-proxy.h,
storage-version.h, xxh64.h and libexec/dovecot/imap-hibernate;
drop punycode.h
Validation:
- distfile SHA256/size verified against distinfo
(868c2686a61b5f8e00a3e4721789b1ab46e6528fd773a5fbed07a6ecba7731e6,
8747733 bytes)
AI-Assisted-by: Claude Opus 5 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: e89f06ffed985f486c08cc73fe006385b9e606b8
https://github.com/MidnightBSD/mports/commit/e89f06ffed985f486c08cc73fe006385b9e606b8
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M mail/dovecot24/Makefile
A mail/dovecot24/files/patch-src_lib_net.c
Log Message:
-----------
mail/dovecot24: fix anvil crash from missing peer pid; declare libstemmer
On MidnightBSD net_getunixcred() used getpeereid(), which cannot return
the peer pid, so every process registered with anvil as pid=-1. Anvil
keys connections by (service, pid), so imap-login processes collided
("Handshake with duplicate service=imap-login pid=-1") and anvil
eventually hit i_unreached() in anvil-connection.c and died with
SIGABRT. Use LOCAL_PEERCRED with struct xucred.cr_pid (available since
FreeBSD 13 / MidnightBSD 4) ahead of the getpeereid() fallback, which
remains in use on 3.x.
libdovecot-language links against libstemmer.so when snowballstemmer is
present but the port never declared it; add the LIB_DEPENDS.
Validation:
- bmake clean patch build fake package
- installed on a production 2.4.5 IMAP server (mbox, PAM): anvil
duplicate-handshake warnings gone, no errors across client logins,
doveadm who / process status working
AI-Assisted-by: Claude Opus 5 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Compare: https://github.com/MidnightBSD/mports/compare/07bfaa117480%5E...e89f06ffed98
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list