summaryrefslogtreecommitdiff
path: root/lang/lua53
diff options
context:
space:
mode:
authoralnsn <alnsn@pkgsrc.org>2015-06-20 18:22:56 +0000
committeralnsn <alnsn@pkgsrc.org>2015-06-20 18:22:56 +0000
commit29e71403e0a7486cc33a8eb75f7dbbce21586b7a (patch)
tree1a60110d17b29ca7229eeecc124c07fecd6e7060 /lang/lua53
parent6df4cb1892ec958f7afcff3ec1fc62f1bbc0bdf7 (diff)
downloadpkgsrc-29e71403e0a7486cc33a8eb75f7dbbce21586b7a.tar.gz
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.
Diffstat (limited to 'lang/lua53')
-rw-r--r--lang/lua53/PLIST7
-rw-r--r--lang/lua53/distinfo8
-rw-r--r--lang/lua53/version.mk4
3 files changed, 10 insertions, 9 deletions
diff --git a/lang/lua53/PLIST b/lang/lua53/PLIST
index 5025963fd6c..5fd97431d2c 100644
--- a/lang/lua53/PLIST
+++ b/lang/lua53/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/06/20 18:22:56 alnsn Exp $
bin/lua5.3
bin/luac5.3
include/lua-5.3/lauxlib.h
@@ -8,9 +8,10 @@ include/lua-5.3/luaconf.h
include/lua-5.3/lualib.h
lib/liblua5.3.la
lib/pkgconfig/lua-5.3.pc
-man/man1/lua5.3.1
-man/man1/luac5.3.1
+man/man1/lua${PKGVERSION}
+man/man1/luac${PKGVERSION}
share/doc/lua-5.3/contents.html
+share/doc/lua-5.3/index.css
share/doc/lua-5.3/logo.gif
share/doc/lua-5.3/lua.css
share/doc/lua-5.3/manual.css
diff --git a/lang/lua53/distinfo b/lang/lua53/distinfo
index 4a24b46314d..dcd9d54779c 100644
--- a/lang/lua53/distinfo
+++ b/lang/lua53/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $
+$NetBSD: distinfo,v 1.2 2015/06/20 18:22:56 alnsn Exp $
-SHA1 (lua-5.3.0.tar.gz) = 1c46d1c78c44039939e820126b86a6ae12dadfba
-RMD160 (lua-5.3.0.tar.gz) = 42a8a628e54b2bc2e211310fc8d72c49c8812a11
-Size (lua-5.3.0.tar.gz) = 278045 bytes
+SHA1 (lua-5.3.1.tar.gz) = 1676c6a041d90b6982db8cef1e5fb26000ab6dee
+RMD160 (lua-5.3.1.tar.gz) = 01fcb542ea0a69246c0594bb2578dc108547a49a
+Size (lua-5.3.1.tar.gz) = 282401 bytes
SHA1 (patch-Makefile) = 44c9a812569c2a0f0221f197c95a672b059af84a
SHA1 (patch-src_Makefile) = 975b1d4d6907524aad9527ffe18793c6bc93f1b4
SHA1 (patch-src_luaconf.h) = dc2f535a1d0f407db4f62dab37a2d680ea794264
diff --git a/lang/lua53/version.mk b/lang/lua53/version.mk
index 98a730ca7c3..1f1d54c1624 100644
--- a/lang/lua53/version.mk
+++ b/lang/lua53/version.mk
@@ -1,6 +1,6 @@
-# $NetBSD: version.mk,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $
+# $NetBSD: version.mk,v 1.2 2015/06/20 18:22:56 alnsn Exp $
-LUA_VERSION= 5.3.0
+LUA_VERSION= 5.3.1
LUA_VERSION_MAJOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\1/}
LUA_VERSION_MINOR= ${LUA_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+)/\2/}