summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorSlater, Joseph <joe.slater@windriver.com>2020-09-14 13:18:07 -0700
committerKhem Raj <raj.khem@gmail.com>2020-09-15 09:28:34 -0700
commit433d887dbf8db849fb011ac8aa1e3ed8faa72b18 (patch)
tree750f8dd2feddbcad28cf1a3737734821eee92c76 /meta-oe
parentab05d6522f51757667a24b15966b76fa4e75a244 (diff)
downloadmeta-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.bb6
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"
3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771" 3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
4HOMEPAGE = "http://luajit.org" 4HOMEPAGE = "http://luajit.org"
5 5
6PV = "2.1.0~beta3"
7SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
8SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ 6SRC_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.
12PV = "2.1.0~beta3-200809"
13SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117"
14
13S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
14 16
15inherit pkgconfig binconfig siteinfo 17inherit pkgconfig binconfig siteinfo