From dfc9178e2f2b6873ca497d981e308e00d15280b5 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Wed, 25 May 2016 09:40:26 +0300 Subject: 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. Signed-off-by: Jussi Kukkonen Signed-off-by: Ross Burton --- meta/recipes-support/gnupg/gnupg_1.4.7.bb | 2 +- meta/recipes-support/gnupg/gnupg_2.1.11.bb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support/gnupg') 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" PR = "r9" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2 \ +SRC_URI = "${GNUPG_MIRROR}/gnupg/gnupg-${PV}.tar.bz2 \ file://long-long-thumb.patch \ file://configure.patch \ 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" inherit autotools gettext texinfo pkgconfig -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://pkgconfig.patch \ file://use-pkgconfig-instead-of-npth-config.patch \ file://dirmngr-uses-libgpg-error.patch \ -- cgit 1.2.3-korg