Page MenuHomeFreeBSD

Add Mk/Uses/libtls.mk for handling linking with libtls
AbandonedPublic

Authored by tobik on Jul 26 2018, 11:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 29 2023, 5:35 AM
Unknown Object (File)
Dec 20 2023, 2:56 AM
Unknown Object (File)
Nov 30 2023, 4:55 AM
Unknown Object (File)
Oct 7 2023, 5:07 AM
Unknown Object (File)
Mar 21 2023, 12:02 PM
Unknown Object (File)
Mar 3 2023, 4:41 PM
Unknown Object (File)
Jan 3 2023, 4:28 PM
Unknown Object (File)
Dec 26 2022, 9:17 AM
Subscribers

Details

Reviewers
None
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Summary

Some ports need to link with libtls as provided by LibreSSL. The
current approach in the ports tree is to statically link ports
against it.

Some ports invent their own method to do this. Sometimes this
introduces new problems on LibreSSL updates c.f. PR 228438. I
think it would be good to provide something in the framework
to do this.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 18515
Build 18220: arc lint + arc unit

Event Timeline

I really never liked ports ignoring the SSL library I choose and building and linking with LibreSSL anyway.
I still think that when libressl is not the default they should error out.

In D16454#349248, @mat wrote:

I really never liked ports ignoring the SSL library I choose and building and linking with LibreSSL anyway.
I still think that when libressl is not the default they should error out.

In this case these don't link to libssl or libcrypto from the chosen SSL implementation.
These link to libtls, which is provided by libressl packages.