Skip to content

Commit

Permalink
security/gost-engine: be ready for OpenSSL 3.0 in base system
Browse files Browse the repository at this point in the history
This is temporary hack until __FreeBSD_version updated.
PORTREVISION not bumped intentionally.
  • Loading branch information
Eugene Grosbein authored and Eugene Grosbein committed Jun 10, 2023
1 parent d3a0030 commit 51e672e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions security/gost-engine/Makefile
Expand Up @@ -25,15 +25,20 @@ USE_GITHUB= yes
GH_ACCOUNT= gost-engine
GH_PROJECT= engine

.if ${FLAVOR:U} == openssl30
BASE_OPENSSL_VSTR!= /usr/bin/openssl version
BASE_OPENSSL_VER=${BASE_OPENSSL_VSTR:C/^OpenSSL //W:C/\..*//gW}

.if ${FLAVOR:U} == openssl30 || ${BASE_OPENSSL_VER:U} == 3
GH_TAGNAME= 2b22503
GH_TUPLE+= provider-corner:libprov:e9f3e6a:libprov
GH_SUBDIR= libprov:libprov
DISTVERSION= g20230106
BROKEN_SSL+= base # openssl31
EDIR?= lib/engines-12
EDIRV?= @comment unused
DISTINFO_FILE= ${.CURDIR}/distinfo.${FLAVOR}
DISTINFO_FILE= ${.CURDIR}/distinfo.openssl30
.if ${BASE_OPENSSL_VER:U} != 3
BROKEN_SSL+= base # openssl31
.endif
.else
GH_TAGNAME= 739f957
DISTVERSION= g20220520
Expand Down

0 comments on commit 51e672e

Please sign in to comment.