gnupg: ensure deterministic build by disabling libcurl
PATCH 1/1 gnupg: ensure deterministic build by disabling libcurl
gnupg has it's own fake curl, since we use gnupg with zypper, there does not seem to be a strong reason to add curl to the depends list.
--- meta/recipes-support/gnupg/gnupg_2.0.19.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-support/gnupg/gnupg_2.0.19.bb +2 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ DEPENDS = "${PTH} libassuan libksba zlib bzip2 readline libgcrypt" PTH = "pth" PTH_libc-uclibc = "npth" -PR = "r3" +PR = "r4" inherit autotools gettext
@@ -18,6 +18,7 @@ SRC_URI[sha256sum] = "efa23a8a925adb51c7d3b708c25b6d000300f5ce37de9bdec6453be7b4 EXTRA_OECONF = "--disable-ldap \ --disable-ccid-driver \ + --without-libcurl \ --with-zlib=${STAGING_LIBDIR}/.. \ --with-bzip2=${STAGING_LIBDIR}/.. \ --with-readline=${STAGING_LIBDIR}/.. \
Signature · 1 line
1.7.7.6
Quoted 2 lines · Saul Wold
gnupg has it's own fake curl, since we use gnupg with zypper, there does not seem to be a strong reason to add curl to the depends list.
what does disabling curl has to do with gnupg being used with zypper ?
Quoted 6 lines · Khem Raj
Quoted 2 lines · Saul Wold
gnupg has it's own fake curl, since we use gnupg with zypper, there does not seem to be a strong reason to add curl to the depends list.
what does disabling curl has to do with gnupg being used with zypper ?
I was looking for where gnupg was used within oe-core and it's usage model to see if it made sense to go with the extra dependency for gnupg, let me know your reasoning. Generally especially for natives we look for ways to reduce the initial build time.
Sau!
Quoted 6 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 9 lines · Saul Wold
Quoted 8 lines · Khem Raj
Quoted 4 lines · Saul Wold
gnupg has it's own fake curl, since we use gnupg with zypper, there does not
seem to be a strong reason to add curl to the depends list.
Quoted 6 lines
Quoted 2 lines
what does disabling curl has to do with gnupg being used with zypper ?
I was looking for where gnupg was used within oe-core and it's usage model to see if it made sense to go with the extra dependency for gnupg, let me know your reasoning. Generally especially for natives we look for ways to reduce the initial build time.
I am all for it. I wanted to understand the context thanks for that. On another note
it would be interesting to know what are we losing if we disable curl or external curl
Quoted 11 lines
Sau!
Quoted 6 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 12 lines · Khem Raj
Quoted 11 lines · Saul Wold
Quoted 10 lines · Khem Raj
Quoted 4 lines · Saul Wold
gnupg has it's own fake curl, since we use gnupg with zypper, there does not
seem to be a strong reason to add curl to the depends list.what does disabling curl has to do with gnupg being used with zypper ?
Quoted 7 lines
Quoted 4 lines
I was looking for where gnupg was used within oe-core and it's usage model to see if it made sense to go with the extra dependency for gnupg, let me know your reasoning. Generally especially for natives we look for ways to reduce the initial build time.
I am all for it. I wanted to understand the context thanks for that. On another note
Do you want me to amend the commit message?
Quoted 3 lines
it would be interesting to know what are we losing if we disable curl or external curl
gnupg seems to use a very small subset of curl and the curl_shim that it provides covers what's need in a very basic manner (including handling proxy setups). I would guess (after a cursory look) that we would lose better error handling and performance for the gpgkeys_curl command line interface.
I think that acceptable.
Sau!
Quoted 12 lines
Quoted 11 lines
Sau!
Quoted 6 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 37 lines · Saul Wold
Quoted 26 lines · Khem Raj
Quoted 14 lines · Saul Wold
Quoted 12 lines · Khem Raj
Quoted 6 lines · Saul Wold
gnupg has it's own fake curl, since we use gnupg with zypper, there does
not
seem to be a strong reason to add curl to the depends list.Quoted 8 lines
Quoted 2 lines
what does disabling curl has to do with gnupg being used with zypper ?
I was looking for where gnupg was used within oe-core and it's usage model
to see if it made sense to go with the extra dependency for gnupg, let me know your reasoning. Generally especially for natives we look for ways to
reduce the initial build time.Quoted 2 lines
I am all for it. I wanted to understand the context thanks for that. On another note
Do you want me to amend the commit message?
Quoted 3 lines
it would be interesting to know what are we losing if we disable curl or external curl
Quoted 7 lines
gnupg seems to use a very small subset of curl and the
curl_shimthat it provides covers what's need in a very basic manner (including handling proxy setups). I would guess (after a cursory look) that we would lose better error handling and performance for thegpgkeys_curlcommand line interface.I think that acceptable.
yes add good summary of this to commit log would help in future references