[oe] [PATCH] samba: add mirrors

Andreas Müller schnitzeltony at googlemail.com
Fri Feb 6 21:38:29 UTC 2015


Samba server is down currently so add mirrors. Both were short tested
by wget.

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta-oe/recipes-connectivity/samba/samba.inc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
index 68e1b1f..aef8aac 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -2,7 +2,14 @@ SECTION = "console/network"
 LICENSE = "GPL-3.0"
 DEPENDS = "readline virtual/libiconv zlib popt"
 
-SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \
+SAMBA_MIRROR = "http://samba.org/samba/ftp"
+
+MIRRORS += "\
+${SAMBA_MIRROR}    http://mirror.internode.on.net/pub/samba \n \
+${SAMBA_MIRROR}    http://www.mirrorservice.org/sites/ftp.samba.org \n \
+"
+
+SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
            file://volatiles.03_samba \
            file://smb.conf \
            file://init.samba \
-- 
1.9.3




More information about the Openembedded-devel mailing list