Skip to content

Commit

Permalink
www/rearx: Mark BROKEN_SSL for 14
Browse files Browse the repository at this point in the history
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
  • Loading branch information
5u623l20 committed Aug 7, 2023
1 parent 89da58f commit 441d202
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions www/rearx/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 441d202

Please sign in to comment.