diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-05-25 09:40:26 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-30 15:58:13 +0100 |
commit | 145d28571db03742c8f4d240d52694a177f3a15a (patch) | |
tree | 8bfafd2ec12dd38d5dff9789863ffa21b66c0bb1 /meta/recipes-support/gnupg | |
parent | 2e74e4c7bc92ef84c72e6315215f4a10b1df8378 (diff) | |
download | poky-145d28571db03742c8f4d240d52694a177f3a15a.tar.gz |
gnupg.org-hosted recipes: Change SRC_URI to https site
https version seems more reliable and in an informal test fetching
all gnupg recipes now takes <20% of the time it used to.
Define GNUPG_MIRROR in bitbake.conf so future tweaks to this are
easier. Replace some slower mirrors with the official ftp site
and another from gnupg.org mirror list.
Set UPSTREAM_CHECK_URI in all recipes that need it to
"https://gnupg.org/download/index.html" as the directory listings
are not up-to-date.
(From OE-Core rev: dfc9178e2f2b6873ca497d981e308e00d15280b5)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnupg')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_1.4.7.bb | 2 | ||||
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.1.11.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_1.4.7.bb b/meta/recipes-support/gnupg/gnupg_1.4.7.bb index b4ccbfed69..6ccffd54ca 100644 --- a/meta/recipes-support/gnupg/gnupg_1.4.7.bb +++ b/meta/recipes-support/gnupg/gnupg_1.4.7.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | |||
9 | 9 | ||
10 | PR = "r9" | 10 | PR = "r9" |
11 | 11 | ||
12 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2 \ | 12 | SRC_URI = "${GNUPG_MIRROR}/gnupg/gnupg-${PV}.tar.bz2 \ |
13 | file://long-long-thumb.patch \ | 13 | file://long-long-thumb.patch \ |
14 | file://configure.patch \ | 14 | file://configure.patch \ |
15 | file://mips_gcc4.4.patch \ | 15 | file://mips_gcc4.4.patch \ |
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.11.bb b/meta/recipes-support/gnupg/gnupg_2.1.11.bb index 8e2189bca7..5d1372bdd6 100644 --- a/meta/recipes-support/gnupg/gnupg_2.1.11.bb +++ b/meta/recipes-support/gnupg/gnupg_2.1.11.bb | |||
@@ -8,7 +8,8 @@ DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt" | |||
8 | 8 | ||
9 | inherit autotools gettext texinfo pkgconfig | 9 | inherit autotools gettext texinfo pkgconfig |
10 | 10 | ||
11 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ | 11 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
12 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
12 | file://pkgconfig.patch \ | 13 | file://pkgconfig.patch \ |
13 | file://use-pkgconfig-instead-of-npth-config.patch \ | 14 | file://use-pkgconfig-instead-of-npth-config.patch \ |
14 | file://dirmngr-uses-libgpg-error.patch \ | 15 | file://dirmngr-uses-libgpg-error.patch \ |