There are two problems currently preventing the Gentoo FreeRADIUS ebuild building with LibreSSL: 1. The ebuild currently insists on openssl. Specifically, use of the ssl USE flag has this: ssl? ( dev-libs/openssl:0= ) This needs to be changed to this: ssl? ( !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl ) ) 2. The FreeRADIUS build requires a patch, which can be found here: https://raw.githubusercontent.com/openbsd/ports/master/net/freeradius3/patches/patch-src_main_tls_c I have tested the patch in (2) and manually modified my ebuild to allow LibreSSL instead of OpenSSL and the package then builds succesfully. This bug is to therefore track those two changes.
Unfortunately I accidentally submitted this bug before properly proof reading it and fixing up the formatting. The version of FreeRADIUS I tested this with is 3.0.14, which is the only version currently in the tree.
As of today the patch I referenced below for LibreSSL support in FreeRADIUS was committed to the upstream Git repository. This means that we should see FreeRADIUS build against LibreSSL in the next upstream release without any external patch (presumably this will be v3.0.15). The fix for the .ebuild file dependency still needs to happen but this can wait for now and should probably be done as part of the next upstream release when LibreSSL will actually build against LibreSSL.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9ddca4036344a2ab4c85b7360130f0e3ebf565 commit be9ddca4036344a2ab4c85b7360130f0e3ebf565 Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2018-04-22 00:27:43 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2018-04-22 00:27:57 +0000 net-dialup/freeradius: add LibreSSL support Closes: https://bugs.gentoo.org/622810 Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-dialup/freeradius/freeradius-3.0.15.ebuild | 7 +++++-- net-dialup/freeradius/freeradius-3.0.16.ebuild | 7 +++++-- net-dialup/freeradius/freeradius-3.0.17.ebuild | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-)