Skip to contentSkip to conversation

curl: Update tls backend PACKAGECONFIG options

PATCH In review Tom Pollard 3 participants 4 messages Sep 24, 2021 – Sep 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 curl: Update tls backend PACKAGECONFIG options

curl 7.77.0 made the tls backend configuration explicit. openssl is now a specific option replacing the default --with-ssl, and --without-ssl is required to build without any tls, overriding any other tls config. Adding 'without-ssl` as a mutually exclusive option against the existing tls options should prevent users silently disabling other enabled tls backends.

https://curl.se/changes.html#7_77_0

---
 meta/recipes-support/curl/curl_7.78.0.bb | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
meta/recipes-support/curl/curl_7.78.0.bb +9 -7
index dece0babb2..315755c9b1 100644
@@ -20,16 +20,17 @@ CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl dan
 
 inherit autotools pkgconfig binconfig multilib_header
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} ssl libidn proxy threaded-resolver verbose zlib"
-PACKAGECONFIG:class-native = "ipv6 proxy ssl threaded-resolver verbose zlib"
-PACKAGECONFIG:class-nativesdk = "ipv6 proxy ssl threaded-resolver verbose zlib"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} openssl libidn proxy threaded-resolver verbose zlib"
+PACKAGECONFIG:class-native = "ipv6 proxy openssl threaded-resolver verbose zlib"
+PACKAGECONFIG:class-nativesdk = "ipv6 proxy openssl threaded-resolver verbose zlib"
 
 # 'ares' and 'threaded-resolver' are mutually exclusive
+# 'without-ssl' explicitly disables tls, silently overriding other tls config and is required if no backend(s) are configured
 PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver"
 PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli"
 PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual"
 PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
-PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
+PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls,,,without-ssl"
 PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
 PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
@@ -39,7 +40,7 @@ PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
 PACKAGECONFIG[libgsasl] = "--with-libgsasl,--without-libgsasl,libgsasl"
 PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
 PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
-PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls"
+PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls,,,without-ssl"
 PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt,"
 PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
 PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
@@ -48,12 +49,13 @@ PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
 PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
 PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
-PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
+PACKAGECONFIG[openssl] = "--with-openssl --with-random=/dev/urandom,,openssl,,,without-ssl"
+PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss,,,without-ssl"
 PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
 PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
 PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares"
 PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose"
+PACKAGECONFIG[without-ssl] = "--without-ssl,,,,,gnutls mbedtls openssl nss"
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
 
 EXTRA_OECONF = " \
Signature · 1 line
2.30.2
#1 lore raw
Quoted 55 lines · Tom Pollard

curl 7.77.0 made the tls backend configuration explicit. openssl is now a specific option replacing the default --with-ssl, and --without-ssl is required to build without any tls, overriding any other tls config. Adding 'without-ssl` as a mutually exclusive option against the existing tls options should prevent users silently disabling other enabled tls backends.

https://curl.se/changes.html#7_77_0

---
 meta/recipes-support/curl/curl_7.78.0.bb | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
meta/recipes-support/curl/curl_7.78.0.bb +6 -7
index dece0babb2..315755c9b1 100644
@@ -20,16 +20,17 @@ CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl dan
 
 inherit autotools pkgconfig binconfig multilib_header
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} ssl libidn proxy threaded-resolver verbose zlib"
-PACKAGECONFIG:class-native = "ipv6 proxy ssl threaded-resolver verbose zlib"
-PACKAGECONFIG:class-nativesdk = "ipv6 proxy ssl threaded-resolver verbose zlib"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} openssl libidn proxy threaded-resolver verbose zlib"
+PACKAGECONFIG:class-native = "ipv6 proxy openssl threaded-resolver verbose zlib"
+PACKAGECONFIG:class-nativesdk = "ipv6 proxy openssl threaded-resolver verbose zlib"
 
 # 'ares' and 'threaded-resolver' are mutually exclusive
+# 'without-ssl' explicitly disables tls, silently overriding other tls config and is required if no backend(s) are configured
 PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver"
 PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli"
 PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual"
 PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
-PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
+PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls,,,without-ssl"
 PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
 PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
@@ -39,7 +40,7 @@ PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
 PACKAGECONFIG[libgsasl] = "--with-libgsasl,--without-libgsasl,libgsasl"
 PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
 PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
-PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls"
+PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls,,,without-ssl"
 PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt,"
 PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
 PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
@@ -48,12 +49,13 @@ PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
 PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
 PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
-PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" · line 61

Quoted 10 lines
meta/recipes-support/curl/curl_7.78.0.bb +3 -0
+PACKAGECONFIG[openssl] = "--with-openssl --with-random=/dev/urandom,,openssl,,,without-ssl"
+PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss,,,without-ssl"
 PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
 PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
 PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares"
 PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose"
