git: 080e7c0993ae - main - security/wolfssh: Fix build with wolfssl 5.9.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 22:16:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=080e7c0993aeae07ef7dfe162a51b9ad3ab355f7
commit 080e7c0993aeae07ef7dfe162a51b9ad3ab355f7
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-06-30 22:11:55 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-06-30 22:11:55 +0000
security/wolfssh: Fix build with wolfssl 5.9.2
/bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -DBUILDING_WOLFSSH -DWOLFSSH_TEST_INTERNAL -DNDEBUG -DWOLFSSH_KEYGEN -DWOLFSSH_SCP -DWOLFSSH_SFTP -DWOLFSSH_FWD -DWOLFSSH_TERM -DWOLFSSH_SHELL -DWOLFSSH_AGENT -DWOLFSSH_CERTS -isystem /usr/local/include -fvisibility=hidden -O2 -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstrict-overflow=1 -Wstrict-prototypes -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -MT src/libwolfssh_test_la-internal.lo -MD -MP -MF src/.deps/l
ibwolfssh_test_la-internal.Tpo -c -o src/libwolfssh_test_la-internal.lo `test -f 'src/internal.c' || echo './'`src/internal.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -DBUILDING_WOLFSSH -DWOLFSSH_TEST_INTERNAL -DNDEBUG -DWOLFSSH_KEYGEN -DWOLFSSH_SCP -DWOLFSSH_SFTP -DWOLFSSH_FWD -DWOLFSSH_TERM -DWOLFSSH_SHELL -DWOLFSSH_AGENT -DWOLFSSH_CERTS -isystem /usr/local/include -fvisibility=hidden -O2 -pthread -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstrict-overflow=1 -Wstrict-prototypes -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -MT src/libwolfssh_test_la-internal.lo -MD -MP -MF src/.deps/libwolfssh_test_la-internal.Tpo
-c src/internal.c -fPIC -DPIC -o src/.libs/libwolfssh_test_la-internal.o
src/internal.c:60:10: fatal error: 'wolfssl/wolfcrypt/mlkem.h' file not found
60 | #include <wolfssl/wolfcrypt/mlkem.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Reference: https://pkg-status.freebsd.org/beefy22/data/143amd64-default/932084179555/logs/wolfssh-1.5.0.log
Obtained from: https://github.com/wolfSSL/wolfssh/commit/73b10ad26d51309852e87e74cb4e6d27f2faf33b
---
security/wolfssh/Makefile | 3 +++
security/wolfssh/distinfo | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/security/wolfssh/Makefile b/security/wolfssh/Makefile
index 9b906fa92cf2..a48bd09b50b1 100644
--- a/security/wolfssh/Makefile
+++ b/security/wolfssh/Makefile
@@ -3,6 +3,9 @@ PORTVERSION= 1.5.0
CATEGORIES= security
MASTER_SITES= https://www.wolfssl.com/
+PATCH_SITES= https://github.com/wolfSSL/wolfssh/commit/
+PATCHFILES= 73b10ad26d51309852e87e74cb4e6d27f2faf33b.patch:-p1
+
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Lightweight SSH Library
WWW= https://www.wolfssl.com/products/wolfssh/ \
diff --git a/security/wolfssh/distinfo b/security/wolfssh/distinfo
index a68b753c08e2..7cd9be17288b 100644
--- a/security/wolfssh/distinfo
+++ b/security/wolfssh/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1776780816
+TIMESTAMP = 1782657210
SHA256 (wolfssh-1.5.0.tar.gz) = 59ca7fd72dbfb5ecb943c792c6ee27cdb214fb66331f8947c575e5f20c1890b3
SIZE (wolfssh-1.5.0.tar.gz) = 1092077
+SHA256 (73b10ad26d51309852e87e74cb4e6d27f2faf33b.patch) = a0f88ff9ad075e670d9ecc7d81a49b98bc881c37744aaf270d66313ec111a9cf
+SIZE (73b10ad26d51309852e87e74cb4e6d27f2faf33b.patch) = 602