What do you reckon?
Here's a PR: https://github.com/gentoo/gentoo/pull/23533 I was not sure what's the best way to handle the USE flags here. But considering everyone has openssl and libretls is a small shim library around it, I think it makes sense to have it as the default and not have msmtp pull in the whole gnutls stack and do it similarly to how it was done in msmtp-1.6.x before openssl support was dropped.
Created attachment 760223 [details, diff] Patch from PR > mail-mta/msmtp: polynomial-c > At least one of the listed packages is maintained entirely by non-GitHub developers! Uploading the patch here as well
Created attachment 778832 [details, diff] Patch for msmtp-1.8.20
Looks good to me. Let's begin by trying to establish keyword parity between libretls and msmtp, I would prefer to avoid USE-masking this on arches for which the former lacks keywords if it could be helped.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba7206d76de5a9efbe940982e497be9a06ff69b commit 7ba7206d76de5a9efbe940982e497be9a06ff69b Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-07-28 00:45:34 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-07-28 00:45:34 +0000 mail-mta/msmtp: allow linking against dev-libs/libretls Suggested-by: Alec Moskvin <alecm@gmx.com> Closes: https://bugs.gentoo.org/820077 Signed-off-by: Marek Szuba <marecki@gentoo.org> mail-mta/msmtp/msmtp-1.8.20-r1.ebuild | 148 ++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+)