Skip to contentSkip to conversation

ed: update SRC_URI to yoctoproject mirror

PATCH In review Maxin B. John 2 participants 2 messages Apr 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ed: update SRC_URI to yoctoproject mirror

Upstream has removed the 1.14.1 release from ftp.gnu.org and moved to the latest 1.14.2. Since we don't want to upgrade at this point of time, temporarily move the SRC_URI to yoctoproject mirror.

---
 meta/recipes-extended/ed/ed_1.14.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/ed/ed_1.14.1.bb +3 -1
index 5d89a87..7e6bde4 100644
@@ -11,7 +11,9 @@ SECTION = "base"
 # LSB states that ed should be in /bin/
 bindir = "${base_bindir}"
 
-SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz"
+# Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.lz"
+UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
 
 SRC_URI[md5sum] = "7f4a54fa7f366479f03654b8af645fd0"
 SRC_URI[sha256sum] = "ffb97eb8f2a2b5a71a9b97e3872adce953aa1b8958e04c5b7bf11d556f32552a"
Signature · 1 line
2.4.0
#1 lore raw
Quoted 21 lines · Maxin B. John

Upstream has removed the 1.14.1 release from ftp.gnu.org and moved to the latest 1.14.2. Since we don't want to upgrade at this point of time, temporarily move the SRC_URI to yoctoproject mirror.

---
 meta/recipes-extended/ed/ed_1.14.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/ed/ed_1.14.1.bb +1 -1
index 5d89a87..7e6bde4 100644
@@ -11,7 +11,9 @@ SECTION = "base"
 # LSB states that ed should be in /bin/
 bindir = "${base_bindir}"
 
-SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz"
+# Upstream regularly removes previous releases from
Quoted 3 lines

https://ftp.gnu.org/gnu/ed/
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.lz"

Just as a point of clarification, they only seem to remove previous point releases. 1.0 through 1.13 still reside there.

Signature · 4 lines
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics