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 09:30:31 +0100 |
commit | dfc9178e2f2b6873ca497d981e308e00d15280b5 (patch) | |
tree | 112828eba4af181db3e89fdbaa544feffce418ab /meta/recipes-support | |
parent | cab454a22a877cf6226b210de23e10b0a33b0acc (diff) | |
download | openembedded-core-dfc9178e2f2b6873ca497d981e308e00d15280b5.tar.gz openembedded-core-dfc9178e2f2b6873ca497d981e308e00d15280b5.tar.bz2 openembedded-core-dfc9178e2f2b6873ca497d981e308e00d15280b5.zip |
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 <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support')
-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 | ||||
-rw-r--r-- | meta/recipes-support/gpgme/gpgme_1.6.0.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_2.4.2.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt.inc | 3 | ||||
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.21.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/libksba/libksba_1.3.3.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/npth/npth_1.2.bb | 3 | ||||
-rw-r--r-- | meta/recipes-support/pinentry/pinentry_0.9.2.bb | 3 |
9 files changed, 17 insertions, 9 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" 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 \ diff --git a/meta/recipes-support/gpgme/gpgme_1.6.0.bb b/meta/recipes-support/gpgme/gpgme_1.6.0.bb index 86eda239bf..a2d05878b6 100644 --- a/meta/recipes-support/gpgme/gpgme_1.6.0.bb +++ b/meta/recipes-support/gpgme/gpgme_1.6.0.bb @@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://src/gpgme.h.in;endline=23;md5=5027eec93a996272a9a0a6a86cf35775 \ file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/${BP}.tar.bz2 \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \ file://gpgme.pc \ file://pkgconfig.patch \ " diff --git a/meta/recipes-support/libassuan/libassuan_2.4.2.bb b/meta/recipes-support/libassuan/libassuan_2.4.2.bb index f376d631ed..92ec5c0447 100644 --- a/meta/recipes-support/libassuan/libassuan_2.4.2.bb +++ b/meta/recipes-support/libassuan/libassuan_2.4.2.bb @@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ DEPENDS = "libgpg-error" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \ file://libassuan-add-pkgconfig-support.patch" SRC_URI[md5sum] = "70151995c2330ae1261c0a7ca34cf478" diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc index 5478253e06..a4f3cd0f00 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt.inc +++ b/meta/recipes-support/libgcrypt/libgcrypt.inc @@ -14,7 +14,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "libgpg-error libcap" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \ file://add-pkgconfig-support.patch \ file://libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \ file://fix-ICE-failure-on-mips-with-option-O-and-g.patch \ diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.21.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.21.bb index 0dd16025af..e4190ce540 100644 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.21.bb +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.21.bb @@ -11,7 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ SECTION = "libs" -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ file://pkgconfig.patch \ file://0001-libgpg-error-Add-nios2-support.patch \ " diff --git a/meta/recipes-support/libksba/libksba_1.3.3.bb b/meta/recipes-support/libksba/libksba_1.3.3.bb index bc21164199..9c901f6f51 100644 --- a/meta/recipes-support/libksba/libksba_1.3.3.bb +++ b/meta/recipes-support/libksba/libksba_1.3.3.bb @@ -13,7 +13,8 @@ BINCONFIG = "${bindir}/ksba-config" inherit autotools binconfig-disabled pkgconfig texinfo -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://ksba-add-pkgconfig-support.patch" SRC_URI[md5sum] = "a5dd3c57fca254935f5cf8db26e39065" diff --git a/meta/recipes-support/npth/npth_1.2.bb b/meta/recipes-support/npth/npth_1.2.bb index 1b3962e640..66aa3474bd 100644 --- a/meta/recipes-support/npth/npth_1.2.bb +++ b/meta/recipes-support/npth/npth_1.2.bb @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "\ file://COPYING;md5=751419260aa954499f7abaabaa882bbe\ file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6\ " -SRC_URI = "ftp://ftp.gnupg.org/gcrypt/npth/npth-${PV}.tar.bz2 \ +UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" +SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \ file://pkgconfig.patch \ " diff --git a/meta/recipes-support/pinentry/pinentry_0.9.2.bb b/meta/recipes-support/pinentry/pinentry_0.9.2.bb index d6b7130208..d315a99d4c 100644 --- a/meta/recipes-support/pinentry/pinentry_0.9.2.bb +++ b/meta/recipes-support/pinentry/pinentry_0.9.2.bb @@ -12,7 +12,8 @@ inherit autotools DEPENDS = "gettext-native" -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" SRC_URI[md5sum] = "f51d454f921111b5156a2291cbf70278" SRC_URI[sha256sum] = "fd8bc1592ceb22bb492b07cb29b1b140bb882c859e6503b974254c0a4b4134d1" |