git: cf7fe19fd550 - main - net/asterisk16: Mark IGNORESSL

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 22 Jul 2023 06:11:30 UTC
The branch main has been updated by bofh:

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

commit cf7fe19fd550efa1c30953872c098bc3a164af7b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-22 05:02:08 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-22 06:11:20 +0000

    net/asterisk16: Mark IGNORESSL
    
    This port do not have upstream support for OpenSSL 3 and later as it's
    supposed toe expire on 2023-10-09 so mark IGNORE_SSL for OSVERSION
    1400092 and cases where SSL_DEFAULT is openssl.
    
    Sponsored by:   The FreeBSD Foundation
---
 net/asterisk16/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 987d5c5488c6..a96453c2e9b9 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -194,6 +194,11 @@ CC=             clang${LLVM_VERSION}
 CXX=            clang++${LLVM_VERSION}
 .endif
 
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+IGNORE_SSL=	base openssl30 openssl31
+IGNORE_SSL_REASON=	Missing upstream support for OpenSSL 3.0.0 and later in this version
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if empty(ICONV_LIB)