Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2025 15:01:15 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84293fd91f9b - main - security/nmap*: LibreSSL is not supported
Message-ID:  <202505051501.545F1F0r033821@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84293fd91f9be4caed31d14455bdfebb17a0e8a6

commit 84293fd91f9be4caed31d14455bdfebb17a0e8a6
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-05-05 14:58:20 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-05-05 15:00:55 +0000

    security/nmap*: LibreSSL is not supported
    
    Upstream calls EC_GROUP_method_of(). OpenBSD has removed
    EC_GROUP_method_of() from their tree, meaning LibreSSL doesn't
    have it either. security/nmap* will not build with LibreSSL.
    
    PR:     286598
---
 security/nmap-devel/Makefile | 4 ++++
 security/nmap/Makefile       | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile
index a42f4373b950..4ae8f7fe5084 100644
--- a/security/nmap-devel/Makefile
+++ b/security/nmap-devel/Makefile
@@ -63,6 +63,10 @@ STRIP_FILES+=	nmap nping
 
 .include <bsd.port.options.mk>
 
+.if defined(SSL_DEFAULT) && ${SSL_DEFAULT} == libressl
+BROKEN=	error: OpenSSL-1.1.1 is the minimum supported version. LibreSSLis not supported
+.endif
+
 .if exists(/usr/lib/libibverbs.a)
 # Link with libibverbs is needed by static libpcap
 post-patch-PCAP-on:
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index c3b20bc1ae9d..8f320aecd5db 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -59,6 +59,10 @@ CONFIGURE_ARGS+=--without-localdirs \
 
 .include <bsd.port.options.mk>
 
+.if defined(SSL_DEFAULT) && ${SSL_DEFAULT} == libressl
+BROKEN=	error: OpenSSL-1.1.1 is the minimum supported version. LibreSSLis not supported
+.endif
+
 .if exists(/usr/lib/libibverbs.a)
 # Link with libibverbs is needed by static libpcap
 post-patch-PCAP-on:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505051501.545F1F0r033821>