opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 7420859c76ac53f1693944921719ad11b0bc2830
Parent: 5c0a912281d025c6417417d597bf96a15e45f0d3
Author: Randy Palamar
Date:   Sat, 14 Oct 2023 08:14:07 -0600

lua: upgrade back to lua 5.2.4

This reverts commit d1063e30adbae693253ea169c8daeab5fbd80bbc.

Apparently vis still works with 5.2 (it was in issue with and in
progress update) and 5.2 is much smaller. No need to use 5.4 when
other packages like mpv need 5.2 or lower.

Diffstat:
Mpkg/editors/vis/gen.lua | 3+--
Mpkg/lang/lua/.gitignore | 2+-
Mpkg/lang/lua/gen.lua | 8++++----
Mpkg/lang/lua/sha256 | 2+-
Mpkg/lang/lua/url | 2+-
Mpkg/lang/lua/ver | 2+-
6 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/pkg/editors/vis/gen.lua b/pkg/editors/vis/gen.lua @@ -6,10 +6,9 @@ cflags({ '-D CONFIG_LUA=1', '-D CONFIG_LPEG=1', '-D CONFIG_TRE=0', - '-D CONFIG_ACL=0', '-D CONFIG_SELINUX=0', + '-D CONFIG_ACL=0', '-D HAVE_MEMRCHR=1', - '-D LUA_COMPAT_5_3', '-D _XOPEN_SOURCE=700', [[-D 'VERSION="$version"']], string.format([[-D 'VIS_PATH="%s/share/vis"']], config.prefix), diff --git a/pkg/lang/lua/.gitignore b/pkg/lang/lua/.gitignore @@ -1,2 +1,2 @@ -/lua-5.4.6.tar.gz +/lua-5.2.4.tar.gz /src diff --git a/pkg/lang/lua/gen.lua b/pkg/lang/lua/gen.lua @@ -13,14 +13,14 @@ lib('liblua.a', [[src/( lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c - lauxlib.c lbaselib.c lcorolib.c ldblib.c liolib.c lmathlib.c - loadlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c linit.c + lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c + lmathlib.c loslib.c lstrlib.c ltablib.c loadlib.c linit.c )]]) file('lib/liblua.a', '644', '$outdir/liblua.a') exe('lua', {'src/lua.c', 'liblua.a'}) -file('bin/lua5.4', '755', '$outdir/lua') -sym('bin/lua', 'lua5.4') +file('bin/lua5.2', '755', '$outdir/lua') +sym('bin/lua', 'lua5.2') man({'doc/lua.1'}) fetch('curl') diff --git a/pkg/lang/lua/sha256 b/pkg/lang/lua/sha256 @@ -1 +1 @@ -7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 lua-5.4.6.tar.gz +b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b lua-5.2.4.tar.gz diff --git a/pkg/lang/lua/url b/pkg/lang/lua/url @@ -1 +1 @@ -url = "http://www.lua.org/ftp/lua-5.4.6.tar.gz" +url = "http://www.lua.org/ftp/lua-5.2.4.tar.gz" diff --git a/pkg/lang/lua/ver b/pkg/lang/lua/ver @@ -1 +1 @@ -5.4.6 r0 +5.2.4 r0