Commit Graph

21 Commits

Author SHA1 Message Date
Hongzhi.Song
be6481ca9f lua: upgrade from v5.3.4 to v5.3.5
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>
2019-04-11 11:30:35 -07:00
Romain Forlot
13c84c645b Adding LUA to SDK
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>
2017-12-27 07:25:03 -08:00
Huang Qiyu
9ef29d509d lua: 5.3.3 -> 5.3.4
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>
2017-05-23 15:49:40 +02:00
Wang Xin
bb7101e5e1 lua: 5.3.2 -> 5.3.3
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>
2016-09-05 13:30:53 +02:00
Martin Jansa
303a585a6f meta-oe: remove PR = "r0"
* this is default value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Martin Jansa
df7242fddb recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* 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>
2016-03-04 09:06:22 +01:00
Maciej Borzecki
69f5e6e583 lua: update Libs in lua.pc
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>
2016-02-25 17:45:47 +01:00
Maciej Borzecki
4047e5ca84 lua: use PV for generating Version in lua.pc
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>
2016-02-25 17:45:46 +01:00
Paul Vaduva
142d6fb402 lua: Added ptest for lua
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>
2016-02-15 10:15:27 +01:00
Li xin
eed574a322 lua: 5.3.1 -> 5.3.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>
2016-01-06 13:25:50 +01:00
Li xin
e0f26387c3 lua: upgrade 5.2.2 -> 5.3.1
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>
2015-07-30 21:22:24 +02:00
Martin Jansa
3181aa0eb5 lua: Remove lua5.1
* 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>
2014-06-21 19:22:26 +02:00
Kang Kai
d2ec4eef07 lua: add lua 5.2 recipe
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>
2013-12-21 19:16:51 +01:00
Marko Lindqvist
e9759bfafb lua5.1: apply lua.org patches for lua-5.1.5
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-31 10:27:15 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* 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>
2013-04-15 16:23:17 +02:00
Khem Raj
055938e9f7 lua5.1: Fix multilib install
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>
2013-01-22 13:18:23 +01:00
Marko Lindqvist
4e6bd189c5 lua: update to upstream version 5.1.5
* 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>
2012-12-16 21:11:44 +01:00
Martin Jansa
124a9515fd lua5.1: fix packaging QA warnings
* 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>
2012-12-11 01:52:56 +01:00
Martin Jansa
b85b2dd813 lua5: drop unused NATIVE_INSTALL_WORKS without quotes too
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-26 23:57:21 +01:00
Martin Jansa
69203f0bd1 lua5.1: add LIC_FILES_CHKSUM 2011-03-24 10:46:02 +01:00
Koen Kooi
d011ac80a0 lua: import from meta-shr
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-23 16:26:43 +01:00