SHA256
1
0
forked from pool/lua54
Commit Graph

40 Commits

Author SHA256 Message Date
Callum Farmer
a04ac87775 Accepting request 959924 from home:iznogood:branches:devel:languages:lua
- Drop the lua_docdir define, package docs in the standard
  location. Instead just silently drop packaging the README with
  the path that does not makes sense for a rpm package, but for a
  source tarball install. Simpler solution to boo#1186233.

OBS-URL: https://build.opensuse.org/request/show/959924
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=51
2022-03-09 09:12:20 +00:00
Callum Farmer
bb92095a7c Accepting request 949764 from home:gmbr3:Lua
fix

OBS-URL: https://build.opensuse.org/request/show/949764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=50
2022-01-28 20:24:21 +00:00
Callum Farmer
a66c69f6b1 Accepting request 949334 from home:gmbr3:Lua
- Ensure shared library is installed with executable bit set

OBS-URL: https://build.opensuse.org/request/show/949334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=49
2022-01-26 19:17:26 +00:00
Callum Farmer
affd207394 Accepting request 949326 from home:gmbr3:Lua
- Update to Lua 5.4.4:
  * fixes all bugs found in Lua 5.4.3
- Removed upstream-bugs.patch: new release (no bugs found yet)
- Removed upstream-bugs-test.patch: new release (no bugs found yet)

OBS-URL: https://build.opensuse.org/request/show/949326
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=48
2022-01-26 18:36:56 +00:00
Callum Farmer
2c0519a646 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=47 2021-12-31 12:00:26 +00:00
Callum Farmer
db26f67426 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=46 2021-12-31 11:53:25 +00:00
Callum Farmer
770c8d0263 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=45 2021-12-31 11:52:58 +00:00
Callum Farmer
afb0722842 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=43 2021-12-31 11:48:50 +00:00
Callum Farmer
ec80f42c12 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=42 2021-12-31 11:47:58 +00:00
Callum Farmer
7313e3f5c0 Accepting request 943253 from home:gmbr3:Lua
- Re-enable readline support in Lua, the way to do this changed
  in Lua 5.4
- Subsequently, update main_test.patch to ignore another test

OBS-URL: https://build.opensuse.org/request/show/943253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=41
2021-12-30 18:49:26 +00:00
Callum Farmer
31ade7d3fc Accepting request 943227 from home:gmbr3:Lua
- Update upstream-bugs.patch and upstream-bugs-test.patch to fix
  bugs 9,10,12 for build and tests respectively. Bug 11 changes
  interface of luaD_pretailcall.

OBS-URL: https://build.opensuse.org/request/show/943227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=40
2021-12-30 13:50:02 +00:00
Callum Farmer
4dd8655c8e Accepting request 934302 from home:gmbr3:Lua
- Update upstream-bugs.patch and upstream-bugs-test.patch to fix
  bugs 7,8 for build and tests respectively.

OBS-URL: https://build.opensuse.org/request/show/934302
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=39
2021-11-27 18:52:07 +00:00
Callum Farmer
2ee403b494 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=38 2021-07-29 16:34:46 +00:00
Callum Farmer
345f635bed Accepting request 909224 from home:gmbr3:Lua
- Add upstream-bugs.patch and upstream-bugs-test.patch to fix
  bugs 4,5,6 for build and tests respectively.

