[v2] meta-arago-distro: curl: add proxy and verbose support

Message ID 20220518145046.23942-1-gadiyar@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [v2] meta-arago-distro: curl: add proxy and verbose support | expand

Commit Message

Gadiyar, Anand May 18, 2022, 2:50 p.m. UTC
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.

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
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(-)

Patch

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 67468cc0..eb380c63 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -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"