summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-05-25 09:40:26 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-30 15:58:13 +0100
commit145d28571db03742c8f4d240d52694a177f3a15a (patch)
tree8bfafd2ec12dd38d5dff9789863ffa21b66c0bb1
parent2e74e4c7bc92ef84c72e6315215f4a10b1df8378 (diff)
downloadpoky-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>
-rw-r--r--meta/classes/mirrors.bbclass8
-rw-r--r--meta/conf/bitbake.conf2
-rw-r--r--meta/recipes-support/gnupg/gnupg_1.4.7.bb2
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.1.11.bb3
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.6.0.bb3
-rw-r--r--meta/recipes-support/libassuan/libassuan_2.4.2.bb3
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc3
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.21.bb3
-rw-r--r--meta/recipes-support/libksba/libksba_1.3.3.bb3
-rw-r--r--meta/recipes-support/npth/npth_1.2.bb3
-rw-r--r--meta/recipes-support/pinentry/pinentry_0.9.2.bb3
11 files changed, 23 insertions, 13 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 9e6d4836db..11847085ba 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -21,13 +21,13 @@ ${DEBIAN_MIRROR} ftp://ftp.se.debian.org/debian/pool \n \
21${DEBIAN_MIRROR} ftp://ftp.tr.debian.org/debian/pool \n \ 21${DEBIAN_MIRROR} ftp://ftp.tr.debian.org/debian/pool \n \
22${GNU_MIRROR} ftp://mirrors.kernel.org/gnu \n \ 22${GNU_MIRROR} ftp://mirrors.kernel.org/gnu \n \
23${KERNELORG_MIRROR} http://www.kernel.org/pub \n \ 23${KERNELORG_MIRROR} http://www.kernel.org/pub \n \
24ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/ \n \ 24${GNUPG_MIRROR} ftp://ftp.gnupg.org/gcrypt \n \
25ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/ \n \ 25${GNUPG_MIRROR} ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \n \
26ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/ \n \ 26${GNUPG_MIRROR} ftp://mirrors.dotsrc.org/gcrypt \n \
27ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n \ 27ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n \
28ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \n \ 28ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \n \
29ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n \ 29ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n \
30ftp://ftp.gnutls.org/gcrypt/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/ \n \ 30ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR} \n \
31http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ \n \ 31http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ \n \
32http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n \ 32http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n \
33ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \n \ 33ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \n \
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index acef30b714..942b8b1bf7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -583,6 +583,7 @@ GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles"
583GNOME_GIT = "git://git.gnome.org" 583GNOME_GIT = "git://git.gnome.org"
584GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources" 584GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
585GNU_MIRROR = "http://ftp.gnu.org/gnu" 585GNU_MIRROR = "http://ftp.gnu.org/gnu"
586GNUPG_MIRROR = "https://www.gnupg.org/ftp/gcrypt"
586GPE_MIRROR = "http://gpe.linuxtogo.org/download/source" 587GPE_MIRROR = "http://gpe.linuxtogo.org/download/source"
587KERNELORG_MIRROR = "http://kernel.org/pub" 588KERNELORG_MIRROR = "http://kernel.org/pub"
588SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net" 589SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net"
@@ -600,6 +601,7 @@ SRC_URI[vardepsexclude] += "\
600 GNOME_GIT \ 601 GNOME_GIT \
601 GNOME_MIRROR \ 602 GNOME_MIRROR \
602 GNU_MIRROR \ 603 GNU_MIRROR \
604 GNUPG_MIRROR \
603 GPE_MIRROR \ 605 GPE_MIRROR \
604 KERNELORG_MIRROR \ 606 KERNELORG_MIRROR \
605 SAVANNAH_GNU_MIRROR \ 607 SAVANNAH_GNU_MIRROR \
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
10PR = "r9" 10PR = "r9"
11 11
12SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${PV}.tar.bz2 \ 12SRC_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
9inherit autotools gettext texinfo pkgconfig 9inherit autotools gettext texinfo pkgconfig
10 10
11SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ 11UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
12SRC_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 \
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 \
9 file://src/gpgme.h.in;endline=23;md5=5027eec93a996272a9a0a6a86cf35775 \ 9 file://src/gpgme.h.in;endline=23;md5=5027eec93a996272a9a0a6a86cf35775 \
10 file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" 10 file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d"
11 11
12SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/${BP}.tar.bz2 \ 12UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
13SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
13 file://gpgme.pc \ 14 file://gpgme.pc \
14 file://pkgconfig.patch \ 15 file://pkgconfig.patch \
15 " 16 "
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 \
12 12
13DEPENDS = "libgpg-error" 13DEPENDS = "libgpg-error"
14 14
15SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ 15UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
16SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
16 file://libassuan-add-pkgconfig-support.patch" 17 file://libassuan-add-pkgconfig-support.patch"
17 18
18SRC_URI[md5sum] = "70151995c2330ae1261c0a7ca34cf478" 19SRC_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 \
14 14
15DEPENDS = "libgpg-error libcap" 15DEPENDS = "libgpg-error libcap"
16 16
17SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ 17UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
18SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.gz \
18 file://add-pkgconfig-support.patch \ 19 file://add-pkgconfig-support.patch \
19 file://libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \ 20 file://libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \
20 file://fix-ICE-failure-on-mips-with-option-O-and-g.patch \ 21 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 \
11 11
12SECTION = "libs" 12SECTION = "libs"
13 13
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ 14UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
15SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
15 file://pkgconfig.patch \ 16 file://pkgconfig.patch \
16 file://0001-libgpg-error-Add-nios2-support.patch \ 17 file://0001-libgpg-error-Add-nios2-support.patch \
17 " 18 "
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"
13 13
14inherit autotools binconfig-disabled pkgconfig texinfo 14inherit autotools binconfig-disabled pkgconfig texinfo
15 15
16SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ 16UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
17SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
17 file://ksba-add-pkgconfig-support.patch" 18 file://ksba-add-pkgconfig-support.patch"
18 19
19SRC_URI[md5sum] = "a5dd3c57fca254935f5cf8db26e39065" 20SRC_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 = "\
6 file://COPYING;md5=751419260aa954499f7abaabaa882bbe\ 6 file://COPYING;md5=751419260aa954499f7abaabaa882bbe\
7 file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6\ 7 file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6\
8 " 8 "
9SRC_URI = "ftp://ftp.gnupg.org/gcrypt/npth/npth-${PV}.tar.bz2 \ 9UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
10SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \
10 file://pkgconfig.patch \ 11 file://pkgconfig.patch \
11 " 12 "
12 13
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
12 12
13DEPENDS = "gettext-native" 13DEPENDS = "gettext-native"
14 14
15SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2" 15UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
16SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
16 17
17SRC_URI[md5sum] = "f51d454f921111b5156a2291cbf70278" 18SRC_URI[md5sum] = "f51d454f921111b5156a2291cbf70278"
18SRC_URI[sha256sum] = "fd8bc1592ceb22bb492b07cb29b1b140bb882c859e6503b974254c0a4b4134d1" 19SRC_URI[sha256sum] = "fd8bc1592ceb22bb492b07cb29b1b140bb882c859e6503b974254c0a4b4134d1"