Sat Jun 20 18:22:56 2015 UTC ()
Update lang/lua53 to 5.3.1.

The following bugs have been fixed (from http://www.lua.org/bugs.html):
    1. string.format("%f") can cause a buffer overflow (only when
       'lua_Number' is long double!).
       reported by Roberto on 13 Jan 2015. existed since 5.3. fixed in
       5.3.1.
    2. debug.getlocal on a coroutine suspended in a hook can crash the
       interpreter.
       reported by on 11 Feb 2015. existed since 5.2. fixed in 5.3.1.
       Example: See
       http://lua-users.org/lists/lua-l/2015-02/msg00146.html.
    3. Suspended __le metamethod can give wrong result.
       reported by Eric Zhong on 07 Apr 2015. existed since 5.2. fixed in
       5.3.1.
       Example:
mt = {__le = function (a,b) coroutine.yield("yield"); return a.x <= b.x end}
t1 = setmetatable({x=1}, mt)
t2 = {x=2}
co = coroutine.wrap(function (a,b) return t2 <= t1 end)
co()
print(co())   --> true  (should be false)
    4. Return hook may not see correct values for active local variables
       when function returns.
       reported by Philipp Janda and Peng Yi on 19 May 2015. existed since
       5.0. fixed in 5.3.1.
       Example: See
       http://lua-users.org/lists/lua-l/2015-05/msg00376.html.


(alnsn)
diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/PLIST
diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/distinfo
diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/version.mk

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/PLIST (expand / switch to unified diff)

--- pkgsrc/lang/lua53/PLIST 2015/01/17 17:50:23 1.1.1.1
+++ pkgsrc/lang/lua53/PLIST 2015/06/20 18:22:56 1.2
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $ 1@comment $NetBSD: PLIST,v 1.2 2015/06/20 18:22:56 alnsn Exp $
2bin/lua5.3 2bin/lua5.3
3bin/luac5.3 3bin/luac5.3
4include/lua-5.3/lauxlib.h 4include/lua-5.3/lauxlib.h
5include/lua-5.3/lua.h 5include/lua-5.3/lua.h
6include/lua-5.3/lua.hpp 6include/lua-5.3/lua.hpp
7include/lua-5.3/luaconf.h 7include/lua-5.3/luaconf.h
8include/lua-5.3/lualib.h 8include/lua-5.3/lualib.h
9lib/liblua5.3.la 9lib/liblua5.3.la
10lib/pkgconfig/lua-5.3.pc 10lib/pkgconfig/lua-5.3.pc
11man/man1/lua5.3.1 11man/man1/lua${PKGVERSION}
12man/man1/luac5.3.1 12man/man1/luac${PKGVERSION}
13share/doc/lua-5.3/contents.html 13share/doc/lua-5.3/contents.html
 14share/doc/lua-5.3/index.css
14share/doc/lua-5.3/logo.gif 15share/doc/lua-5.3/logo.gif
15share/doc/lua-5.3/lua.css 16share/doc/lua-5.3/lua.css
16share/doc/lua-5.3/manual.css 17share/doc/lua-5.3/manual.css
17share/doc/lua-5.3/manual.html 18share/doc/lua-5.3/manual.html
18share/doc/lua-5.3/osi-certified-72x60.png 19share/doc/lua-5.3/osi-certified-72x60.png
19share/doc/lua-5.3/readme.html 20share/doc/lua-5.3/readme.html
20@pkgdir share/lua/5.3 21@pkgdir share/lua/5.3
21@pkgdir lib/lua/5.3 22@pkgdir lib/lua/5.3

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/lua53/distinfo 2015/01/17 17:50:23 1.1.1.1
+++ pkgsrc/lang/lua53/distinfo 2015/06/20 18:22:56 1.2
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $ 1$NetBSD: distinfo,v 1.2 2015/06/20 18:22:56 alnsn Exp $
2 2
3SHA1 (lua-5.3.0.tar.gz) = 1c46d1c78c44039939e820126b86a6ae12dadfba 3SHA1 (lua-5.3.1.tar.gz) = 1676c6a041d90b6982db8cef1e5fb26000ab6dee
4RMD160 (lua-5.3.0.tar.gz) = 42a8a628e54b2bc2e211310fc8d72c49c8812a11 4RMD160 (lua-5.3.1.tar.gz) = 01fcb542ea0a69246c0594bb2578dc108547a49a
5Size (lua-5.3.0.tar.gz) = 278045 bytes 5Size (lua-5.3.1.tar.gz) = 282401 bytes
6SHA1 (patch-Makefile) = 44c9a812569c2a0f0221f197c95a672b059af84a 6SHA1 (patch-Makefile) = 44c9a812569c2a0f0221f197c95a672b059af84a
7SHA1 (patch-src_Makefile) = 975b1d4d6907524aad9527ffe18793c6bc93f1b4 7SHA1 (patch-src_Makefile) = 975b1d4d6907524aad9527ffe18793c6bc93f1b4
8SHA1 (patch-src_luaconf.h) = dc2f535a1d0f407db4f62dab37a2d680ea794264 8SHA1 (patch-src_luaconf.h) = dc2f535a1d0f407db4f62dab37a2d680ea794264

cvs diff -r1.1.1.1 -r1.2 pkgsrc/lang/lua53/version.mk (expand / switch to unified diff)

--- pkgsrc/lang/lua53/version.mk 2015/01/17 17:50:23 1.1.1.1
+++ pkgsrc/lang/lua53/version.mk 2015/06/20 18:22:56 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1# $NetBSD: version.mk,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $ 1# $NetBSD: version.mk,v 1.2 2015/06/20 18:22:56 alnsn Exp $
2 2
3LUA_VERSION= 5.3.0 3LUA_VERSION= 5.3.1
4 4
5LUA_VERSION_MAJOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/} 5LUA_VERSION_MAJOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/}
6LUA_VERSION_MINOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/} 6LUA_VERSION_MINOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/}