mail/postfix: Check for supported OpenSSL version
- Check if OpenSSL at least 1.1.1a is being used - LibreSSL is not supported as it dos not (yet) provide the TLSv1.3 API found in OpenSSL 1.1.1 API.
This commit is contained in:
parent
928921d0f7
commit
1a19e2d021
1 changed files with 3 additions and 2 deletions
|
@ -88,8 +88,9 @@ MAKEFILEFLAGS+= DEBUG=
|
|||
|
||||
MAKEFILEFLAGS+= pie=yes CC="${CC}" OPT="${CFLAGS}"
|
||||
|
||||
.if ${SSL_DEFAULT} == base
|
||||
BROKEN_FreeBSD_11= error: OpenSSL-1.1.1 is the minimum supported version
|
||||
.if (${OSREL:R} < 12 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT} == libressl)
|
||||
BROKEN= error: OpenSSL-1.1.1 is the minimum supported version. \
|
||||
LibreSSL is not supported
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MINST_BASE}
|
||||
|
|
Loading…
Reference in a new issue