<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/lua, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-15T10:26:13Z</updated>
<entry>
<title>luajit2: update to 2026-07-31</title>
<updated>2026-08-15T10:26:13Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-15T10:12:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=578758e1f6788f4f28b8e3a160a375030f45851f'/>
<id>urn:sha1:578758e1f6788f4f28b8e3a160a375030f45851f</id>
<content type='text'>
Also refresh 020-riscv64-support.patch from the current state of
openresty/luajit2#236. The previous snapshot defined
asm_tail_prep(ASMState *as), but since openresty/luajit2 commit
68354f44 the callers pass a second TraceNo argument, so the riscv64
build failed with:

  lj_asm.c:2559:5: error: too many arguments to function 'asm_tail_prep'

The refreshed patch carries the upstream adaptation and restores the
build. The other four patches apply unchanged.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>luajit2: fix build and runtime on powerpc</title>
<updated>2026-08-15T09:29:16Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-15T09:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a6b248d6b808710c325f1295773baf7b242123b7'/>
<id>urn:sha1:a6b248d6b808710c325f1295773baf7b242123b7</id>
<content type='text'>
luajit2 currently fails to link for powerpc: lj_vm.o emits PLT calls
that force BSS-PLT, which the inline-PLT relocations emitted by GCC 12
and newer do not support. Add the same GOT-based fix that
lang/lua/luajit has carried as 060-ppc-musl.patch since 2019.

With that in place the package builds, but ipairs() and pairs() turn
out to be broken on 32-bit big-endian soft-float targets. Both are
regressions in luajit2's PPC64 patch and do not affect upstream
LuaJIT. To be submitted to openresty/luajit2 as well.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>luasec: add Lua 5.4 variant</title>
<updated>2026-07-31T06:46:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-05-26T11:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=60f5e4b230ff50a0f84a4fd93c6eea15b46bbb48'/>
<id>urn:sha1:60f5e4b230ff50a0f84a4fd93c6eea15b46bbb48</id>
<content type='text'>
Add luasec5.4 (Lua 5.4 + luasocket5.4 + libopenssl) next to existing
luasec (Lua 5.1, default). Installs ssl.so / ssl.lua / ssl/https.lua
under /usr/lib/lua/5.4/.

Needed for the prosody 13.x upgrade.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>luasocket: add Lua 5.4 variant</title>
<updated>2026-07-31T06:46:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-05-26T11:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2eaaed5cdfcf32a3c7b550d705fd7ca3e2860e73'/>
<id>urn:sha1:2eaaed5cdfcf32a3c7b550d705fd7ca3e2860e73</id>
<content type='text'>
Add luasocket5.4 next to the existing luasocket (Lua 5.1) and
luasocket5.3 variants, installed via the upstream makefile's
'make install LUAV=5.4'.

That makefile defaults to prefix=/usr/local on linux, which is where
the luasocket5.3 variant still installs, so pass prefix=/usr explicitly
to land in /usr/share/lua/5.4 and /usr/lib/lua/5.4 like the other Lua
5.4 module packages.

Needed for the prosody 13.x upgrade.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>luaexpat: add Lua 5.4 variant</title>
<updated>2026-07-31T06:46:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-05-26T11:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=59977dc387fb9fc2993c83182ccc2d54c1bc5bdf'/>
<id>urn:sha1:59977dc387fb9fc2993c83182ccc2d54c1bc5bdf</id>
<content type='text'>
Add luaexpat5.4, parallel to existing luaexpat (Lua 5.1, default).
Builds against the Lua 5.4 headers under /usr/include/lua5.4 and
installs to /usr/lib/lua/5.4/. Same pattern as the luasocket 5.3
variant already shipped.

Needed for the prosody 13.x upgrade.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>luafilesystem: add Lua 5.4 variant</title>
<updated>2026-07-31T06:46:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-05-26T11:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=27152e6f34b97d85cc0a1355d885ca9ccd9be8d6'/>
<id>urn:sha1:27152e6f34b97d85cc0a1355d885ca9ccd9be8d6</id>
<content type='text'>
Lua 5.1 is EOL and many downstream packages need 5.2+. Mirror the
luasocket multi-variant pattern: keep luafilesystem (Lua 5.1, default)
and add luafilesystem5.4 which builds the same source against
liblua5.4 and installs to /usr/lib/lua/5.4/.

