Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2020 12:11:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548355 - head/ftp/curl
Message-ID:  <202009121211.08CCB7or007765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Sep 12 12:11:07 2020
New Revision: 548355
URL: https://svnweb.freebsd.org/changeset/ports/548355

Log:
  Use built-in CA store of OpenSSL/GnuTLS when CA_BUNDLE is disabled
  
  PR:		248047
  Reported by:	Michael Osipov <michael.osipov@siemens.com>
  Submitted by:	kevans

Modified:
  head/ftp/curl/Makefile

Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile	Sat Sep 12 12:11:02 2020	(r548354)
+++ head/ftp/curl/Makefile	Sat Sep 12 12:11:07 2020	(r548355)
@@ -140,6 +140,10 @@ WOLFSSL_LIB_DEPENDS=	libwolfssl.so:security/wolfssl
 
 .include <bsd.port.pre.mk>
 
+.if !${PORT_OPTIONS:MCA_BUNDLE} && (${PORT_OPTIONS:MGNUTLS} || ${PORT_OPTIONS:MOPENSSL})
+CONFIGURE_ARGS+=--with-ca-fallback
+.endif
+
 .if ((!${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL}) || (${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mlibressl*})) && ${PORT_OPTIONS:MTLS_SRP}
 IGNORE=		only supports TLS-SRP with either OpenSSL or GnuTLS
 .endif



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