From 441d20200e3d6e07be71b0ee09abb3bbafa5b8df Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Mon, 7 Aug 2023 15:24:34 +0200 Subject: [PATCH] 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 2911aad258930..eb65eba9fb58e 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 + +.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