From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 20 Sep 2022 16:47:49 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oaeXN-00AX9h-I4 for lore@lore.pengutronix.de; Tue, 20 Sep 2022 16:47:49 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oaeXM-0007WZ-Tf; Tue, 20 Sep 2022 16:47:48 +0200 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaeX3-0007WP-N7; Tue, 20 Sep 2022 16:47:29 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:2544:bef8:ba12:489b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 1E807E795D; Tue, 20 Sep 2022 14:47:29 +0000 (UTC) Date: Tue, 20 Sep 2022 16:47:20 +0200 From: Marc Kleine-Budde To: Alexander Dahl , ptxdist@pengutronix.de Message-ID: <20220920144720.mihfvg7hzy6m7tfx@pengutronix.de> References: <20220920125705.2728029-1-mkl@pengutronix.de> <20220920125705.2728029-2-mkl@pengutronix.de> <20220920132029.v6bxv2kijh544lpg@pengutronix.de> <20220920141432.GY2667@pengutronix.de> <20220920142035.6ydavqvmhlw5vs32@pengutronix.de> <20220920142907.GZ2667@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="osmaconia6kjbumw" Content-Disposition: inline In-Reply-To: <20220920142907.GZ2667@pengutronix.de> Subject: Re: [ptxdist] [PATCH 1/7] libcurl: version bump to 7.85 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false --osmaconia6kjbumw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20.09.2022 16:29:07, Michael Olbrich wrote: > > > Why do you need this stuff anyways? From looking at configure.ac, the > > > existing options should work. What am I missing here? > >=20 > > If configure is called with '--with-default-ssl-backend=3D"no"' it fail= s: > >=20 > > | checking if GSS-API support is requested... no > > | checking whether to enable Windows native SSL/TLS... no > > | checking whether to enable Secure Transport... no > > | checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no > > | configure: error: TLS not detected, you will not be able to use HTTPS= , FTPS, NTLM and more. > > | Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --= with-nss, --with-schannel, --with-secure-transport, --with-amissl, --with-b= earssl or --with-rustls to address this. >=20 > I think adding ptx/wwo --with{out,}-ssl should work. No need to make the > backend conditional. No, it doesn't. > Or $(call ptx/ifdef,PTXCONF_LIBCURL_SSL,,--without-ssl). Either one > inserted at the correct place. This works, though: @@ -105,7 +105,7 @@ LIBCURL_CONF_OPT :=3D \ --without-brotli \ --without-zstd \ --without-gssapi \ - --with-default-ssl-backend=3D$(PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND)= \ + $(call ptx/ifdef,PTXCONF_LIBCURL_SSL,--with-default-ssl-backend=3D$= (PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND),--without-ssl) --with-random=3D/dev/urandom \ --with-ca-bundle=3D$(PTXCONF_LIBCURL_SSL_CABUNDLE_PATH) \ --with-ca-path=3D$(PTXCONF_LIBCURL_SSL_CAPATH_PATH) \ Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --osmaconia6kjbumw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmMp0nYACgkQrX5LkNig 0134Mgf/d+E0DbrSgs5mPTlJA424R9Fs9i1JPfgdA4RApDI5ighX77SskWS8db2P ou8DQ1gJQOEeAW4/CfcBL4OUf0xx7elAaIrU0mr2+s7lM93LTmP4zuLsWP3Y/u0Q iEt7St9Gq0Q9XRKfgJI9syOGkVUrrCSGkL3CHZEMpmx64/PxpzpOxOD9+8jd7bGm v/Tp97+B4CFcEexSqSdHkZwA4xLkgDEJBvemAVEUpVzQLv8wgmSNC3cyHpOQcgsY ZosEiEF/TC2Qmt9huyk8rwHpiw9JoQbAZbcw1I1pxcWVw/m/JjsSuehCNwFJ6XSy xcz1k/2urIODBROQRAVoJVye6AnOgQ== =44tQ -----END PGP SIGNATURE----- --osmaconia6kjbumw--