luajit: advance SRCREV to fix two CVE's
PATCH 1/1 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 the branch name and date of SRCREV commit.
Signed-off-by Joe Slater <[email protected]>
--- meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +4 -2
@@ -3,13 +3,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org" -PV = "2.1.0~beta3" -SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ " +# Set PV to the branch and date associated with SRCREV. +PV = "v2.1-200809" +SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117" + S = "${WORKDIR}/git" inherit pkgconfig binconfig siteinfo
Signature · 1 line
2.17.1
Quoted 19 lines · Joe Slater
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 the branch name and date of SRCREV commit.
Signed-off-by Joe Slater <[email protected]>--- meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)meta-oe/recipes-devtools/luajit/luajit_git.bb +0
-0@@ -3,13 +3,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" HOMEPAGE = "http://luajit.org"
meta-oe/recipes-devtools/luajit/luajit_git.bb LICENSE = "MIT" · line 12
Quoted 10 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb +2
-2-PV = "2.1.0~beta3" -SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22" SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \ file://clang.patch \ " +# Set PV to the branch and date associated with SRCREV. +PV = "v2.1-200809"
does this sort above 2.1.0~beta3 ? and below 2.1.0
Quoted 9 lines
meta-oe/recipes-devtools/luajit/luajit_git.bb +2
-1+SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117" + S = "${WORKDIR}/git" inherit pkgconfig binconfig siteinfo --2.17.1