<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/lang/lua, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-11-21T07:13:50Z</updated>
<entry>
<title>luajit2: update to 2026-11-07</title>
<updated>2026-11-21T07:13:50Z</updated>
<author>
<name>Javier Marcet</name>
</author>
<published>2026-11-15T07:14:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=59d6781751917bdfdc57a67c5ffa651fa022add1'/>
<id>urn:sha1:59d6781751917bdfdc57a67c5ffa651fa022add1</id>
<content type='text'>
For changes, see tagged commits:
https://github.com/openresty/luajit2/releases/tag/v2.1-20261107
https://github.com/openresty/luajit2/releases/tag/v2.1-20261023
https://github.com/openresty/luajit2/releases/tag/v2.1-20261021
https://github.com/openresty/luajit2/releases/tag/v2.1-20261015
https://github.com/openresty/luajit2/releases/tag/v2.1-20260917
https://github.com/openresty/luajit2/releases/tag/v2.1-20260824
https://github.com/openresty/luajit2/releases/tag/v2.1-20260914

Signed-off-by: Javier Marcet &lt;javier@marcet.info&gt;
</content>
</entry>
<entry>
<title>luajit: conflict with luajit2</title>
<updated>2026-10-31T05:12:52Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-10-28T23:15:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=2a98220abc0cb3d48b79f26b0b75d24d9ed9249a'/>
<id>urn:sha1:2a98220abc0cb3d48b79f26b0b75d24d9ed9249a</id>
<content type='text'>
luajit and luajit2 both install /usr/lib/libluajit-5.1.so and
/usr/lib/libluajit-5.1.so.2. luajit2 provides luajit, so apk never
installs both, but Kconfig lets both be selected, and the image then
silently gets only luajit2.

Declare the conflict on luajit. dnsdist, knot-resolver and snort3
depend on luajit, and Kconfig selects it for them depending on luajit2,
so a conflict on luajit2 creates a Kconfig dependency cycle.

Checked with defconfig: luajit drops to m when luajit2 or
nginx-mod-lua-resty-lrucache is selected.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>luajit: do not build on riscv64</title>
<updated>2026-10-30T05:37:21Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-10-29T13:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=72e727c51a84836cd7d391ab07a21bd233fef8fd'/>
<id>urn:sha1:72e727c51a84836cd7d391ab07a21bd233fef8fd</id>
<content type='text'>
LuaJIT 2.1.0-beta3 does not support riscv64 and fails there with
"No support for this architecture (yet)". HAS_LUAJIT_ARCH, which
luajit and luajit2 share, includes riscv64 since luajit2 got riscv64
support, so luajit is built on riscv64 and fails.

Exclude riscv64 from luajit. luajit2 provides luajit, so on riscv64
dnsdist and snort3 use luajit2.

Checked with defconfig on sifiveu: dnsdist and snort3 no longer select
luajit, CONFIG_ALL builds them with luajit2, armsr/armv8 is unchanged.

Fixes: 47525f330013 ("luajit2: add riscv64 support")
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>luajit: indent the package metadata with two spaces</title>
<updated>2026-10-30T05:37:21Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-10-29T13:55:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=0839415eb5917606a4a67e83bf223c0d15b337a4'/>
<id>urn:sha1:0839415eb5917606a4a67e83bf223c0d15b337a4</id>
<content type='text'>
The Package/luajit block is indented with one space, but the formality
check wants two spaces for added lines. Indent the whole block with two
spaces, so the next change does not mix both.

The generated package metadata is unchanged.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>lua-struct: update to 1.0.0</title>
<updated>2026-10-24T07:21:09Z</updated>
<author>
<name>Jakob Schade</name>
</author>
<published>2026-10-13T23:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=26c83ff3511190acfcc32fb40b6e9fd17f96c19f'/>
<id>urn:sha1:26c83ff3511190acfcc32fb40b6e9fd17f96c19f</id>
<content type='text'>
Updates lua-struct to latest release 1.0.0. Also cleans up the Makefile.
For changes in lua-struct 1.0.0 see https://github.com/iryont/lua-struct/releases/tag/1.0.0

Signed-off-by: Jakob Schade &lt;jasle@riseup.net&gt;
</content>
</entry>
<entry>
<title>luaposix: update to 37.0</title>
<updated>2026-10-20T14:13:40Z</updated>
<author>
<name>Maxim Storchak</name>
</author>
<published>2026-10-19T12:51:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=98535ac7b5151ffec5af63f38245ab1983c8c80e'/>
<id>urn:sha1:98535ac7b5151ffec5af63f38245ab1983c8c80e</id>
<content type='text'>
Changes: https://github.com/luaposix/luaposix/releases/tag/v37.0

