svn commit: r548355 - head/ftp/curl
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Sep 12 12:11:15 UTC 2020
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 at 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
More information about the svn-ports-head
mailing list