[OE-core] [PATCH] ncurses: update SRC_URI

Maxin B. John maxin.john at intel.com
Wed Nov 25 14:07:32 UTC 2015


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]

Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 meta/recipes-core/ncurses/ncurses.inc    | 2 +-
 meta/recipes-core/ncurses/ncurses_5.9.bb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index ffd80ee..8bfe133 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -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"
diff --git a/meta/recipes-core/ncurses/ncurses_5.9.bb b/meta/recipes-core/ncurses/ncurses_5.9.bb
index 54d27a9..22c6230 100644
--- a/meta/recipes-core/ncurses/ncurses_5.9.bb
+++ b/meta/recipes-core/ncurses/ncurses_5.9.bb
@@ -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"
-- 
2.4.0




More information about the Openembedded-core mailing list