+PACKAGECONFIG[without-ssl] = "--without-ssl,,,,,gnutls mbedtls openssl nss"
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
 
 EXTRA_OECONF = " \

I think this change breaks mingw:

https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/4055

Cheers,

Richard

#2 lore raw

Hi Richard,

Quoted 65 lines · Richard Purdie
Quoted 64 lines · Tom Pollard

curl 7.77.0 made the tls backend configuration explicit. openssl is now a specific option replacing the default --with-ssl, and --without-ssl is required to build without any tls, overriding any other tls config. Adding 'without-ssl` as a mutually exclusive option against the existing tls options should prevent users silently disabling other enabled tls backends.

https://curl.se/changes.html#7_77_0

---
 meta/recipes-support/curl/curl_7.78.0.bb | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
meta/recipes-support/curl/curl_7.78.0.bb +9 -7
index dece0babb2..315755c9b1 100644
@@ -20,16 +20,17 @@ CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl dan
 
 inherit autotools pkgconfig binconfig multilib_header
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} ssl libidn proxy threaded-resolver verbose zlib"
-PACKAGECONFIG:class-native = "ipv6 proxy ssl threaded-resolver verbose zlib"
-PACKAGECONFIG:class-nativesdk = "ipv6 proxy ssl threaded-resolver verbose zlib"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} openssl libidn proxy threaded-resolver verbose zlib"
+PACKAGECONFIG:class-native = "ipv6 proxy openssl threaded-resolver verbose zlib"
+PACKAGECONFIG:class-nativesdk = "ipv6 proxy openssl threaded-resolver verbose zlib"
 
 # 'ares' and 'threaded-resolver' are mutually exclusive
+# 'without-ssl' explicitly disables tls, silently overriding other tls config and is required if no backend(s) are configured
 PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver"
 PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli"
 PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual"
 PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
-PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
+PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls,,,without-ssl"
 PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
 PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
@@ -39,7 +40,7 @@ PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
 PACKAGECONFIG[libgsasl] = "--with-libgsasl,--without-libgsasl,libgsasl"
 PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
 PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
-PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls"
+PACKAGECONFIG[mbedtls] = "--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls,,,without-ssl"
 PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt,"
 PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
 PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
@@ -48,12 +49,13 @@ PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
 PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
 PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
-PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl"
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
+PACKAGECONFIG[openssl] = "--with-openssl --with-random=/dev/urandom,,openssl,,,without-ssl"
+PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss,,,without-ssl"
 PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
 PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
 PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,,,,ares"
 PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose"
+PACKAGECONFIG[without-ssl] = "--without-ssl,,,,,gnutls mbedtls openssl nss"
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
 
Quoted 5 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" · line 61

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 EXTRA_OECONF = " \

I think this change breaks mingw:

https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/4055

It looks like the append in meta-mingw will need updating to align with the changing the 'ssl' package option to 'openssl' and additionally the requirement of explicitly adding the 'without-ssl' option to achieve the old behavior:

http://git.yoctoproject.org/cgit.cgi/meta-mingw/tree/recipes-support/curl/curl_%25.bbappend

How would I go about synchronizing the change? I guess this also highlights that it could be a breaking change to other meta layers that append curl.

Enforcing the mutual exclusivity of the without-ssl option is also something that be considered to deem if it is necessary, or should it be left to the integrator to understand the change in behavior if the option is selected whilst other ssl options are also included.

Regards,

Tom

Quoted 15 lines

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156357): https://lists.openembedded.org/g/openembedded-core/message/156357
Mute This Topic: https://lists.openembedded.org/mt/85842512/2167528
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 1 line
https://www.codethink.co.uk/privacy.html
#3 lore raw
Quoted 100 lines · Tom Pollard

Hi Richard,

Quoted 8 lines · Richard Purdie
Quoted 7 lines · Tom Pollard

curl 7.77.0 made the tls backend configuration explicit. openssl is now a specific option replacing the default --with-ssl, and --without-ssl is required to build without any tls, overriding any other tls config. Adding 'without-ssl` as a mutually exclusive option against the existing tls options should prevent users silently disabling other enabled tls backends.

Quoted 8 lines

Review

Quoted 8 lines

https://curl.se/changes.html#7_77_0

---
 meta/recipes-support/curl/curl_7.78.0.bb | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-support/curl/curl_7.78.0.bb

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl

Quoted 4 lines

index dece0babb2..315755c9b1 100644

meta/recipes-support/curl/curl_7.78.0.bb +0 -0
@@ -20,16 +20,17 @@ CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl

curl:libcurl libcurl:libcurl dan

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl dan

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -1
 inherit autotools pkgconfig binconfig multilib_header
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}

ssl libidn proxy threaded-resolver verbose zlib"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 23

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +0 -1
-PACKAGECONFIG:class-native = "ipv6 proxy ssl threaded-resolver verbose

zlib"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 24

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +0 -1
-PACKAGECONFIG:class-nativesdk = "ipv6 proxy ssl threaded-resolver

verbose zlib"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 22

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}

openssl libidn proxy threaded-resolver verbose zlib"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 23

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
+PACKAGECONFIG:class-native = "ipv6 proxy openssl threaded-resolver

verbose zlib"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 24

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
+PACKAGECONFIG:class-nativesdk = "ipv6 proxy openssl threaded-resolver

verbose zlib"

Quoted 3 lines

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 26

Quoted 3 lines
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
 # 'ares' and 'threaded-resolver' are mutually exclusive
+# 'without-ssl' explicitly disables tls, silently overriding other tls

config and is required if no backend(s) are configured

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl · line 27

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 PACKAGECONFIG[ares] =

"--enable-ares,--disable-ares,c-ares,,,threaded-resolver"

Quoted 5 lines

meta/recipes-support/curl/curl_7.78.0.bb CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl dan

Quoted 5 lines
meta/recipes-support/curl/curl_7.78.0.bb +1 -1
 PACKAGECONFIG[brotli] = "--with-brotli,--without-brotli,brotli"
 PACKAGECONFIG[builtinmanual] = "--enable-manual,--disable-manual"
 PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
-PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
+PACKAGECONFIG[gnutls] =

"--with-gnutls,--without-gnutls,gnutls,,,without-ssl"

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[ldaps] =

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
 PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
@@ -39,7 +40,7 @@ PACKAGECONFIG[ldaps] =

"--enable-ldaps,--disable-ldaps,"

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -1
 PACKAGECONFIG[libgsasl] = "--with-libgsasl,--without-libgsasl,libgsasl"
 PACKAGECONFIG[libidn] = "--with-libidn2,--without-libidn2,libidn2"
 PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
-PACKAGECONFIG[mbedtls] =

"--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[ldaps] = · line 43

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
+PACKAGECONFIG[mbedtls] =

"--with-mbedtls=${STAGING_DIR_TARGET},--without-mbedtls,mbedtls,,,without-ssl"

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] =

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 PACKAGECONFIG[mqtt] = "--enable-mqtt,--disable-mqtt,"
 PACKAGECONFIG[nghttp2] = "--with-nghttp2,--without-nghttp2,nghttp2"
 PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
@@ -48,12 +49,13 @@ PACKAGECONFIG[rtmpdump] =

"--with-librtmp,--without-librtmp,rtmpdump"

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -1
 PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
 PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
 PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
-PACKAGECONFIG[ssl] = "--with-ssl

--with-random=/dev/urandom,--without-ssl,openssl"

Quoted 2 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = · line 52

Quoted 2 lines
meta/recipes-support/curl/curl_7.78.0.bb +1 -1
-PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss"
+PACKAGECONFIG[openssl] = "--with-openssl

--with-random=/dev/urandom,,openssl,,,without-ssl"

Quoted 4 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"

Quoted 4 lines
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
+PACKAGECONFIG[nss] = "--with-nss,--without-nss,nss,,,without-ssl"
 PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
 PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
 PACKAGECONFIG[threaded-resolver] =

"--enable-threaded-resolver,--disable-threaded-resolver,,,,ares"

Quoted 2 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = · line 58

Quoted 2 lines
meta/recipes-support/curl/curl_7.78.0.bb +1 -0
 PACKAGECONFIG[verbose] = "--enable-verbose,--disable-verbose"
+PACKAGECONFIG[without-ssl] = "--without-ssl,,,,,gnutls mbedtls openssl

nss"

Quoted 1 line

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = · line 59

Quoted 1 line
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 PACKAGECONFIG[zlib] =

"--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"

Quoted 6 lines

meta/recipes-support/curl/curl_7.78.0.bb PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump" · line 61

Quoted 2 lines
meta/recipes-support/curl/curl_7.78.0.bb +0 -0
 EXTRA_OECONF = " \

I think this change breaks mingw:

https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/4055

It looks like the append in meta-mingw will need updating to align with the changing the 'ssl' package option to 'openssl' and additionally the requirement of explicitly adding the 'without-ssl' option to achieve the old behavior:

Quoted 6 lines

http://git.yoctoproject.org/cgit.cgi/meta-mingw/tree/recipes-support/curl/curl_%25.bbappend

How would I go about synchronizing the change? I guess this also highlights that it could be a breaking change to other meta layers that append curl.

Submit the patch to meta-mingw; now that Richard and I know to look for it we will make sure it is synchronized

Quoted 30 lines

Enforcing the mutual exclusivity of the without-ssl option is also something that be considered to deem if it is necessary, or should it be left to the integrator to understand the change in behavior if the option is selected whilst other ssl options are also included.

Regards,

Tom

Quoted 10 lines

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#156357):

https://lists.openembedded.org/g/openembedded-core/message/156357

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/85842512/2167528
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

--
https://www.codethink.co.uk/privacy.html