diff options
author | Slater, Joseph <joe.slater@windriver.com> | 2020-09-14 13:18:07 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-09-15 09:28:34 -0700 |
commit | 433d887dbf8db849fb011ac8aa1e3ed8faa72b18 (patch) | |
tree | 750f8dd2feddbcad28cf1a3737734821eee92c76 /meta-oe | |
parent | ab05d6522f51757667a24b15966b76fa4e75a244 (diff) | |
download | meta-openembedded-433d887dbf8db849fb011ac8aa1e3ed8faa72b18.tar.gz |
luajit: advance SRCREV to fix two CVE's
Fix CVE-2020-15890 and CVE-2020-24372.
Also change PV format because the reference to 2.1.0-beta3
was already far behind the SRCREV. Now, base PV on a tag
and date of SRCREV commit if it is later. Sort order is
2.1.0~beta3 -> 2.1.0~beta-yymmdd -> 2.1.0 -> 2.1.0-yymmdd.
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb index cc9039416..6573efcd9 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_git.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb | |||
@@ -3,13 +3,15 @@ LICENSE = "MIT" | |||
3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" | 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" |
4 | HOMEPAGE = "http://luajit.org" | 4 | HOMEPAGE = "http://luajit.org" |
5 | 5 | ||
6 | PV = "2.1.0~beta3" | ||
7 | SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" | ||
8 | SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ | 6 | SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ |
9 | file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ | 7 | file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ |
10 | file://clang.patch \ | 8 | file://clang.patch \ |
11 | " | 9 | " |
12 | 10 | ||
11 | # Set PV to a version tag and date associated with SRCREV if it is later. | ||
12 | PV = "2.1.0~beta3-200809" | ||
13 | SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117" | ||
14 | |||
13 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
14 | 16 | ||
15 | inherit pkgconfig binconfig siteinfo | 17 | inherit pkgconfig binconfig siteinfo |