[Bug 297703] [new port] mail/dovecot24-wormhole: Wormhole plugin for the Dovecot '2.4' IMAP and POP3 server

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Aug 2026 11:05:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297703

--- Comment #12 from Jordan Ostreff <jordan@ostreff.info> ---
I have been reviewing and testing the mail/dovecot24-wormhole ( 0.13 version )
port and noticed a few area-specific enhancements to improve compliance with
the FreeBSD Ports framework and ensure smooth installation across different
flavors.

Here is a summary of the recommended changes:
Flavor-Aware CONFLICTS_INSTALL
To prevent package collisions between flavors (mysql, pgsql, etc.) and legacy
versions, add flavor resolution logic:
CONFLICTS_INSTALL=      dovecot-wormhole dovecot23-wormhole

.if ${FLAVOR} == default
CONFLICTS_INSTALL+=     dovecot24-wormhole-*
.else
CONFLICTS_INSTALL+=     dovecot24-wormhole dovecot24-wormhole-*
.endif

Explicit License File Declaration
Is the source tarball provides a license file? You can define it in Makefile:
LICENSE_FILE=   ${WRKSRC}/LICENSE

OpenSSL Linker Path
Since USES= ssl and OPENSSLINC are used in CPPFLAGS, it is good practice to
explicitly include the library path in LDFLAGS:
LDFLAGS+=       -L${OPENSSLLIB}

Libtool .la Files
Ensure that static libtool archives (.la files) are stripped from pkg-plist if
they are not strictly required, adhering to FreeBSD ports standards.
User Clarity (pkg-message)
The plugin built by this package registers itself inside Dovecot as
replication(lib20_replication_plugin.so), not wormhole. Adding a brief
pkg-message reminding users to add mail_plugins = $mail_plugins replication
into dovecot.conf will prevent confusion during initial setup.
All built binaries (replicator, aggregator) and dynamic libraries link
correctly without unresolved symbols (not found).

-- 
You are receiving this mail because:
You are the assignee for the bug.