security/libressl: Add the possibility to build only libtls

Mathieu Arnold mat at FreeBSD.org
Mon Aug 21 14:55:39 UTC 2017


Le 21/08/2017 à 12:03, Franco Fichtner a écrit :
>> On 21. Aug 2017, at 11:59 AM, David Wahlund <david at dafnet.se> wrote:
>>
>> I'd like to use the libtls library of LibreSSL on FreeBSD. Or the python bindings to libtls specifically. I do NOT however want to replace openssl or use the libssl library.
>>
>> From what I understand it would be possible in practice as I assume it's only libssl that overwrites files used by openssl.
>>
>> Would it be possible to create an option in LibreSSL, or preferably make a separate port, for libtls only? That way future ports can depend on libtls only. For example a future python-libtls port could depend on that.
>
> Unless you build your own packages with OpenSSL from ports
> you can just install LibreSSL and use it in your programs...
>
> # pkg install libressl
>
> OpenSSL lives in the base system, LibreSSL will be an optional
> install under /usr/local.


That is not quite true. As soon as you install openssl, openssl-devel,
or libressl or libressl-devel, the ports framework will use it whenever
you build something that needs SSL from the ports tree.


If you truly want to have libressl but do not want to use it for
building ports, you will need to install it in a separate PREFIX.


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170821/3c73fec4/attachment.sig>


More information about the freebsd-ports mailing list