From 6cb4eb3e8631e7309ffa8f14339dcdf579d17dfc Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Thu, 28 Jul 2016 01:24:47 -0400 Subject: mercurial-native: upgrade to 3.8.4 * Upgrade to the latest release to fix some CVEs: - CVE-2016-3068: arbitrary code execution with Git subrepos - CVE-2016-3069: arbitrary code execution when converting Git repos - CVE-2016-3630: remote code execution in binary delta decoding - CVE-2016-3105: arbitrary code execution when converting Git repos * For other changes please see: https://www.mercurial-scm.org/wiki/WhatsNew * Update SRC_URI with the new download link Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa --- .../mercurial/mercurial-native_3.4.1.bb | 26 ---------------------- .../mercurial/mercurial-native_3.8.4.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb create mode 100644 meta-oe/recipes-devtools/mercurial/mercurial-native_3.8.4.bb diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb b/meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb deleted file mode 100644 index aeec195fa2..0000000000 --- a/meta-oe/recipes-devtools/mercurial/mercurial-native_3.4.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "The Mercurial distributed SCM" -HOMEPAGE = "http://mercurial.selenic.com/" -SECTION = "console/utils" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "python-native" - -SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz" -SRC_URI[md5sum] = "65783a60aefb46a11296b587e9403537" -SRC_URI[sha256sum] = "7a8acf7329beda38ceea29c689212574d9a6bfffe24cf565015ea0066f7cee3f" - -S = "${WORKDIR}/mercurial-${PV}" - -inherit native - -EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ - PREFIX=${prefix}" - -do_configure_append () { - sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile -} - -do_install () { - oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} -} - diff --git a/meta-oe/recipes-devtools/mercurial/mercurial-native_3.8.4.bb b/meta-oe/recipes-devtools/mercurial/mercurial-native_3.8.4.bb new file mode 100644 index 0000000000..0526fc2201 --- /dev/null +++ b/meta-oe/recipes-devtools/mercurial/mercurial-native_3.8.4.bb @@ -0,0 +1,26 @@ +SUMMARY = "The Mercurial distributed SCM" +HOMEPAGE = "http://mercurial.selenic.com/" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "python-native" + +SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" +SRC_URI[md5sum] = "cec2c3db688cb87142809089c6ae13e9" +SRC_URI[sha256sum] = "4b2e3ef19d34fa1d781cb7425506a05d4b6b1172bab69d6ea78874175fdf3da6" + +S = "${WORKDIR}/mercurial-${PV}" + +inherit native + +EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ + PREFIX=${prefix}" + +do_configure_append () { + sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile +} + +do_install () { + oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} +} + -- cgit v1.2.3-54-g00ecf