[1/2] slang: add PREMIRRORS to handle upstream moving tarballs

Message ID 1477932495-21204-1-git-send-email-ross.burton@intel.com
State Accepted
Commit 50d49766ab76b67e312f6a1d91977a40d1020919
Headers show

Commit Message

Ross Burton Oct. 31, 2016, 4:48 p.m.
The slang maintainer only puts the current release at
jedsoft.org/releases/slang/slang-1.2.3.tar.bz2, all previous releases are moved
into /releases/slang/old/.

As this breaks the fetch the moment a new version is released, use PREMIRRORS to
also look in the /old/ directory.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/slang/slang_2.3.0.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/slang/slang_2.3.0.bb b/meta/recipes-extended/slang/slang_2.3.0.bb
index 17efbbe..ce7b16a 100644
--- a/meta/recipes-extended/slang/slang_2.3.0.bb
+++ b/meta/recipes-extended/slang/slang_2.3.0.bb
@@ -22,6 +22,7 @@  SRC_URI = "http://www.jedsoft.org/releases/${BPN}/${BP}.tar.bz2 \
            file://0001-Fix-error-conflicting-types-for-posix_close.patch \
           "
 UPSTREAM_CHECK_URI = "http://www.jedsoft.org/releases/slang/"
+PREMIRRORS_append = "\n http://www.jedsoft.org/releases/slang/.* http://www.jedsoft.org/releases/slang/old/ \n"
 
 inherit autotools-brokensep