mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 12:12:16 +02:00
Update mercurial to fix CVE-2014-9462: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9462 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
27 lines
852 B
BlitzBasic
27 lines
852 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 = "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} \
|
|
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} 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}
|
|
}
|
|
|