summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/lua
Commit message (Collapse)AuthorAgeFilesLines
* meta-oe: Add leading whitespace for append operatorKhem Raj2022-08-021-1/+1
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 92441f9d6a958c245a03f89ec44ef2c17dd6b0ee) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: fix CVE-2022-28805Steve Sakoman2022-05-253-0/+102
| | | | | | | | | | | | | | | | | | singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code. https://nvd.nist.gov/vuln/detail/CVE-2022-28805 (From OE-Core rev: d2ba3b8850d461bc7b773240cdf15b22b31a3f9e) Signed-off-by: Sana Kazi <sana.kazi@kpit.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 91e14d3a8e6e67267047473f5c449f266b44f354) Signed-off-by: Omkar Patil <omkar.patil@kpit.com> Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: update to 5.3.6Armin Kuster2021-01-121-3/+3
| | | | | | | | | | | | LIC_FILES_CHKSUM changed to do year updates This is the last 5.3.x update. This will give us the best starting point for doing Maintence moving forward. Its a bug fix only update. See http://www.lua.org/work/diffs-lua-5.3.5-lua-5.3.6.html Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: fix CVE-2020-24371Wenlin Kang2021-01-122-0/+91
| | | | | | | | | | | | | | | | Source: openembedded.org MR: 105165 Type: Security Fix Disposition: Backport from https://git.openembedded.org/meta-openembedded gatesgarth ChangeID: 747161877824daae061bc4fb458f55ab033f62f4 Description: Fix CVE-2020-24371 Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: fix CVE-2020-15945Wenlin Kang2021-01-122-0/+168
| | | | | | | | | | | | | | | | | | | Source: openembedded.org MR: 104897 Type: Security Fix Disposition: Backport from https://git.openembedded.org/meta-openembedded gatesgarth ChangeID: 6c43941d116bbb9f0d62ca5376da24ae03eb9eab Description: Fixes CVE-2020-15945 Backport with modifications to apply successfully. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: Security Advisory - lua - CVE-2020-15888Yue Tao2020-07-302-0/+46
| | | | | | | | | | Backport fix from https://github.com/lua/lua.git. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 698748c1538ed03efbcfdd936cf8317b4f138c29) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* modify LUA_CPATH_DEFAULT for 64-bit architecturesHaseeb Ashraf2020-04-161-0/+1
| | | | | | | | LUA_CPATH_DEFAULT for *.so files should include LUA_ROOT/lib64/lua/LUA_VDIR not LUA_ROOT/lib/lua/LUA_VDIR Signed-off-by: Haseeb Ashraf <Haseeb_Ashraf@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lua: change a hard readline dependency into an optional oneAlexander Kanavin2019-10-102-3/+65
| | | | | | | | | | | This requires patching the source code, as readline is hardcoded in there. The rationale is to allow disabling the dependency on a gplv3 component (readline) where that license is blacklisted. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lua: upgrade from v5.3.4 to v5.3.5Hongzhi.Song2019-04-111-4/+8
| | | | | | | The v5.3.5 release covers CVE-2019-6706 which is vulnerable. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Adding LUA to SDKRomain Forlot2017-12-271-1/+1
| | | | | | | | | | A project could need to have LUA in SDK, an example is to compile LUA scripts which checks its syntax before embedded them into a project compiled by Yocto. Change-Id: I3c36acd58d45121c3344b5322244bdc0b12061b9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lua: 5.3.3 -> 5.3.4Huang Qiyu2017-05-231-5/+5
| | | | | | | | 1) Upgrade lua from 5.3.3 to 5.3.4. 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: 5.3.2 -> 5.3.3Wang Xin2016-09-051-5/+5
| | | | | | | | 1) Upgrade lua from 5.3.2 to 5.3.3. 2) Modify LIC_FILES_CHKSUM, since the date in it has been changed, But the LICENSE has not been changed. Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: remove PR = "r0"Martin Jansa2016-08-221-2/+0
| | | | | | * this is default value Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"Martin Jansa2016-03-041-1/+1
| | | | | | | | | * Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: update Libs in lua.pcMaciej Borzecki2016-02-251-2/+1
| | | | | | | | | Update Libs in lua.pc so that pkg-config --libs gives the correct list of libraries for linking. This makes us effectively list the same libraries as Fedora does. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: use PV for generating Version in lua.pcMaciej Borzecki2016-02-252-2/+4
| | | | | | | | | | Lua was updated to 5.3.2, however lua.pc still has 5.2.2 listed as Version in pkg-config metadata file. Instead of bumping the Version field in lua.pc make sure that we are future proof and update the field automatically with value of ${PV}. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: Added ptest for luaPaul Vaduva2016-02-152-5/+34
| | | | | | | Signed-off-by: Andreas Sundstr Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: 5.3.1 -> 5.3.2Li xin2016-01-061-2/+2
| | | | | | | Upgrade lua from 5.3.1 to 5.3.2. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: upgrade 5.2.2 -> 5.3.1Li xin2015-07-301-5/+5
| | | | | | | | Update the checksum, beginline and endline of LICENSE file, but the LICENSE has not been changed. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: Remove lua5.1Martin Jansa2014-06-216-746/+0
| | | | | | | | | | | | | | | | | | | | | | | * we have lua-5.2 in "lua" recipe and lua-5.1 in "lua5.1", but these aren't completely separate in sysroot: WARNING: The recipe lua is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lauxlib.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lua.hpp Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/luaconf.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/include/lualib.h Matched in manifest-qemux86-lua5.1.populate_sysroot /OE/build/oe-core/tmp-eglibc/sysroots/qemux86/usr/lib/liblua.a Matched in manifest-qemux86-lua5.1.populate_sysroot Please verify which package should provide the above files. Causing some undeterministic behavior. * keep only 5.2 in "lua" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: add lua 5.2 recipeKang Kai2013-12-213-0/+73
| | | | | | | | | | | | Add lua 5.2.2 recipe. Update: * remove bitwise_operators.patch that lua uses bit32 library to support for bitwise operations. * update uclibc-pthread.patch Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua5.1: apply lua.org patches for lua-5.1.5Marko Lindqvist2013-10-313-1/+65
| | | | | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* lua5.1: Fix multilib installKhem Raj2013-01-221-0/+5
| | | | | | | | | | when we have multilib enabled then there are some hardcoded assumptions in lua code which needs to be fixed some can be fixed by simply passing right variable on cmdline for the one's in sourcecode needs to be edited in place. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua: update to upstream version 5.1.5Marko Lindqvist2012-12-163-85/+69
| | | | | | | | * COPYRIGHT: md5sum changed only because (C) years now up to 2012. * MJ: removed trailing whitespaces Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua5.1: fix packaging QA warningsMartin Jansa2012-12-111-1/+5
| | | | | | | | | | | * Fixes: lua5.1-5.1.4: lua5.1: Files/directories were installed but not shipped /usr/share/lua /usr/share/lua/5.1 /usr/lib/lua /usr/lib/lua/5.1 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lua5: drop unused NATIVE_INSTALL_WORKS without quotes tooMartin Jansa2012-02-261-1/+0
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* lua5.1: add LIC_FILES_CHKSUMMartin Jansa2011-03-241-0/+1
|
* lua: import from meta-shrKoen Kooi2011-03-234-0/+689
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>