summaryrefslogtreecommitdiff
path: root/luaext
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28Upgrade version to 4.14sandbox/wangbiao/rpm414_tizenbiao716.wang5-70/+41
Change-Id: Ifd629ba679a11ede4d831195c6aea2245efc3300 Signed-off-by: biao716.wang <biao716.wang@samsung.com>
2014-06-11Finish lua 5.2 support, trac #865Johannes Dewender1-6/+15
Lua52 support was started with ac959fed0082cb253d45c7a04866e8654e962442. Compilation tested with Lua 5.2.1 and Lua 5.1.5. The short typerror() snippet is taken from luaL_typerror in Lua 5.1.5 (MIT license) Signed-off-by: Johannes Dewender <rpm@JonnyJD.net> Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2014-06-11lua: Enable LuaMarkus Lehtonen1-2/+2
However, disable the "io" and "os" standard libraries and only enable the access() function from the "posix" extension library. Change-Id: If3b5f0776f6684af4ebaeb7bff742ab9a2123221 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-10-09Add lua 5.2 support.Anders F Bjorklund2-5/+9
Add compatibility support for both lua-5.1 and lua-5.2, assuming that the LUA_COMPAT might have been disabled. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
2011-03-28Use pkg-config to find Lua + determine flags (ticket #88)Panu Matilainen1-2/+2
- Additionally clean up the logic a bit and dont bother building any lua-related bits if disabled
2010-11-15Basic protection against Lua os.exit() and posix.exec() (ticket #167)Panu Matilainen2-2/+38
- Track posix.fork() and only allow exit() and exec() if the script has forked. There are other questionable items in posix extensions too but these are the worst offenders. - Using Lua registry for tracking forked status might be more Lua-way option but this'll do for now.
2010-04-12New gcc versions comlpain about undefined behaviour...Michael Schroeder1-2/+2
2010-01-27Fix include path of luaext subdirPanu Matilainen1-2/+1
2010-01-04Remove largely unnecessary putenv() replacementPanu Matilainen1-0/+8
- only the lua posix extension "uses" this by providing putenv() to Lua, make it conditional and return error if not supported by the underlying operating system
2010-01-04Use rpm's own strdup() clone everywherePanu Matilainen1-1/+2
2009-09-07Help compilers/analyzers a bit with luaL_error()Panu Matilainen1-3/+3
- luaL_error() never returns but as other tools dont know this it raises false alarms
2008-11-22Use rpmConfigDir() instead of hardwired value in Lua initializationPanu Matilainen1-1/+1
- userconfig is actually unused
2008-10-20setenv() + unsetenv() are always available in rpmPanu Matilainen1-6/+0
2008-10-20Add posix.mkstemp() to Lua posix libPanu Matilainen1-0/+32
- lifted from apt-rpm
2008-10-14Reuse toplevel WITH_LUA_LIB setting instead of manual settingPanu Matilainen1-1/+1
2008-06-30(char)NULL doesn't make much sense, use \0 insteadPanu Matilainen1-1/+1
- shuts up another gcc warning
2008-04-16Fixup leftovers from lua/local -> luaext/ movePanu Matilainen1-3/+3
2008-04-16Add modemuncher + lua init stuff to extra distPanu Matilainen1-0/+5
- modemuncher.c gets included from lposix.c, urks
2008-04-16Start phasing out internal copy of LuaPanu Matilainen11-0/+1616
- don't build internal copy of Lua - move 3rd party extensions (posix and rexlib) to toplevel luaext/ directory, built by default (unless --without-lua specified) - auto*foo checks for external Lua - minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1