Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2021 19:47:52 GMT
From:      Juraj Lutter <otis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a19e2d02173 - main - mail/postfix: Check for supported OpenSSL version
Message-ID:  <202107081947.168JlqUM047356@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a19e2d02173f0748ca4839a0a9e1d394d410e65

commit 1a19e2d02173f0748ca4839a0a9e1d394d410e65
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2021-07-08 19:44:23 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2021-07-08 19:44:23 +0000

    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.
---
 mail/postfix/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index f7687a67cd8f..f6fc2fabbe5f 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107081947.168JlqUM047356>