OBS-URL: https://build.opensuse.org/request/show/909224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=37
2021-07-29 16:34:25 +00:00
Callum Farmer
8bc2aae476 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=35 2021-05-25 08:39:05 +00:00
Callum Farmer
0d221d70ae Accepting request 894973 from home:gmbr3:Lua
- Fix doc location (boo#1186233)

OBS-URL: https://build.opensuse.org/request/show/894973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=34
2021-05-22 13:01:27 +00:00
Callum Farmer
26b8c19a09 Accepting request 891994 from home:gmbr3:Lua
goodbye static

OBS-URL: https://build.opensuse.org/request/show/891994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=32
2021-05-10 09:09:53 +00:00
Callum Farmer
8ce8cc4141 Accepting request 886618 from home:gmbr3:lua
- Add upstream-bugs.patch and upstream-bugs-test.patch to fix
  bugs 1,2,3 for build and tests respectively.

OBS-URL: https://build.opensuse.org/request/show/886618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=30
2021-04-19 09:17:04 +00:00
Callum Farmer
45a4d23ac6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=29 2021-03-30 18:35:23 +00:00
Callum Farmer
d164f587b3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=28 2021-03-30 18:30:10 +00:00
Callum Farmer
391f08d99e OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=27 2021-03-29 17:11:07 +00:00
Callum Farmer
e0ca79217e Accepting request 882019 from home:gmbr3:Lua
- Update to version 5.4.3
- Removed upstream-bugs.patch: new release (no bugs found yet)
- Removed upstream-bugs-test.patch: new release (no bugs found yet)

OBS-URL: https://build.opensuse.org/request/show/882019
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=26
2021-03-29 17:06:31 +00:00
Callum Farmer
236d9fb18d Accepting request 878378 from home:gmbr3:Lua
- Add upstream-bugs.patch and upstream-bugs-test.patch to fix
  bugs 2,3,4 for build and tests respectively.

OBS-URL: https://build.opensuse.org/request/show/878378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=24
2021-03-11 17:25:01 +00:00
Callum Farmer
4ddfb6a0c6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=22 2021-01-22 12:53:16 +00:00
Callum Farmer
e83266ea25 Accepting request 865973 from home:gmbr3:Lua
- Move tests to separate build

OBS-URL: https://build.opensuse.org/request/show/865973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=21
2021-01-22 12:44:02 +00:00
Callum Farmer
d8bf7fc59c Accepting request 853273 from home:gmbr3:Lua
Fix

OBS-URL: https://build.opensuse.org/request/show/853273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=19
2020-12-05 15:37:32 +00:00
Callum Farmer
cb10aadcc5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=18 2020-12-05 12:58:06 +00:00
Callum Farmer
9760576995 Accepting request 853250 from home:gmbr3:Lua
- Update to version 5.4.2:
  * Fixes garbage collection bug

OBS-URL: https://build.opensuse.org/request/show/853250
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=17
2020-12-05 12:54:20 +00:00
Callum Farmer
c91a6c2af6 Accepting request 840775 from home:gmbr3:Lua
- Update to version 5.4.1:
  * Fixes bugs found in Lua 5.4.0
- Removed upstream-bugs.patch: new release (no bugs found yet)

OBS-URL: https://build.opensuse.org/request/show/840775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=15
2020-10-10 13:13:01 +00:00
Callum Farmer
8fb7864a59 Accepting request 828559 from home:gmbr3:Lua
- Add final part of patch for CVE-2020-15888, boo#1174367
- Add upstream patch 13

OBS-URL: https://build.opensuse.org/request/show/828559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=13
2020-08-21 18:31:00 +00:00
Callum Farmer
3abc4d9f9d Accepting request 827618 from home:gmbr3:Lua
- Add patch for CVE-2020-15945, boo#1174540 (un-numbered)

OBS-URL: https://build.opensuse.org/request/show/827618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=11
2020-08-18 14:51:13 +00:00
Callum Farmer
8c8dfec466 Accepting request 827609 from home:gmbr3:Lua
- Add upstream patches 9,10,11,12
  * Patch 9: CVE-2020-24342, boo#1175339
  * Patch 10: CVE-2020-24371, boo#1175449
  * Patch 11: CVE-2020-24370, boo#1175448
  * Patch 12: CVE-2020-24369, boo#1175447
- Add upstream patches 7 & 8
  * Patch 8: CVE-2020-15945, boo#1174540

OBS-URL: https://build.opensuse.org/request/show/827609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=10
2020-08-18 14:15:55 +00:00
Callum Farmer
aacf68ffaf Accepting request 827293 from home:gmbr3:Lua
- Add upstream patches 9,10,11,12
  * Patch 9: CVE-2020-24342, boo#1175339

OBS-URL: https://build.opensuse.org/request/show/827293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=9
2020-08-17 10:04:54 +00:00
Callum Farmer
ee0ec2d5c6 Accepting request 821866 from home:gmbr3:Active
- Add upstream patches 7 & 8

OBS-URL: https://build.opensuse.org/request/show/821866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=7
2020-07-20 11:08:51 +00:00
Callum Farmer
19f828beff Accepting request 821637 from home:gmbr3:Active
- Add upstream-bugs.patch, upstream fixes from https://www.lua.org/bugs.html
- files_test.patch: use proper check for 64-bit time_t
- Amend list of 64bit architectures
- Don't use %make_build macro, which doesn't work on SLE-12
- Add attrib_test.patch and files_test.patch which fix
  failing tests (https://is.gd/6DYPgG). With these two patches
  full test suite passes.
- Update to 5.4.0
  *  Changes from http://www.lua.org/manual/5.4/readme.html#changes
  *  new generational mode for garbage collection
  *  to-be-closed variables
  *  const variables
  *  userdata can have multiple user values
  *  new implementation for math.random
  *  warning system
  *  debug information about function arguments and returns
  *  new semantics for the integer 'for' loop
  *  optional 'init' argument to 'string.gmatch'
  *  new functions 'lua_resetthread' and 'coroutine.close'
  *  string-to-number coercions moved to the string library
  *  allocation function allowed to fail when shrinking a memory block
  *  new format '%p' in 'string.format'
  *  utf8 library accepts codepoints up to 2^31
- Changes copied from request by Matthias G. Eckermann <mge@suse.com>
- Updated spec file for lua 5.4: copied from lua53
- lua-build-system.patch: updated from Debian
- added tests
- Use FAT LTO objects in order to provide proper static library.
- Update to 5.3.5:
  (it is really problematic to find ANY documentation of changes
  between minor versions; the best we have is
  https://www.lua.org/bugs.html)
  - Long brackets with a huge number of '=' overflow some
    internal buffer arithmetic.
  - Small build tweaks.
- Provide symbol for pkgconfig
- Add INSTALL_LMOD and INSTALL_CMOD variables to lua53.pc: this is
  queried for example by rrdtool's buildsystem.
- Properly set includedir in the .pc file
- Require lua macros rather than bundling them with lua itself
- Add patch lua-build-system.patch for all the builsystem changes
- Drop patches merged to the above:
  * lua-5.3.3-prefix.patch
  * lua-5.3.3-shared.patch
- Drop not really needed lua-5.3.3-visible.patch
- Version update to lua 5.3.4 containing various bugfixes
- Rename to lua53
- Let package description adhere to guidelines: trim redundant
  or biased wording and strip future goals.
- update version 5.3.3
  * bugfix release
- changes in 5.3.2
  * metatable may access its own deallocated field when it has a
    self reference in __newindex
  * label between local definitions can mix-up their initializations
  * gmatch iterator fails when called from a coroutine different
    from the one that created it
- split lua-suse.diff to 3 reasonable patches
  * add lua-5.3.3-prefix.patch
  * add lua-5.3.3-shared.patch
  * add lua-5.3.3-visible.patch
- Update RPM group classification
- Provide Lua(API) = 5.3, so that packages installing files to
  /usr/share/lua/5.3 can properly depend on the right lua branch.
- Provide Lua(devel) = 5.3 by lua-devel and conflict with other
  packages providing Lua(devel) (e.g lua51-devel, lua52-devel...).
- macros.lua installs to lua-devel
- build with LUA_COMPAT_MODULE to compatible w/ old module system
- update version 5.3.1
  * integers (64-bit by default)
  * official support for 32-bit numbers
  * bitwise operators
  * basic utf-8 support
  * functions for packing and unpacking values
  * see http://www.lua.org/manual/5.3/readme.html#changes
- Update to 5.2.4
  * Compiler can optimize away overflow check in table.unpack.
  * Ephemeron table can wrongly collect entry with strong key.
  * Chunk with too many lines may crash Lua.
- the %dir is still needed.
- fix update-alternatives 
- fix /etc/rpm/macros.lua perms
- updated to 5.2.3:
  * yieldable pcall and metamethods
  * new lexical scheme for globals
  * ephemeron tables
  * new library for bitwise operations
  * light C functions
  * emergency garbage collector
  * <CODE>goto</CODE> statement
  * finalizers for tables
- updated to 5.2.2: bugfix release, fixed:
  * Stack overflow in vararg functions with many fixed parameters 
    called with few arguments. 
  * Garbage collector can trigger too many times in recursive loops.
  * Wrong assert when reporting concatenation errors (manifests only 
    when Lua is compiled in debug mode). 
  * Wrong error message in some short-cut expressions. 
  * luac listings choke on long strings. 
  * see http://www.lua.org/bugs.html for details
- fix visibility of global variables [bnc#803791]
  * modified lua-suse.diff
- added LUA_SO target as dependency to LUAC_T and LUA_T to fix
  parallel build
  * modified lua-suse.diff
- added regresion check for this error into %check
- update alternatives need to be %ghosts
- export luaU_dump in order to fix linking of luac binary 
- Tweak lua-suse.diff again:
* LUA_IFUNC must be defined as upstream but without "extern", 
  revert the previous mod.
* LUA_API must be defined as visibility default 
- Even after the previous update, third party modules/libraries
  would not work because LUA_CDIR constant is wrong in x86_64 
- devel package must require libluaver = %{version} 
- Broken lua-suse patch breaks loading third party modules
  or scripts 
- updated to 5.2.1:
  * main thread predefined in the registry
  * bugfixes
- Correction in Provides and Obsolete for lua-libs
- Passed the spec file through spec-cleaner
- Require liblua5_2 from the -devel package: Otherwise the .so file
  is a dangling symlink and apps will use the static lib.
- Update baselibs.conf to reference liblua5_2 instead of liblua5_1.
- readd lua.pc for building rpm
- raise update-alternatives priority to 15 (lua51 have 10, lua50
  have 5)
- updated to 5.2.0:
  * Main changes
	yieldable pcall and metamethods
	new lexical scheme for globals
	ephemeron tables
	new library for bitwise operations
	light C functions
	emergency garbage collector
	[goto] statement
	finalizers for tables
  * Language
	no more fenv for threads or functions
	tables honor the [__len] metamethod
	hex and [\z] escapes in strings
	support for hexadecimal floats
	order metamethods work for different types
	no more verification of opcode consistency
	hook event "tail return" replaced by "tail call"
	empty statement
	[break] statement may appear in the middle of a block
  * Libraries
	arguments for function called through [xpcall]
	optional 'mode' argument to load and loadfile (to control binary x text)
	optional 'env' argument to load and loadfile (environment for loaded chunk)
	[loadlib] may load libraries with global names (RTLD_GLOBAL)
	new function [package.searchpath]
	modules receive their paths when loaded
	optional base in [math.log]
	optional separator in [string.rep]
	[file:write] returns <CODE>file</CODE>
	closing a pipe returns exit status
	[os.exit] may close state
	new metamethods [__pairs] and <CODE>__ipairs</CODE>
	new option 'isrunning' for [collectgarbage] and <CODE>lua_gc</CODE>
	frontier patterns
	[\0] in patterns
	new option [*L] for <CODE>io.read</CODE>
	options for [io.lines]
	[debug.getlocal] can access function varargs
  * C API
	new functions: lua_absindex, lua_arith, lua_compare, lua_copy, lua_len,
                       lua_rawgetp, lua_rawsetp, lua_upvalueid, lua_upvaluejoin,
	               lua_version, luaL_checkversion, luaL_setmetatable,
	               luaL_testudata, luaL_tolstring
        [lua_pushstring] and <CODE>pushlstring</CODE> return string 
        [nparams] and <CODE>isvararg</CODE> available in debug API
	new lua_Unsigned
  * Implementation
	max constants per function raised to 2^26
	generational mode for garbage collection (experimental)
	NaN trick (experimental)
	internal (immutable) version of ctypes
	simpler implementation for string buffers
	parser uses much less C-stack space (no more auto arrays)
  * Lua standalone interpreter
	new [-E] option to avoid environment variables
	handling of non-string error messages
- cross-build fix: use %__cc macro
- use %_smp_mflags
- removed -L/usr/lib from Libs: in etc/lua.pc [bnc#613497]
- used upstream bugfix patch from http://www.lua.org/download.html
- buildrequire pkg-config to fix provides
- modified LUA_PATH_DEFAULT [bnc#589441]: search modules under
  /usr/%{_lib}/lua/%{major_version} too
- add baselibs.conf as a source
- package documentation as noarch
- enable parallel building
- updated patches to apply with fuzz=0
- add baselibs.conf
- package owns /usr/{lib,share}/lua directories from now
- emoved unneeded root.patch
- updated to 5.1.4: bugfix release
- Set LUA_ROOT to /usr and fix INSTALL_CMOD for lib64
- Add RPM macros file
- Allows for lua-<modulename> packages like python, perl, and ruby
- hint the solver about the package rename
- do not package/provide the shared lib twice / follow shared lib
  policy
- created -doc package
- updated to version 5.1.3, bug fix release. Fixed bugs:
  * wrong error message in some concatenations
  * too many variables in an assignment may cause a C stack 
    overflow 
  * an error in a module loaded through the '-l' option shows no 
    traceback
  * gsub may go wild when wrongly called without its third 
    argument and with a large subject 
  * table.remove removes last element of a table when given 
    an out-of-bound index 
  * lua_setfenv may crash if called over an invalid object
  * stand-alone interpreter shows incorrect error message when 
    the "message" is a coroutine.
  * debug.sethook/gethook may overflow the thread's stack 
- using /sbin/ldconfig in specfile
- updated to version 5.1.2, fixes some bugs:
  * count hook may be called without being set
  * code generated for "-nil", "-true", and "-false" is wrong
  * recursive coroutines may overflow C stack
  * wrong error message in some concatenations
  * very small numbers all collide in the hash function
- package liblua.so as symlink.
- the core package now uses update alternatives to allow installation
  of 5.0.x and 5.1.x
- devel packages will conflict now
- ARGH dont copy and paste!:
  lua-libs should not depend on lua. another run on (#217875)
- really fix the file pattern (#217875)
- splitted out lua-libs so we can install at least both libs
  in parallel. (#217875)
- fix wrong prefix in lua.pc
- link liblua with -lm to satisfy unresolved symbols
- include lua.pc
- update to 5.1.1
  Language:
  * new module system.
  * new semantics for control variables of fors.
  * new semantics for setn/getn.
  * new syntax/semantics for varargs.
  * new long strings and comments.
  * new `mod' operator (`%')
  * new length operator #t
  * metatables for all types
  API:
  * new functions: lua_createtable, lua_get(set)field, lua_push(to)integer.
  * user supplies memory allocator (lua_open becomes lua_newstate).
  * luaopen_* functionst must be called through Lua.
  Implementation:
  * new configuration scheme via luaconf.h.
  * incremental garbage collection.
  * better handling of end-of-line in the lexer.
  * fully reentrant parser (new Lua function `load')
  * better support for 64-bit machines.
  * native loadlib support for Mac OS X.
  * standard distribution in only one library (lualib.a merged into lua.a)
- converted neededforbuild to BuildRequires
- Don't strip binaries.
- Fix shared library linking.
- enable dynamic loading capability (#106845)
- initial packaging

OBS-URL: https://build.opensuse.org/request/show/821637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=6
2020-07-18 10:28:01 +00:00
Callum Farmer
d728da1881 Accepting request 821630 from home:gmbr3:Active
- Add bugs.patch, upstream fixes from https://www.lua.org/bugs.html

OBS-URL: https://build.opensuse.org/request/show/821630
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=5
2020-07-18 09:54:15 +00:00
Callum Farmer
e6741c1ceb Accepting request 821623 from home:Andreas_Schwab:Factory
- files_test.patch: use proper check for 64-bit time_t
- Amend list of 64bit architectures

OBS-URL: https://build.opensuse.org/request/show/821623
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=4
2020-07-18 09:21:15 +00:00
Dominique Leuenberger
b7456e8ef1 Accepting request 819392 from devel:languages:lua
Lua 5.4

OBS-URL: https://build.opensuse.org/request/show/819392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua54?expand=0&rev=1
2020-07-08 17:18:16 +00:00
26b22178cd - Don't use %make_build macro, which doesn't work on SLE-12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=2
2020-07-06 21:20:08 +00:00
03bbef18cf Accepting request 819050 from home:gmbr3:branches:devel:languages:lua
updated by mcepl

OBS-URL: https://build.opensuse.org/request/show/819050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=1
2020-07-06 18:54:24 +00:00