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)
Wed, Jan 28, 10:27 AM
Unknown Object (File)
Wed, Jan 28, 10:27 AM
Unknown Object (File)
Sat, Jan 17, 10:20 PM
Unknown Object (File)
Dec 7 2025, 11:55 AM
Unknown Object (File)
Nov 26 2025, 8:27 AM
Unknown Object (File)
Nov 22 2025, 3:24 AM
Unknown Object (File)
Nov 14 2025, 11:17 PM
Unknown Object (File)
Nov 14 2025, 8:40 PM
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.