LibreSSL requires a lot of ebuilds to be fixed. This overlay serves as a testing ground and makes testing easier by providing an openssl dummy ebuild, so you can compile packages against LibreSSL.
The libressl USE flag is no longer used on main portage tree.
The dummy dev-libs/openssl package on this overlay only depends
on dev-libs/libressl to fix dependency.
This overlay goal is to provide ebuilds that require patches for build
to succeed where dummy package dependency isn’t enough.
Use eselect-repository:
# eselect repository enable libressl
Now you can use emerge --sync or emaint sync -r libressl to sync this
repository.
The dev-libs/libressl package in this overlay causes file collisions with the
dev-libs/openssl::gentoo package. When switching to this overlay first fetch
the LibreSSL package and then remove the OpenSSL package before installing
dev-libs/libressl and the dev-libs/openssl::libressl fake package:
# emerge -f dev-libs/libressl
# emerge -C dev-libs/openssl
# emerge -av1 dev-libs/libressl
# emerge @preserved-rebuild
The net-misc/curl package when built with the quic USE flag requires
net-libs/ngtcp2 to be built with the openssl USE flag, but this is
masked in the Gentoo repo so it must be unmasked by editing or creating
the /etc/portage/profile/package.use.mask/net-libs file with the
following contents:
net-libs/ngtcp2 -openssl
See LibreSSL issue libressl/portable#1114 for rationale.
IRC on Libera.Chat #gentoo-libressl

