Created attachment 227740 [details] Force use of libressl libs/includes in build if required. If libressl is defined as default in make.conf (ssl=libressl), the build uses both the base ssl and LibreSSL. The port builds fine without this, but linking against generated libs causes confusion. The build can be forced to build only against the LibreSSL libs and includes. This patch links against LibreSSL dynamic libs, but can also use static libs (change .so to .a).
Maintainer informed via mail
Created attachment 228453 [details] Patch for libwebsockets Bump libwebsockets and add LibreSSL "hack"
Hi Rob, I apologize for the wait, can you give this a try and report back? Please also include what version of FreeBSD and arch you're testing it on. Best regards, Daniel
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab8391bc3c2ef4a419b5275f75c10690dbfda2de commit ab8391bc3c2ef4a419b5275f75c10690dbfda2de Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2021-12-08 10:29:19 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2021-12-08 10:48:52 +0000 net/libwebsockets: Update to 4.2.2 Changelog: https://github.com/warmcat/libwebsockets/compare/v4.2.1...v4.2.2 Add support for LibreSSL - Submitted by Rob Kruus Reset maintainer due to multiple timeouts PR: 258345 Approved by: mentors (implicit), maintainer timeout (3 months) net/libwebsockets/Makefile | 11 +++++++++-- net/libwebsockets/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 5 deletions(-)
Committed, thanks!