Skip to contentSkip to conversation

samba: add mirrors

PATCH New Andreas Müller 1 participant 1 message Feb 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba: add mirrors

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

---
 meta-oe/recipes-connectivity/samba/samba.inc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
meta-oe/recipes-connectivity/samba/samba.inc +8 -1
index 68e1b1f..aef8aac 100644
@@ -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 \
Signature · 1 line
1.9.3