From a437855ed8b242cae299013f3c0df47b94a0fd7e Mon Sep 17 00:00:00 2001 From: David Marec Date: Wed, 26 May 2021 22:49:16 +0200 Subject: [PATCH 1/1] Make port broken if openssl version 1.1.0+ is not available i.e. FreeBSD older than rev 339732 with openssl from base --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index fc1669c..4ce702a 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,17 @@ USE_RC_SUBR= iked USERS= _iked GROUPS= _iked +.include + +# 12.0-STABLE after updating OpenSSL shared library version numbers. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200086 +BROKEN_SSL= base +BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.0+ (DH_get0_pqg) +.endif + post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \ ${STAGEDIR}${PREFIX}/etc/iked.conf.sample + .include -- 2.47.0