Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4211f99a216d4f440b3b804a1e6db475087e3ed2

commit 4211f99a216d4f440b3b804a1e6db475087e3ed2
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-04-06 12:45:14 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-04-06 12:53:21 +0000

    security/libssh: Mark BROKEN on 15+ and add backup for MASTER_SITES
    
    Fails to build on 15+,
    src/mlkem_crypto.c:31:10: fatal error: 'openssl/ml_kem.h' file not found
    
    Add temporary backup for MASTER_SITES to avoid build failures on other
    versions and of consumers as main upstream site current truncates
    downloads
    
    Thanks to eduardo@ for verifying build issues on -CURRENT
    
    PR:             294268
    Approved by:    blanket, just fix it
---
 security/libssh/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index cbec0cfe7b55..10ebb693d642 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -1,7 +1,9 @@
 PORTNAME=	libssh
 PORTVERSION=	0.12.0
+PORTREVISION=	1
 CATEGORIES=	security devel
-MASTER_SITES=	https://www.libssh.org/files/${PORTVERSION:R}/
+MASTER_SITES=	https://www.libssh.org/files/${PORTVERSION:R}/ \
+		https://ftp.openbsd.org/pub/OpenBSD/distfiles/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Library implementing the SSH2 protocol
@@ -11,6 +13,9 @@ WWW=		https://www.libssh.org/ \
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BROKEN_FreeBSD_15=	src/mlkem_crypto.c:31:10: fatal error: 'openssl/ml_kem.h' file not found
+BROKEN_FreeBSD_16=	src/mlkem_crypto.c:31:10: fatal error: 'openssl/ml_kem.h' file not found
+
 TEST_DEPENDS=	cmocka>=0:sysutils/cmocka
 
 USES=		cmake:testing cpe tar:xz


home | help