Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 15:25:18 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 441d20200e3d - main - www/rearx: Mark BROKEN_SSL for 14
Message-ID:  <202308071525.377FPI06026767@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 441d20200e3d6e07be71b0ee09abb3bbafa5b8df
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 13:24:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 15:24:44 +0000

    www/rearx: Mark BROKEN_SSL for 14
    
    OpenSSL 3 has been merged into OSVERSION 1400092 so also mark BROKEN_SSL
    for 14 and OSVERSION 1400092 onwards.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/rearx/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/www/rearx/Makefile b/www/rearx/Makefile
index 2911aad25893..eb65eba9fb58 100644
--- a/www/rearx/Makefile
+++ b/www/rearx/Makefile
@@ -12,8 +12,6 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 USES=		cargo ssl
-BROKEN_SSL=	openssl30 openssl31
-BROKEN_SSL_REASON=	Fails to detect OpenSSL 3.0.0 and later
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	garak92
@@ -173,6 +171,13 @@ CARGO_CRATES=	\
 SUB_LIST=	ETCDIR=${ETCDIR}
 SUB_FILES=	pkg-message
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN_SSL=	base openssl30 openssl31
+BROKEN_SSL_REASON=	Fails to detect OpenSSL 3.0.0 and later
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's|/etc/rearx/rearx.yaml|${PREFIX}/etc/rearx/rearx.yaml|' ${WRKSRC}/src/request.rs
 



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