Skip to content

Commit

Permalink
security/rubygem-openssl2: Mark IGNORE_SSL
Browse files Browse the repository at this point in the history
This specific version do not have upstream support for OpenSSL 3 and
later. So Mark this version with IGNORE_SSL. In case OpenSSL 3 and later
support is required use security/rubygem-openssl.

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 22, 2023
1 parent e143e8f commit 40dd71f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions security/rubygem-openssl2/Makefile
Expand Up @@ -13,9 +13,6 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.txt

BROKEN_SSL= openssl30 openssl31
BROKEN_SSL_REASON= Requires OpenSSL >= 1.0.1, < 3.0.0

RUN_DEPENDS= rubygem-ipaddr>=0:net/rubygem-ipaddr

USES= cpe gem ssl
Expand All @@ -24,4 +21,11 @@ CPE_VENDOR= ruby-lang

PORTSCOUT= limit:^2\.

.include <bsd.port.options.mk>

.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.mk>

0 comments on commit 40dd71f

Please sign in to comment.