Signed-off-by: Maxim Storchak &lt;m.storchak@gmail.com&gt;
</content>
</entry>
<entry>
<title>lua: install a pkg-config file for Lua 5.4</title>
<updated>2026-10-06T07:40:22Z</updated>
<author>
<name>Mirko Vogt</name>
</author>
<published>2026-10-05T11:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=fe3a5347184e6521958ef5ba0e031f33a3160a96'/>
<id>urn:sha1:fe3a5347184e6521958ef5ba0e031f33a3160a96</id>
<content type='text'>
Lua stopped shipping a pkg-config file after 5.1; the 5.2, 5.3 and 5.4
release tarballs contain none. Distributions add one to their Lua
packages instead: Debian's liblua5.4-dev ships lua5.4.pc, lua-5.4.pc
and lua54.pc, Alpine's lua5.4-dev ships lua5.4.pc and lua-5.4.pc. Build
systems of Lua consumers look Lua 5.4 up under these names. The package
stages no pkg-config file so far, so such builds cannot find
liblua5.4; the only Lua pkg-config file in the staging directory is
lua.pc of the lua package (5.1.5).

Stage lua5.4.pc, generated from a template with the package version,
and lua-5.4.pc and lua54.pc as links to it. It points to the headers in
/usr/include/lua5.4 and to liblua5.4, and lists libm and libdl as
private libraries for static linking, as the upstream Makefile links
them on Linux.

Of the packages that look up one of these names through pkg-config,
libinput disables its Lua plugin support explicitly in the previous
commit. tio looks up lua-5.4 before lua but depends on lua (5.1), so it
links liblua5.4 without depending on it until the next commit moves it
to Lua 5.4. The others select their Lua version explicitly, look up lua
(5.1) first, build without the feature using Lua, or depend on lua5.4
already.

Assisted-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Signed-off-by: Mirko Vogt &lt;mirko-openwrt@nanl.de&gt;
</content>
</entry>
<entry>
<title>lua: drop the lua5.4 LUA_ROOT patch</title>
<updated>2026-10-06T07:40:22Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-10-05T10:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=5432f90a1fb21385bda69a27e3712546bd6d9053'/>
<id>urn:sha1:5432f90a1fb21385bda69a27e3712546bd6d9053</id>
<content type='text'>
luaconf.h builds the module search paths out of LUA_ROOT, which upstream
hardcodes to /usr/local, where nothing installs on OpenWrt. LUA_ROOT is
defined unconditionally, but the two macros it feeds, LUA_PATH_DEFAULT
and LUA_CPATH_DEFAULT, are both guarded with #if !defined and are the
only users of it, so set them in TARGET_CFLAGS and drop the patch.

The resulting paths are the ones the patch produced, so the interpreter
behaves exactly as before.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>lua: use LUA_INSTALL_DIR in cqueues, lua-ffi and luaossl</title>
<updated>2026-10-06T07:40:22Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-10-05T09:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=6c5a3c4d7845fb7e2f49313c4db8abe3439974db'/>
<id>urn:sha1:6c5a3c4d7845fb7e2f49313c4db8abe3439974db</id>
<content type='text'>
The three Lua variants of each package install the same files, differing
only in the destination directory, so define LUA_INSTALL_DIR next to the
other per-variant settings and share a single install recipe. Same idiom
as luafilesystem, luasec and luaexpat. No packaged path changes.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
<entry>
<title>luaossl: fix Lua 5.4 module installation paths</title>
<updated>2026-10-05T09:01:29Z</updated>
<author>
<name>Jianhui Zhao</name>
</author>
<published>2026-10-03T11:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3f87f7ae8341e5f84478facbd3fc62b243ef8732'/>
<id>urn:sha1:3f87f7ae8341e5f84478facbd3fc62b243ef8732</id>
<content type='text'>
Commit 3fe92e63f558 moved the default Lua 5.4 module search paths
from /usr/local to /usr. luaossl still staged and packaged its Lua 5.4
modules under /usr/local/lib/lua/5.4, outside the default search paths.

Set lua54path and lua54cpath to /usr/lib/lua/5.4 and update the package
install rules to match. Bump PKG_RELEASE to 3 so the corrected package
is offered as an upgrade. Keep Lua 5.1 and Lua 5.3 paths unchanged.

Fixes: 3fe92e63f558 ("lua: look for lua5.4 modules under /usr instead of /usr/local")
Signed-off-by: Jianhui Zhao &lt;zhaojh329@gmail.com&gt;
</content>
</entry>
</feed>