Needed for the prosody 13.x upgrade (Lua 5.1 unsupported upstream).

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>lua: look for lua5.4 modules under /usr instead of /usr/local</title>
<updated>2026-07-31T06:46:08Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-07-22T11:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3fe92e63f5585b35875543c64f7612935b897373'/>
<id>urn:sha1:3fe92e63f5585b35875543c64f7612935b897373</id>
<content type='text'>
luaconf.h hardcodes LUA_ROOT to "/usr/local/", and nothing in this
package overrides it for the target build, so the interpreter only ever
searches /usr/local/{share,lib}/lua/5.4. Nothing installs there on
OpenWrt, which leaves every Lua 5.4 module package unreachable:

  # lua5.4 -e 'require "lfs"'
  lua5.4: module 'lfs' not found:
          no file '/usr/local/share/lua/5.4/lfs.lua'
          no file '/usr/local/lib/lua/5.4/lfs.so'
          [...]
  # find / -name lfs.so
  /usr/lib/lua/5.4/lfs.so

Point LUA_ROOT at /usr. LUA_LDIR and LUA_CDIR are derived from it and
keep the version suffix, so the search paths become /usr/share/lua/5.4
and /usr/lib/lua/5.4 - exactly where the Lua 5.4 module packages
install. The core lua (5.1) package carries an equivalent patch.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>lua-eco: fix LUA_ECO_CRASH_BACKTRACE recursive dependency</title>
<updated>2026-07-30T11:23:00Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-07-29T12:22:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=dfb4bd477af8bd84c8482dbc73824919ea14515a'/>
<id>urn:sha1:dfb4bd477af8bd84c8482dbc73824919ea14515a</id>
<content type='text'>
LUA_ECO_CRASH_BACKTRACE declared "depends on PACKAGE_lua-eco" while
lua-eco's DEPENDS carries "+LUA_ECO_CRASH_BACKTRACE:libunwind", which the
generator turns into "select libunwind if LUA_ECO_CRASH_BACKTRACE". kconfig
then sees lua-eco and the symbol depending on each other:

  error: recursive dependency detected!
    symbol LUA_ECO_CRASH_BACKTRACE depends on PACKAGE_lua-eco
    symbol PACKAGE_lua-eco depends on LUA_ECO_CRASH_BACKTRACE

Drop the redundant guard; the option only affects lua-eco's own build, so
nothing is pulled in when lua-eco itself is not selected.

Fixes: https://github.com/openwrt/packages/pull/30098#issuecomment-5113528752
Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>lua-eco: update to 4.1.4</title>
<updated>2026-07-28T06:57:37Z</updated>
<author>
<name>Jianhui Zhao</name>
</author>
<published>2026-07-26T02:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b7defd3980e653eecfb12bebb0a98a03103653dd'/>
<id>urn:sha1:b7defd3980e653eecfb12bebb0a98a03103653dd</id>
<content type='text'>
Add the new cli module as a separate subpackage.

Expose the optional C crash backtrace diagnostics through
CONFIG_LUA_ECO_CRASH_BACKTRACE. Depend on libunwind when enabled.
Keep the option unavailable on musl/powerpc, where OpenWrt's
libunwind package is not supported.

changelog: https://github.com/zhaojh329/lua-eco/compare/v4.0.0...v4.1.4

Signed-off-by: Jianhui Zhao &lt;zhaojh329@gmail.com&gt;
</content>
</entry>
<entry>
<title>lua-eco: add CONFIG_ prefix to PKG_CONFIG_DEPENDS options</title>
<updated>2026-07-11T15:07:44Z</updated>
<author>
<name>Jianhui Zhao</name>
</author>
<published>2026-07-09T14:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=e1ec189d45b8f4a127b9af8ee274adf0b40ba07e'/>
<id>urn:sha1:e1ec189d45b8f4a127b9af8ee274adf0b40ba07e</id>
<content type='text'>
Options listed in PKG_CONFIG_DEPENDS must start with
CONFIG_ prefix.

Signed-off-by: Jianhui Zhao &lt;zhaojh329@gmail.com&gt;
</content>
</entry>
</feed>
