Files
meta-openembedded/meta-oe/recipes-devtools/mercurial/mercurial-native_3.8.4.bb
Jackie Huang 6cb4eb3e86 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 <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-05 12:16:38 +02:00

27 lines
799 B
BlitzBasic

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}
}