git: 8cfc49abc24d - main - security/nmap*: The minimum supported OpenSSL is 3.0.0

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 03:41:27 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8cfc49abc24d65a6ac982f30adfbd838b3642ddf

commit 8cfc49abc24d65a6ac982f30adfbd838b3642ddf
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-03-31 03:35:28 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-03-31 03:41:18 +0000

    security/nmap*: The minimum supported OpenSSL is 3.0.0
    
    The minimum supported OpenSSL is now 3.0.0.
---
 security/nmap-devel/Makefile |  9 +++++++--
 security/nmap/Makefile       | 11 +++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile
index fb382a59c646..b50840bb92fc 100644
--- a/security/nmap-devel/Makefile
+++ b/security/nmap-devel/Makefile
@@ -69,8 +69,13 @@ 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
+.if defined(SSL_DEFAULT)
+.if ${SSL_DEFAULT} == libressl
+BROKEN=	error: OpenSSL-3.0.0 is the minimum supported version. LibreSSLis not supported
+.endif
+.if ${SSL_DEFAULT} == openssl111
+BROKEN= error: OpenSSL-3.0.0 is the minimum supported version.
+.endif
 .endif
 
 .if exists(/usr/lib/libibverbs.a)
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 2b15bd85d83b..3c4b3b65a92a 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -18,6 +18,8 @@ LICENSE_NAME=	Nmap Public Source License
 LICENSE_PERMS=	auto-accept dist-mirror pkg-mirror pkg-sell
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+IGNORE_FreeBSD_13=	Does not build on FreeBSD 13.x due to OpenSSL 1.1.1
+
 LIB_DEPENDS=	libpcre2-16.so:devel/pcre2
 
 .if !defined(MASTERDIR)
@@ -65,8 +67,13 @@ 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. LibreSSL is not supported
+.if defined(SSL_DEFAULT)
+.if ${SSL_DEFAULT} == libressl
+BROKEN=	error: OpenSSL-3.0.0 is the minimum supported version. LibreSSL is not supported
+.endif
+.if ${SSL_DEFAULT} == openssl111
+BROKEN=	error: OpenSSL-3.0.0 is the minimum supported version.
+.endif
 .endif
 
 .if exists(/usr/lib/libibverbs.a)