summaryrefslogtreecommitdiff
path: root/luaext
AgeCommit message (Collapse)AuthorFilesLines
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