Skip to contentSkip to conversation

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

PATCH Superseded Anand Gadiyar 1 participant 1 message May 18, 2022

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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