Skip to contentSkip to conversation

ncurses: update SRC_URI

PATCH New Maxin B. John 1 participant 1 message Nov 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: update SRC_URI

ncurses source tarball from "current" directory in ftp://invisible-island.net gets updated/deleted during the release cycle.

We can't depend on that FTP server to fetch source as the maintainer doesn't guarantee the presence of all patched versions in the server. ftp://invisible-island.net/ncurses/5.9/README

Fetch sources from debian git server as it is comparatively reliable.

[YOCTO #8713]

---
 meta/recipes-core/ncurses/ncurses.inc    | 2 +-
 meta/recipes-core/ncurses/ncurses_5.9.bb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +1 -1
index ffd80ee..8bfe133 100644
@@ -13,7 +13,7 @@ BINCONFIG = "${bindir}/ncurses-config"
 inherit autotools binconfig-disabled multilib_header pkgconfig
 
 # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/
-SRC_URI = "ftp://invisible-island.net/${BPN}/current/${BP}-${REVISION}.tgz"
+SRC_URI = "git://anonscm.debian.org/collab-maint/ncurses.git"
 
 EXTRA_AUTORECONF = "-I m4"
 CONFIG_SITE =+ "${WORKDIR}/config.cache"
meta/recipes-core/ncurses/ncurses_5.9.bb +3 -3
index 54d27a9..22c6230 100644
@@ -7,6 +7,6 @@ PR = "${INC_PR}.1"
 SRC_URI += "file://tic-hang.patch \
             file://config.cache \
 "
-S = "${WORKDIR}/${BP}-${REVISION}"
-SRC_URI[md5sum] = "cee991d09e69e60ebedef424804c52d4"
-SRC_URI[sha256sum] = "5b64f40e4dce73e3aa83d15bd9257c6eff8790ec41150f0938bd87c0eb75828f"
+# commit id corresponds to the above listed REVISION
+SRCREV = "6286e14dac28811dbfd325b8d4c23f0d4e37eaf0"
+S = "${WORKDIR}/git"
Signature · 1 line
2.4.0