Skip to contentSkip to conversation

meta-arago-distro: curl: add proxy and verbose support

PATCH In review Anand Gadiyar 2 participants 2 messages May 18, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 meta-arago-distro: curl: add proxy and verbose support

Our PACKAGECONFIG override for curl was done to prefer OpenSSL for curl but seems to have the side effect of overriding other build flags enabled in the upstream recipe, specifically the ones that enable verbose debug prints and proxy support.

This affects git clone while behind a proxy.

Explicitly enable these in arago.conf.

---
This supercedes the previous patch I sent out that was removing our custom PACKAGECONFIG option, as Ryan felt we would have issues with TSU exemptions as the comment states. So this version just enables the two options we care about.

A third option in the upstream recipe that is similarly affected is threaded_resolver but we don't currently know if it is essential. So I'm not touching that in this patch. Let me know if someone disagrees with this and I can resubmit enabling that as well.

 meta-arago-distro/conf/distro/arago.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/conf/distro/arago.conf +1 -1
index 67468cc0..eb380c63 100644
@@ -137,7 +137,7 @@ PACKAGECONFIG_append_pn-qtwayland = " examples"
 PACKAGECONFIG_append_pn-qtwebengine = " examples"
 
 # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
-PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl zlib"
+PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} proxy ssl verbose zlib"
 
 PACKAGECONFIG_pn-glmark2 = "drm-gles2 wayland-gles2"
 
Signature · 1 line
2.17.1
Reviewed-by on v3 1/1
#1 lore raw
Quoted 29 lines · Anand Gadiyar via lists.yoctoproject.org

Our PACKAGECONFIG override for curl was done to prefer OpenSSL for curl but seems to have the side effect of overriding other build flags enabled in the upstream recipe, specifically the ones that enable verbose debug prints and proxy support.

This affects git clone while behind a proxy.

Explicitly enable these in arago.conf.

---
This supercedes the previous patch I sent out that was removing our custom PACKAGECONFIG option, as Ryan felt we would have issues with TSU exemptions as the comment states. So this version just enables the two options we care about.

A third option in the upstream recipe that is similarly affected is threaded_resolver but we don't currently know if it is essential. So I'm not touching that in this patch. Let me know if someone disagrees with this and I can resubmit enabling that as well.

  meta-arago-distro/conf/distro/arago.conf | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/conf/distro/arago.conf +0 -0
index 67468cc0..eb380c63 100644

meta-arago-distro/conf/distro/arago.conf PACKAGECONFIG_append_pn-qtwayland = " examples" · line 143

Quoted 8 lines
meta-arago-distro/conf/distro/arago.conf +1 -1
@@ -137,7 +137,7 @@ PACKAGECONFIG_append_pn-qtwayland = " examples"
  PACKAGECONFIG_append_pn-qtwebengine = " examples"
 
  # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions
-PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl zlib"
+PACKAGECONFIG_pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} proxy ssl verbose zlib"
 
  PACKAGECONFIG_pn-glmark2 = "drm-gles2 wayland-gles2"
 
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS