FWICS the package builds just fine against dev-libs/libretls in place of libressl. Please provide a support for it, and replace the wrong use of USE=libretls with a dedicated flag for the feature (and USE=libressl to switch between libretls and libressl).
So you want a use flag like "constraints" or something to control whether or not they are enabled and libretls is required? Based on the devel list, it sounds like libressl is on the way out, so should I just remove that flag completely?
(In reply to Paul B. Henson from comment #1) > So you want a use flag like "constraints" or something to control whether or > not they are enabled and libretls is required? Yes. > Based on the devel list, it sounds like libressl is on the way out, so > should I just remove that flag completely? You can use dev-libs/libretls instead. It seems to work just fine.
Ok, so ditch the libressl use flag and add a "constraints" use flag which if enabled will depend on libretls. I'll take a look at it, thanks.
For the time being, probably something like that would be a good idea: constraints? ( libressl? ( dev-libs/libressl:= ) !libressl? ( dev-libs/libretls:= ) ) At least until we factually start removing LibreSSL.
Paul, could you review the linked PR, please?
Sorry, I guess I was confused, I thought you had already committed it to the repo. Looks good to me, thanks much...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d23cdc46ebda3861e5a9478f9e4d7c028b54a01 commit 2d23cdc46ebda3861e5a9478f9e4d7c028b54a01 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-01-01 11:40:24 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-01-05 21:19:32 +0000 net-misc/openntpd: Support dev-libs/libretls Closes: https://bugs.gentoo.org/762421 Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/18895 Signed-off-by: Michał Górny <mgorny@gentoo.org> net-misc/openntpd/metadata.xml | 1 + net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 67 +++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)