Patchwork [meta-networking] quagga: Add mirror site

login
register
mail settings
Submitter Changhyeok Bae
Date April 23, 2014, 11:14 a.m.
Message ID <1398251678-6735-1-git-send-email-changhyeok.bae@lge.com>
Download mbox | patch
Permalink /patch/70787/
State New, archived
Headers show

Comments

Changhyeok Bae - April 23, 2014, 11:14 a.m.
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
---
 .../recipes-protocols/quagga/quagga.inc            |    2 ++
 1 file changed, 2 insertions(+)
Joe MacDonald - April 25, 2014, 1:01 a.m.
Merged, thanks.
-J.

[[oe] [meta-networking][PATCH] quagga: Add mirror site] On 14.04.23 (Wed 20:14) Changhyeok Bae wrote:

> * The SRC_URI is not accessible.
>   So need to add mirror site referred by the original site.
> * The problem is that
>   http://download.savannah.nongnu.org/releases redirects to closest mirror
>   and few mirrors (e.g. .jp) weren't working correctly while
>   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> 
> Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
> ---
>  .../recipes-protocols/quagga/quagga.inc            |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
> index 65ff040..6127205 100644
> --- a/meta-networking/recipes-protocols/quagga/quagga.inc
> +++ b/meta-networking/recipes-protocols/quagga/quagga.inc
> @@ -37,6 +37,8 @@ SRC_URI = "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagg
>             file://quagga-Avoid-duplicate-connected-address.patch \
>  "
>  
> +MIRRORS += "http://download.savannah.gnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n"
> +
>  PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
>  PACKAGECONFIG[cap] = "--enable-capabilities,--disable-capabilities,libcap"
>  PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam"
> -- 
> 1.7.9.5
>

Patch

diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc
index 65ff040..6127205 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -37,6 +37,8 @@  SRC_URI = "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagg
            file://quagga-Avoid-duplicate-connected-address.patch \
 "
 
+MIRRORS += "http://download.savannah.gnu.org/releases/ http://download-mirror.savannah.gnu.org/releases/ \n"
+
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
 PACKAGECONFIG[cap] = "--enable-capabilities,--disable-capabilities,libcap"
 PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam"