luarocks addon
PATCH v3 1/1 luarocks addon
This serie introduces a luarocks addon which populates BR files for Luarocks infrastructure.
And now, like with perl modules, I can upgrade easily lua modules.
Note1: Luarocks is designed for support of addon/plugin, but this feature is not yet merged see https://github.com/luarocks/luarocks/wiki/Addon-author's-guide
v1 --> v2
- rename get_native_dependencies as get_external_dependencies
- add a warning when a dependency is unknown on BR
- use sha256 instead of md5 as hash
v2 --> v3
- rebase
Francois Perrad (5):
luarocks: add buildroot addon
lua*: regeneration of *.mk files
lua*: regeneration of Config.in
lua*: regeneration of hash files
pkg-luarocks: add per package upgrade target
docs/manual/adding-packages-luarocks.txt | 9 + package/argparse/argparse.hash | 3 +- package/argparse/argparse.mk | 3 +- package/cgilua/Config.in | 3 +- package/cgilua/cgilua.hash | 3 +- package/copas/Config.in | 7 +- package/copas/copas.hash | 3 +- package/copas/copas.mk | 2 +- package/coxpcall/coxpcall.hash | 3 +- package/dado/dado.hash | 3 +- package/ljlinenoise/Config.in | 4 +- package/ljlinenoise/ljlinenoise.hash | 5 +- package/ljsyscall/Config.in | 3 +- package/lpeg/Config.in | 3 +- package/lpeg/lpeg.hash | 4 +- package/lpty/Config.in | 1 - package/lpty/lpty.hash | 5 +- package/lrandom/Config.in | 1 - package/lrandom/lrandom.hash | 6 +- package/lsqlite3/Config.in | 3 +- package/lsqlite3/lsqlite3.hash | 2 +- package/lsqlite3/lsqlite3.mk | 2 +- package/lua-basexx/lua-basexx.hash | 3 +- package/lua-basexx/lua-basexx.mk | 4 +- package/lua-bit32/lua-bit32.hash | 5 +- package/lua-cjson/Config.in | 1 - package/lua-cjson/lua-cjson.hash | 3 +- package/lua-coat/Config.in | 2 +- package/lua-coat/lua-coat.hash | 5 +- package/lua-coatpersistent/Config.in | 5 +- .../lua-coatpersistent.hash | 7 +- package/lua-compat53/Config.in | 2 +- package/lua-compat53/lua-compat53.hash | 3 +- package/lua-csnappy/lua-csnappy.hash | 5 +- package/lua-curl/lua-curl.hash | 3 +- package/lua-datafile/lua-datafile.hash | 3 +- package/lua-fifo/lua-fifo.hash | 3 +- package/lua-fifo/lua-fifo.mk | 4 +- package/lua-flu/lua-flu.hash | 5 +- package/lua-flu/lua-flu.mk | 2 +- package/lua-http/Config.in | 18 +- package/lua-http/lua-http.hash | 3 +- package/lua-iconv/lua-iconv.hash | 5 +- package/lua-iconv/lua-iconv.mk | 2 +- package/lua-lpeg-patterns/Config.in | 3 +- .../lua-lpeg-patterns/lua-lpeg-patterns.hash | 3 +- package/lua-markdown/lua-markdown.hash | 3 +- package/lua-markdown/lua-markdown.mk | 2 +- package/lua-messagepack/lua-messagepack.hash | 3 +- package/lua-periphery/Config.in | 1 - package/lua-periphery/lua-periphery.hash | 3 +- package/lua-resty-http/lua-resty-http.hash | 3 +- package/lua-sailor/Config.in | 15 +- package/lua-sailor/lua-sailor.hash | 3 +- package/lua-sailor/lua-sailor.mk | 2 +- package/lua-stdlib/lua-stdlib.hash | 3 +- package/lua-testmore/lua-testmore.hash | 5 +- package/lua-utf8/lua-utf8.hash | 2 +- package/lua-valua/lua-valua.hash | 3 +- package/luabitop/luabitop.hash | 4 +- package/luacrypto/Config.in | 2 +- package/luacrypto/luacrypto.hash | 5 +- package/luadbi-sqlite3/Config.in | 2 +- package/luadbi-sqlite3/luadbi-sqlite3.hash | 3 +- package/luadbi-sqlite3/luadbi-sqlite3.mk | 2 +- package/luadbi/luadbi.hash | 3 +- package/luadbi/luadbi.mk | 2 +- package/luaexpat/Config.in | 3 +- package/luaexpat/luaexpat.hash | 3 +- package/luaexpat/luaexpat.mk | 2 +- package/luafilesystem/Config.in | 1 - package/luafilesystem/luafilesystem.hash | 3 +- package/luafilesystem/luafilesystem.mk | 4 +- package/luajson/Config.in | 3 +- package/luajson/luajson.hash | 3 +- package/lualogging/Config.in | 2 +- package/lualogging/lualogging.hash | 5 +- package/luaossl/luaossl.hash | 3 +- package/luaposix/Config.in | 2 +- package/luarocks/0002-Buildroot-addon.patch | 358 ++++++++++++++++++ package/luasec/Config.in | 3 +- package/luasec/luasec.hash | 5 +- package/luasocket/Config.in | 1 - package/luasocket/luasocket.hash | 5 +- package/luasql-sqlite3/Config.in | 1 - package/luasql-sqlite3/luasql-sqlite3.hash | 3 +- package/lunit/lunit.hash | 5 +- package/orbit/Config.in | 7 +- package/orbit/orbit.hash | 4 +- package/orbit/orbit.mk | 7 +- package/pkg-luarocks.mk | 6 + package/rings/Config.in | 1 - package/rings/rings.hash | 5 +- package/wsapi-fcgi/Config.in | 5 +- package/wsapi-fcgi/wsapi-fcgi.hash | 4 +- package/wsapi-fcgi/wsapi-fcgi.mk | 6 +- package/wsapi-xavante/Config.in | 9 +- package/wsapi-xavante/wsapi-xavante.hash | 4 +- package/wsapi-xavante/wsapi-xavante.mk | 4 +- package/wsapi/Config.in | 9 +- package/wsapi/wsapi.hash | 4 +- package/wsapi/wsapi.mk | 4 +- package/xavante/Config.in | 9 +- package/xavante/xavante.hash | 3 +- 104 files changed, 577 insertions(+), 177 deletions(-) create mode 100644 package/luarocks/0002-Buildroot-addon.patch
Signature · 1 line
2.17.1
PATCH v3 1/1 luarocks: add buildroot addon
--- docs/manual/adding-packages-luarocks.txt | 9 + package/luarocks/0002-Buildroot-addon.patch | 358 ++++++++++++++++++++ 2 files changed, 367 insertions(+) create mode 100644 package/luarocks/0002-Buildroot-addon.patch
docs/manual/adding-packages-luarocks.txt +9 -0
@@ -50,6 +50,15 @@ Finally, on line 16, we invoke the +luarocks-package+ macro that generates all the Makefile rules that actually allows the package to be built. +Most of these data can be retrieved in the +rock+ and +rockspec+. +So, this file and the Config.in can be generated by running +the command +luarocks buildroot foo lua-foo+ in the Buildroot directory +which runs a specific Buildroot addon of +luarocks+. +You should still manually edit the result. + +* The +package/Config.in+ file has to be updated manually to include the + generated Config.in files. + [[luarocks-package-reference]] ==== +luarocks-package+ reference
package/luarocks/0002-Buildroot-addon.patch new file +358 -0
358 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v3 1/1 luarocks: add buildroot addon
Hello,
Quoted 7 lines · Francois Perrad
++ if #licenses == 1 then
++ f:write(ucname .. '_LICENSE_FILES= $(' .. ucname .. '_SUBDIR)/' .. licenses[1] .. '\n')
++ elseif #licenses > 1 then
++ f:write(ucname .. '_LICENSE_FILES=')
++ for i = 1, #licenses do
++ local file = licenses[i]
++ f:write(' \\\n $(' .. ucname .. '_SUBDIR)/' .. file)
This is not good: it indents each line with 4 spaces, while it should indent with one tab. Due to this, the regenerated .mk files caused check-package to complain. I fixed the issues manually in:
https://git.busybox.net/buildroot/commit/?id=42fa5bcbfb48f188c2c180854c0bbdefd98c32c8
But of course the Luarocks addon must be fixed to not re-introduce similar issues. Could you cook a patch to that effect ?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v3 1/1 lua*: regeneration of *.mk files
In reply to Francois Perrad--- package/argparse/argparse.mk | 3 +-- package/copas/copas.mk | 2 +- package/lsqlite3/lsqlite3.mk | 2 +- package/lua-basexx/lua-basexx.mk | 4 +--- package/lua-fifo/lua-fifo.mk | 4 ++-- package/lua-flu/lua-flu.mk | 2 +- package/lua-iconv/lua-iconv.mk | 2 +- package/lua-markdown/lua-markdown.mk | 2 +- package/lua-sailor/lua-sailor.mk | 2 +- package/luadbi-sqlite3/luadbi-sqlite3.mk | 2 +- package/luadbi/luadbi.mk | 2 +- package/luaexpat/luaexpat.mk | 2 +- package/luafilesystem/luafilesystem.mk | 4 ++-- package/orbit/orbit.mk | 7 ++++--- package/wsapi-fcgi/wsapi-fcgi.mk | 6 ++++-- package/wsapi-xavante/wsapi-xavante.mk | 4 +++- package/wsapi/wsapi.mk | 4 +++- 17 files changed, 29 insertions(+), 25 deletions(-)
package/argparse/argparse.mk +1 -2
@@ -4,8 +4,7 @@ # ################################################################################ -ARGPARSE_VERSION_UPSTREAM = 0.6.0 -ARGPARSE_VERSION = $(ARGPARSE_VERSION_UPSTREAM)-1 +ARGPARSE_VERSION = 0.6.0-1 ARGPARSE_SUBDIR = argparse ARGPARSE_LICENSE = MIT ARGPARSE_LICENSE_FILES = $(ARGPARSE_SUBDIR)/LICENSE
package/copas/copas.mk +1 -1
@@ -7,6 +7,6 @@ COPAS_VERSION = 2.0.2-1 COPAS_SUBDIR = copas-2_0_2 COPAS_LICENSE = MIT -COPAS_LICENSE_FILES = $(COPAS_SUBDIR)/doc/us/license.html +COPAS_LICENSE_FILES = $(COPAS_SUBDIR)/LICENSE $(eval $(luarocks-package))
package/lsqlite3/lsqlite3.mk +1 -1
@@ -6,7 +6,7 @@ LSQLITE3_VERSION = 0.9.5-1 LSQLITE3_SUBDIR = lsqlite3_fsl09y -LSQLITE3_DEPENDENCIES = sqlite LSQLITE3_LICENSE = MIT +LSQLITE3_DEPENDENCIES = sqlite $(eval $(luarocks-package))
package/lua-basexx/lua-basexx.mk +1 -3
@@ -4,10 +4,8 @@ # ################################################################################ -LUA_BASEXX_VERSION_UPSTREAM =0.4.0 -LUA_BASEXX_VERSION = $(LUA_BASEXX_VERSION_UPSTREAM)-1 +LUA_BASEXX_VERSION = 0.4.0-1 LUA_BASEXX_NAME_UPSTREAM = basexx -LUA_BASEXX_SUBDIR = basexx-$(LUA_BASEXX_VERSION_UPSTREAM) LUA_BASEXX_LICENSE = MIT LUA_BASEXX_LICENSE_FILES = $(LUA_BASEXX_SUBDIR)/LICENSE
package/lua-fifo/lua-fifo.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -LUA_FIFO_VERSION_UPSTREAM =0.2 -LUA_FIFO_VERSION =$(LUA_FIFO_VERSION_UPSTREAM)-0 +LUA_FIFO_VERSION_UPSTREAM = 0.2 +LUA_FIFO_VERSION = $(LUA_FIFO_VERSION_UPSTREAM)-0 LUA_FIFO_NAME_UPSTREAM = fifo LUA_FIFO_SUBDIR = fifo.lua-$(LUA_FIFO_VERSION_UPSTREAM) LUA_FIFO_LICENSE = MIT
package/lua-flu/lua-flu.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ LUA_FLU_VERSION = 20150331-1 -LUA_FLU_NAME_UPSTREAM = flu +LUA_FLU_NAME_UPSTREAM = Flu LUA_FLU_SUBDIR = doub-flu-a7daae986339 LUA_FLU_LICENSE = MIT LUA_FLU_LICENSE_FILES = $(LUA_FLU_SUBDIR)/doc/LICENSE.txt
package/lua-iconv/lua-iconv.mk +1 -1
@@ -5,8 +5,8 @@ ################################################################################ LUA_ICONV_VERSION = 7-1 -LUA_ICONV_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) LUA_ICONV_LICENSE = MIT LUA_ICONV_LICENSE_FILES = $(LUA_ICONV_SUBDIR)/COPYING +LUA_ICONV_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(eval $(luarocks-package))
package/lua-markdown/lua-markdown.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ LUA_MARKDOWN_VERSION = 0.33-1 -LUA_MARKDOWN_NAME_UPSTREAM = markdown +LUA_MARKDOWN_NAME_UPSTREAM = Markdown LUA_MARKDOWN_SUBDIR = markdown LUA_MARKDOWN_LICENSE = MIT LUA_MARKDOWN_LICENSE_FILES = $(LUA_MARKDOWN_SUBDIR)/LICENSE
package/lua-sailor/lua-sailor.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ LUA_SAILOR_VERSION = 0.5-4 -LUA_SAILOR_NAME_UPSTREAM = sailor +LUA_SAILOR_NAME_UPSTREAM = Sailor LUA_SAILOR_SUBDIR = sailor LUA_SAILOR_LICENSE = MIT LUA_SAILOR_LICENSE_FILES = $(LUA_SAILOR_SUBDIR)/LICENSE
package/luadbi-sqlite3/luadbi-sqlite3.mk +1 -1
@@ -5,8 +5,8 @@ ################################################################################ LUADBI_SQLITE3_VERSION = 0.6-2 -LUADBI_SQLITE3_LICENSE = MIT LUADBI_SQLITE3_SUBDIR = luadbi +LUADBI_SQLITE3_LICENSE = MIT LUADBI_SQLITE3_LICENSE_FILES = $(LUADBI_SQLITE3_SUBDIR)/COPYING LUADBI_SQLITE3_DEPENDENCIES = sqlite
package/luadbi/luadbi.mk +1 -1
@@ -5,8 +5,8 @@ ################################################################################ LUADBI_VERSION = 0.6-2 -LUADBI_LICENSE = MIT LUADBI_SUBDIR = luadbi +LUADBI_LICENSE = MIT LUADBI_LICENSE_FILES = $(LUADBI_SUBDIR)/COPYING $(eval $(luarocks-package))
package/luaexpat/luaexpat.mk +1 -1
@@ -5,8 +5,8 @@ ################################################################################ LUAEXPAT_VERSION = 1.3.3-1 -LUAEXPAT_DEPENDENCIES = expat LUAEXPAT_LICENSE = MIT LUAEXPAT_LICENSE_FILES = $(LUAEXPAT_SUBDIR)/LICENSE +LUAEXPAT_DEPENDENCIES = expat $(eval $(luarocks-package))
package/luafilesystem/luafilesystem.mk +2 -2
@@ -5,8 +5,8 @@ ################################################################################ LUAFILESYSTEM_VERSION = 1.7.0-2 -LUAFILESYSTEM_LICENSE = MIT -LUAFILESYSTEM_LICENSE_FILES = luafilesystem/LICENSE LUAFILESYSTEM_SUBDIR = luafilesystem +LUAFILESYSTEM_LICENSE = MIT +LUAFILESYSTEM_LICENSE_FILES = $(LUAFILESYSTEM_SUBDIR)/LICENSE $(eval $(luarocks-package))
package/orbit/orbit.mk +4 -3
@@ -4,10 +4,11 @@ # ################################################################################ -ORBIT_VERSION_UPSTREAM = 2.2.4 -ORBIT_VERSION = $(ORBIT_VERSION_UPSTREAM)-1 +ORBIT_VERSION = 2.2.4-1 ORBIT_SUBDIR = orbit ORBIT_LICENSE = MIT -ORBIT_LICENSE_FILES = $(ORBIT_SUBDIR)/doc/us/license.md +ORBIT_LICENSE_FILES = \ + $(ORBIT_SUBDIR)/doc/us/license.html \ + $(ORBIT_SUBDIR)/doc/us/license.md $(eval $(luarocks-package))
package/wsapi-fcgi/wsapi-fcgi.mk +4 -2
@@ -6,8 +6,10 @@ WSAPI_FCGI_VERSION = 1.7-1 WSAPI_FCGI_SUBDIR = wsapi -WSAPI_FCGI_DEPENDENCIES = libfcgi WSAPI_FCGI_LICENSE = MIT -WSAPI_FCGI_LICENSE_FILES = $(WSAPI_FCGI_SUBDIR)/doc/us/license.html +WSAPI_FCGI_LICENSE_FILES = \ + $(WSAPI_FCGI_SUBDIR)/doc/us/license.html \ + $(WSAPI_FCGI_SUBDIR)/doc/us/license.md +WSAPI_FCGI_DEPENDENCIES = libfcgi $(eval $(luarocks-package))
package/wsapi-xavante/wsapi-xavante.mk +3 -1
@@ -7,6 +7,8 @@ WSAPI_XAVANTE_VERSION = 1.7-1 WSAPI_XAVANTE_SUBDIR = wsapi WSAPI_XAVANTE_LICENSE = MIT -WSAPI_XAVANTE_LICENSE_FILES = $(WSAPI_XAVANTE_SUBDIR)/doc/us/license.html +WSAPI_XAVANTE_LICENSE_FILES = \ + $(WSAPI_XAVANTE_SUBDIR)/doc/us/license.html \ + $(WSAPI_XAVANTE_SUBDIR)/doc/us/license.md $(eval $(luarocks-package))
package/wsapi/wsapi.mk +3 -1
@@ -7,6 +7,8 @@ WSAPI_VERSION = 1.7-1 WSAPI_SUBDIR = wsapi WSAPI_LICENSE = MIT -WSAPI_LICENSE_FILES = $(WSAPI_SUBDIR)/doc/us/license.html +WSAPI_LICENSE_FILES = \ + $(WSAPI_SUBDIR)/doc/us/license.html \ + $(WSAPI_SUBDIR)/doc/us/license.md $(eval $(luarocks-package))
Signature · 1 line
2.17.1
PATCH v3 1/1 lua*: regeneration of Config.in
In reply to Francois Perrad--- package/cgilua/Config.in | 3 +-- package/copas/Config.in | 7 +++---- package/ljlinenoise/Config.in | 4 +--- package/ljsyscall/Config.in | 3 +-- package/lpeg/Config.in | 3 +-- package/lpty/Config.in | 1 - package/lrandom/Config.in | 1 - package/lsqlite3/Config.in | 3 +-- package/lua-cjson/Config.in | 1 - package/lua-coat/Config.in | 2 +- package/lua-coatpersistent/Config.in | 5 ++--- package/lua-compat53/Config.in | 2 +- package/lua-http/Config.in | 18 +++++++++--------- package/lua-lpeg-patterns/Config.in | 3 +-- package/lua-periphery/Config.in | 1 - package/lua-sailor/Config.in | 15 +++++++-------- package/luacrypto/Config.in | 2 +- package/luadbi-sqlite3/Config.in | 2 +- package/luaexpat/Config.in | 3 +-- package/luafilesystem/Config.in | 1 - package/luajson/Config.in | 3 +-- package/lualogging/Config.in | 2 +- package/luaposix/Config.in | 2 +- package/luasec/Config.in | 3 +-- package/luasocket/Config.in | 1 - package/luasql-sqlite3/Config.in | 1 - package/orbit/Config.in | 7 +++---- package/rings/Config.in | 1 - package/wsapi-fcgi/Config.in | 5 ++--- package/wsapi-xavante/Config.in | 9 +++------ package/wsapi/Config.in | 9 ++++----- package/xavante/Config.in | 9 ++++----- 32 files changed, 52 insertions(+), 80 deletions(-)
package/cgilua/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_CGILUA bool "cgilua" - # Runtime dependency only - select BR2_PACKAGE_LUAFILESYSTEM + select BR2_PACKAGE_LUAFILESYSTEM # runtime help CGILua is a tool for creating dynamic HTML pages and manipulating input data from Web forms.
package/copas/Config.in +3 -4
@@ -1,12 +1,11 @@ config BR2_PACKAGE_COPAS bool "copas" - # Runtime dependency only - select BR2_PACKAGE_COXPCALL if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT - select BR2_PACKAGE_LUASOCKET + select BR2_PACKAGE_COXPCALL if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT # runtime + select BR2_PACKAGE_LUASOCKET # runtime help Copas is a dispatcher based on coroutines that can be used for asynchronous networking. For example TCP or UDP based servers. But it also features timers and client support for http(s), ftp and smtp requests. - http://keplerproject.github.com/copas/ + http://www.keplerproject.org/copas/
package/ljlinenoise/Config.in +1 -3
@@ -1,9 +1,7 @@ config BR2_PACKAGE_LJLINENOISE bool "ljlinenoise" - # ljsyscall is specifically for LuaJIT, not Lua. depends on BR2_PACKAGE_LUAJIT - # run-time dependency only - select BR2_PACKAGE_LJSYSCALL + select BR2_PACKAGE_LJSYSCALL # runtime help ljlinenoise is a pure LuaJIT port of linenoise, a small alternative to readline and libedit.
package/ljsyscall/Config.in +1 -2
@@ -1,12 +1,11 @@ config BR2_PACKAGE_LJSYSCALL bool "ljsyscall" - # ljsyscall is specifically for LuaJIT, not Lua. depends on BR2_PACKAGE_LUAJIT help An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT. - http://github.com/justincormack/ljsyscall + http://www.myriabit.com/ljsyscall/ comment "ljsyscall needs LuaJIT" depends on !BR2_PACKAGE_LUAJIT
package/lpeg/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_LPEG bool "lpeg" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs). - http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html + http://www.inf.puc-rio.br/~roberto/lpeg.html
package/lpty/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LPTY bool "lpty" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A simple facility for lua to control other programs via PTYs.
package/lrandom/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LRANDOM bool "lrandom" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A library for generating random numbers based on the Mersenne Twister
package/lsqlite3/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_LSQLITE3 bool "lsqlite3" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_SQLITE help - a thin Lua wrapper for the SQLite3 library. + A binding for Lua to the SQLite3 database library. http://lua.sqlite.org/
package/lua-cjson/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUA_CJSON bool "lua-cjson" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help The Lua CJSON module provides JSON support for Lua. It features:
package/lua-coat/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LUA_COAT bool "lua-coat" help - Yet Another Lua Object-Oriented Model + Yet Another Lua Object-Oriented Model. https://fperrad.frama.io/lua-Coat/
package/lua-coatpersistent/Config.in +2 -3
@@ -1,9 +1,8 @@ config BR2_PACKAGE_LUA_COATPERSISTENT bool "lua-coatpersistent" depends on BR2_PACKAGE_LSQLITE3 || BR2_PACKAGE_LUASQL_SQLITE3 - # run-time dependencies - select BR2_PACKAGE_DADO - select BR2_PACKAGE_LUA_COAT + select BR2_PACKAGE_DADO # runtime + select BR2_PACKAGE_LUA_COAT # runtime help An ORM for lua-Coat.
package/lua-compat53/Config.in +1 -1
@@ -3,6 +3,6 @@ config BR2_PACKAGE_LUA_COMPAT53 depends on !BR2_PACKAGE_LUA_5_3 help Compatibility module providing Lua-5.3-style APIs for Lua 5.2 - and 5.1 + and 5.1. https://github.com/keplerproject/lua-compat-5.3
package/lua-http/Config.in +9 -9
@@ -1,16 +1,16 @@ config BR2_PACKAGE_LUA_HTTP bool "lua-http" depends on BR2_TOOLCHAIN_HAS_THREADS # luaossl & lua-cqueues - # These are runtime dependencies - select BR2_PACKAGE_LUA_BASEXX - select BR2_PACKAGE_LUA_COMPAT53 if !BR2_PACKAGE_LUA_5_3 - select BR2_PACKAGE_LUA_CQUEUES - select BR2_PACKAGE_LUA_FIFO - select BR2_PACKAGE_LUA_LPEG_PATTERNS - select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1 - select BR2_PACKAGE_LUAOSSL + select BR2_PACKAGE_LPEG # runtime + select BR2_PACKAGE_LUA_BASEXX # runtime + select BR2_PACKAGE_LUA_COMPAT53 if !BR2_PACKAGE_LUA_5_3 # runtime + select BR2_PACKAGE_LUA_CQUEUES # runtime + select BR2_PACKAGE_LUA_FIFO # runtime + select BR2_PACKAGE_LUA_LPEG_PATTERNS # runtime + select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA_5_1 # runtime + select BR2_PACKAGE_LUAOSSL # runtime help - HTTP library for Lua + HTTP library for Lua. https://daurnimator.github.io/lua-http/
package/lua-lpeg-patterns/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LUA_LPEG_PATTERNS bool "lua-lpeg-patterns" - # These are runtime dependencies - select BR2_PACKAGE_LPEG + select BR2_PACKAGE_LPEG # runtime help a collection of LPEG patterns.
package/lua-periphery/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUA_PERIPHERY bool "lua-periphery" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help A library for GPIO, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux with Lua.
package/lua-sailor/Config.in +7 -8
@@ -1,13 +1,12 @@ config BR2_PACKAGE_LUA_SAILOR bool "lua-sailor" - # These are runtime dependencies - select BR2_PACKAGE_CGILUA - select BR2_PACKAGE_LBASE64 - select BR2_PACKAGE_LUAFILESYSTEM - select BR2_PACKAGE_LUA_DATAFILE - select BR2_PACKAGE_LUA_VALUA - select BR2_PACKAGE_XAVANTE - select BR2_PACKAGE_WSAPI_XAVANTE + select BR2_PACKAGE_CGILUA # runtime + select BR2_PACKAGE_LBASE64 # runtime + select BR2_PACKAGE_LUA_DATAFILE # runtime + select BR2_PACKAGE_LUA_VALUA # runtime + select BR2_PACKAGE_LUAFILESYSTEM # runtime + select BR2_PACKAGE_WSAPI_XAVANTE # runtime + select BR2_PACKAGE_XAVANTE # runtime help Sailor is a web framework written in Lua that follows the MVC design pattern.
package/luacrypto/Config.in +1 -1
@@ -8,4 +8,4 @@ config BR2_PACKAGE_LUACRYPTO (MD5, SHA-1, HMAC, and more) and crypto-grade random number generators communication. - http://luacrypto.luaforge.net + http://mkottman.github.com/luacrypto/
package/luadbi-sqlite3/Config.in +1 -1
@@ -1,7 +1,7 @@ config BR2_PACKAGE_LUADBI_SQLITE3 bool "luadbi-sqlite3" - select BR2_PACKAGE_LUADBI # runtime dependency select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_LUADBI # runtime help LuaDBI is a database interface library for Lua. And this is the SQLite3 backend.
package/luaexpat/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_LUAEXPAT bool "luaexpat" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_EXPAT help LuaExpat is a SAX XML parser based on the Expat library. - http://matthewwild.co.uk/projects/luaexpat/ + http://www.keplerproject.org/luaexpat/
package/luafilesystem/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUAFILESYSTEM bool "luafilesystem" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
package/luajson/Config.in +1 -2
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LUAJSON bool "luajson" - # run-time dependency - select BR2_PACKAGE_LPEG + select BR2_PACKAGE_LPEG # runtime help LuaJSON is a customizable JSON decoder/encoder using LPEG for parsing.
package/lualogging/Config.in +1 -1
@@ -6,4 +6,4 @@ config BR2_PACKAGE_LUALOGGING supports, through the use of appenders, console, file, rolling file, email, socket and SQL outputs. - http://www.keplerproject.org/lualogging/ + https://github.com/Neopallium/lualogging
package/luaposix/Config.in +1 -1
@@ -4,7 +4,7 @@ config BR2_PACKAGE_LUAPOSIX # "bit32" is included in Lua 5.2+. luajit has an equivalent # "bit" module, but since it has a different name, luaposix # doesn't find it. - select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT + select BR2_PACKAGE_LUA_BIT32 if BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT # runtime help This is a POSIX binding for LuaJIT, Lua 5.1, 5.2 and 5.3; like most libraries it simply binds to C APIs on the
package/luasec/Config.in +1 -2
@@ -1,8 +1,7 @@ config BR2_PACKAGE_LUASEC bool "luasec" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LUASOCKET + select BR2_PACKAGE_LUASOCKET # runtime help LuaSec is a binding for OpenSSL library to provide TLS/SSL communication.
package/luasocket/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUASOCKET bool "luasocket" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help LuaSocket is the most comprehensive networking support library for the Lua language.
package/luasql-sqlite3/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LUASQL_SQLITE3 bool "luasql-sqlite3" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER select BR2_PACKAGE_SQLITE help LuaSQL is a simple interface from Lua to a DBMS.
package/orbit/Config.in +3 -4
@@ -1,10 +1,9 @@ config BR2_PACKAGE_ORBIT bool "orbit" depends on BR2_PACKAGE_LUA_5_1 || BR2_PACKAGE_LUAJIT - # These are runtime dependencies - select BR2_PACKAGE_LPEG - select BR2_PACKAGE_LUAFILESYSTEM - select BR2_PACKAGE_WSAPI_XAVANTE + select BR2_PACKAGE_LPEG # runtime + select BR2_PACKAGE_LUAFILESYSTEM # runtime + select BR2_PACKAGE_WSAPI_XAVANTE # runtime help An MVC web framework for Lua. The design is inspired by lightweight Ruby frameworks such as Camping
package/rings/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_RINGS bool "rings" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER help Provides a way to create new Lua states from within Lua.
package/wsapi-fcgi/Config.in +2 -3
@@ -2,11 +2,10 @@ config BR2_PACKAGE_WSAPI_FCGI bool "wsapi-fcgi" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBFCGI - # Runtime dependency only - select BR2_PACKAGE_WSAPI + select BR2_PACKAGE_WSAPI # runtime help WSAPI is an API that abstracts the web server from Lua web applications. This is the rock that contains the FCGI module lfcgi. - http://keplerproject.github.com/wsapi/ + http://www.keplerproject.org/wsapi
package/wsapi-xavante/Config.in +3 -6
@@ -1,13 +1,10 @@ config BR2_PACKAGE_WSAPI_XAVANTE bool "wsapi-xavante" - # Runtime dependencies - select BR2_PACKAGE_COXPCALL - select BR2_PACKAGE_RINGS - select BR2_PACKAGE_WSAPI - select BR2_PACKAGE_XAVANTE + select BR2_PACKAGE_WSAPI # runtime + select BR2_PACKAGE_XAVANTE # runtime help WSAPI is an API that abstracts the web server from Lua web applications. This is the rock that contains the Xavante adapter and launcher. - http://keplerproject.github.com/wsapi/ + http://www.keplerproject.org/wsapi
package/wsapi/Config.in +4 -5
@@ -1,10 +1,9 @@ config BR2_PACKAGE_WSAPI bool "wsapi" - # Runtime dependency only - select BR2_PACKAGE_COXPCALL - select BR2_PACKAGE_LUAFILESYSTEM - select BR2_PACKAGE_RINGS + select BR2_PACKAGE_COXPCALL # runtime + select BR2_PACKAGE_LUAFILESYSTEM # runtime + select BR2_PACKAGE_RINGS # runtime help API that abstracts the web server from Lua web applications. - http://keplerproject.github.com/wsapi/ + http://www.keplerproject.org/wsapi
package/xavante/Config.in +4 -5
@@ -1,9 +1,8 @@ config BR2_PACKAGE_XAVANTE bool "xavante" - # Runtime dependency only - select BR2_PACKAGE_COPAS - select BR2_PACKAGE_LUAFILESYSTEM - select BR2_PACKAGE_LUASOCKET + select BR2_PACKAGE_COPAS # runtime + select BR2_PACKAGE_LUAFILESYSTEM # runtime + select BR2_PACKAGE_LUASOCKET # runtime help Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture based on URI mapped handlers. Xavante currently
@@ -11,4 +10,4 @@ config BR2_PACKAGE_XAVANTE Those are used for general files, URI remapping and WSAPI applications respectively. - http://keplerproject.github.com/xavante/ + http://keplerproject.github.io/xavante
Signature · 1 line
2.17.1
PATCH v3 1/1 lua*: regeneration of Config.in
Hello Fran?ois,
package/ljlinenoise/Config.in line 3
Quoted 8 lines · Francois Perrad
package/ljlinenoise/Config.in +0
-1@@ -1,9 +1,7 @@ config BR2_PACKAGE_LJLINENOISE bool "ljlinenoise" - # ljsyscall is specifically for LuaJIT, not Lua.
I think this was useful to keep.
package/ljsyscall/Config.in line 3
Quoted 8 lines
package/ljsyscall/Config.in +0
-1@@ -1,12 +1,11 @@ config BR2_PACKAGE_LJSYSCALL bool "ljsyscall" - # ljsyscall is specifically for LuaJIT, not Lua.
And this as well.
So I've re-added those two lines when applying the patch.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v3 1/1 lua*: regeneration of hash files
In reply to Francois Perrad--- package/argparse/argparse.hash | 3 ++- package/cgilua/cgilua.hash | 3 ++- package/copas/copas.hash | 3 ++- package/coxpcall/coxpcall.hash | 3 ++- package/dado/dado.hash | 3 ++- package/ljlinenoise/ljlinenoise.hash | 5 +++-- package/lpeg/lpeg.hash | 4 ++-- package/lpty/lpty.hash | 5 +++-- package/lrandom/lrandom.hash | 6 +++--- package/lsqlite3/lsqlite3.hash | 2 +- package/lua-basexx/lua-basexx.hash | 3 ++- package/lua-bit32/lua-bit32.hash | 5 +++-- package/lua-cjson/lua-cjson.hash | 3 ++- package/lua-coat/lua-coat.hash | 5 +++-- package/lua-coatpersistent/lua-coatpersistent.hash | 7 ++++--- package/lua-compat53/lua-compat53.hash | 3 ++- package/lua-csnappy/lua-csnappy.hash | 5 +++-- package/lua-curl/lua-curl.hash | 3 ++- package/lua-datafile/lua-datafile.hash | 3 ++- package/lua-fifo/lua-fifo.hash | 3 ++- package/lua-flu/lua-flu.hash | 5 +++-- package/lua-http/lua-http.hash | 3 ++- package/lua-iconv/lua-iconv.hash | 5 +++-- package/lua-lpeg-patterns/lua-lpeg-patterns.hash | 3 ++- package/lua-markdown/lua-markdown.hash | 3 ++- package/lua-messagepack/lua-messagepack.hash | 3 ++- package/lua-periphery/lua-periphery.hash | 3 ++- package/lua-resty-http/lua-resty-http.hash | 3 ++- package/lua-sailor/lua-sailor.hash | 3 ++- package/lua-stdlib/lua-stdlib.hash | 3 ++- package/lua-testmore/lua-testmore.hash | 5 +++-- package/lua-utf8/lua-utf8.hash | 2 +- package/lua-valua/lua-valua.hash | 3 ++- package/luabitop/luabitop.hash | 4 ++-- package/luacrypto/luacrypto.hash | 5 +++-- package/luadbi-sqlite3/luadbi-sqlite3.hash | 3 ++- package/luadbi/luadbi.hash | 3 ++- package/luaexpat/luaexpat.hash | 3 ++- package/luafilesystem/luafilesystem.hash | 3 ++- package/luajson/luajson.hash | 3 ++- package/lualogging/lualogging.hash | 5 +++-- package/luaossl/luaossl.hash | 3 ++- package/luasec/luasec.hash | 5 +++-- package/luasocket/luasocket.hash | 5 +++-- package/luasql-sqlite3/luasql-sqlite3.hash | 3 ++- package/lunit/lunit.hash | 5 +++-- package/orbit/orbit.hash | 4 +++- package/rings/rings.hash | 5 +++-- package/wsapi-fcgi/wsapi-fcgi.hash | 4 +++- package/wsapi-xavante/wsapi-xavante.hash | 4 +++- package/wsapi/wsapi.hash | 4 +++- package/xavante/xavante.hash | 3 ++- 52 files changed, 123 insertions(+), 72 deletions(-)
package/argparse/argparse.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 e4029f42d61cbdde1540e0a098a24b1fed0bc8a2803efe2a0d0d3e7f2f2f2c82 argparse-0.6.0-1.src.rock +sha256 c9b9a9667934d50f028a99b2617469db66663dc3b09d289b82e73e950b2b85eb argparse/LICENSE
package/cgilua/cgilua.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 8e9ef583f8e1c5b600ebc6bb04924a61f72320130410191a9c56d7295fb02be1 cgilua-5.1.4-2.src.rock +sha256 e612df003d24aeaf6d3cc09a1e9255493c691866158b5962dc4c68fff8a56a8b cgilua-5.1.4/doc/us/license.html
package/copas/copas.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 efeded4f4633bc71551175b239199304640ef918ae8ea9dc9c5047359ae07107 copas-2.0.2-1.src.rock +sha256 3f59cccf38e9397f6fb34dcff983a24d336df982edb5b0cde549d0c32c28c9c0 copas-2_0_2/LICENSE
package/coxpcall/coxpcall.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 11feb07f08927c39b0b93e8c0bbaf15433f86155cba4820a31a09f4754ab3258 coxpcall-1.17.0-1.src.rock +sha256 11f0f03dda1a28eca658d5e3361c15fd4d048371364aacc5f6870d77a66866c8 coxpcall/doc/license.html
package/dado/dado.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 5a10ed7ff7be34ac004d10d6ea62ee8efc2b594c50ffc93e840e7fb7a2e6b4d0 dado-1.8.3-1.src.rock +sha256 141953aa7714e3145a6adfd71d6acbbe377e07ab920bc8ec4039394774da8a6e dado-1.8.3/doc/license.html
package/ljlinenoise/ljlinenoise.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 7a6c4142b0096106f498d7ee4bea5bf5086c076d1f071893441b8e5c0665fb47 ljlinenoise-0.1.3-1.src.rock +# computed by luarocks/buildroot +sha256 7a6c4142b0096106f498d7ee4bea5bf5086c076d1f071893441b8e5c0665fb47 ljlinenoise-0.1.3-1.src.rock +sha256 9b17730cb34ea591fb39688e70bd2be9c13d11b9db1c813b4ae68e3da9b7093e ljlinenoise-0.1.3/COPYRIGHT
package/lpeg/lpeg.hash +2 -2
@@ -1,2 +1,2 @@ -# Locally calculated -sha256 149be31e0155c4694f77ea7264d9b398dd134eca0d00ff03358d91a6cfb2ea9d lpeg-1.0.1-1.src.rock +# computed by luarocks/buildroot +sha256 149be31e0155c4694f77ea7264d9b398dd134eca0d00ff03358d91a6cfb2ea9d lpeg-1.0.1-1.src.rock
package/lpty/lpty.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 cf263ece9b50a78a7fb2277e3546fbbf0bf6858f41821932d92f2e3d8a065091 lpty-1.0.1-1.src.rock +# computed by luarocks/buildroot +sha256 cf263ece9b50a78a7fb2277e3546fbbf0bf6858f41821932d92f2e3d8a065091 lpty-1.0.1-1.src.rock +sha256 c5a128a73cad5f6e111ebd8f4a9fa3500562c57912972eb15627db9610d43dec lpty-1.0.1-1/doc/LICENSE
package/lrandom/lrandom.hash +3 -3
@@ -1,3 +1,3 @@ -# Locally calculated -sha256 96fbc56beb0efca20253301915e14ba25150e2b09541ea7a3570e0def624b196 lrandom-20120430.51-1.src.rock -sha256 480a6cf11caaba99290ff30cd6e854ac9dce61e38b9d9caf5498165f7fb93454 lrandom-20120430.52-1.src.rock +# computed by luarocks/buildroot +sha256 96fbc56beb0efca20253301915e14ba25150e2b09541ea7a3570e0def624b196 lrandom-20120430.51-1.src.rock +sha256 480a6cf11caaba99290ff30cd6e854ac9dce61e38b9d9caf5498165f7fb93454 lrandom-20120430.52-1.src.rock
package/lsqlite3/lsqlite3.hash +1 -1
@@ -1,2 +1,2 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 fdae3c03390ab4e4b7db3a13d09b79ffe19318739b752d17914adcdb3d2ef9ff lsqlite3-0.9.5-1.src.rock
package/lua-basexx/lua-basexx.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 ff5379b1f5b396103b8bb589ab3dd94d0a727c8e7a48dcfe1c73e2f07af6a8df basexx-0.4.0-1.src.rock +sha256 a1826a43c9e04f9e9b2e5d26d636c656812483bcd513618eec9d72cee69d446b basexx-0.4.0/LICENSE
package/lua-bit32/lua-bit32.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 fe7bc70d1e48183d95ccfb6741e70a676283075173122cb161303d77059b27a6 bit32-5.3.0-1.src.rock +# computed by luarocks/buildroot +sha256 fe7bc70d1e48183d95ccfb6741e70a676283075173122cb161303d77059b27a6 bit32-5.3.0-1.src.rock +sha256 0443ddabab14f69d4c5e2641860343784a0ccbe5ae7a3743f20de9a13991da66 lua-compat-5.2/LICENSE
package/lua-cjson/lua-cjson.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 455fa7d07d8ac9d61f68f538958f8e28972256f38b0a1c2740873daf809d1837 lua-cjson-2.1.0.6-1.src.rock +sha256 9576e82ef5013fbe80b3bd446a7d9ddd47328baa2186c31d3d885e2a9a8cd31e lua-cjson/LICENSE
package/lua-coat/lua-coat.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 24d0e894d743f46c09a282e4dd272d2a6004557608b618c1c9d9f464dd65af02 lua-coat-0.9.2-1.src.rock +# computed by luarocks/buildroot +sha256 24d0e894d743f46c09a282e4dd272d2a6004557608b618c1c9d9f464dd65af02 lua-coat-0.9.2-1.src.rock +sha256 81b5f657812ccfd63f19c9af1389b5fe6b26f079a4841c5d074940c47bf7cb1e lua-Coat-0.9.2/COPYRIGHT
package/lua-coatpersistent/lua-coatpersistent.hash +4 -3
@@ -1,3 +1,4 @@ -# Locally calculated -sha256 e718ee36a17312108f266e8412f840db150afd89e8587d36e685673fff65f142 lua-coatpersistent-lsqlite3-0.2.2-1.src.rock -sha256 5d36d6a8b413a2d56a466a45314291a0265c514a179e741b3fc95f4dd901abe6 lua-coatpersistent-luasql-0.2.2-1.src.rock +# computed by luarocks/buildroot +sha256 e718ee36a17312108f266e8412f840db150afd89e8587d36e685673fff65f142 lua-coatpersistent-lsqlite3-0.2.2-1.src.rock +sha256 5d36d6a8b413a2d56a466a45314291a0265c514a179e741b3fc95f4dd901abe6 lua-coatpersistent-luasql-0.2.2-1.src.rock +sha256 f8ed30644056ceff4315e694a1c1af4af4f08ec0adabae353ab8f3f5289ffbf3 lua-CoatPersistent-0.2.2/COPYRIGHT
package/lua-compat53/lua-compat53.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 cb5fdca362780a30405c4134310ea78627a092b0ee8445a52456f2fceeeaea4e compat53-0.7-1.src.rock +sha256 1b24f475812c979684fb3469f6faccbdc7c33c9d39421728aa0d78deda5a89a5 lua-compat-5.3-0.7/LICENSE
package/lua-csnappy/lua-csnappy.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 4fc373ba714cb8b428e9971f1725d82de6a43dfea361a0b7894e4762238dc95c lua-csnappy-0.1.5-1.src.rock +# computed by luarocks/buildroot +sha256 4fc373ba714cb8b428e9971f1725d82de6a43dfea361a0b7894e4762238dc95c lua-csnappy-0.1.5-1.src.rock +sha256 8865da757dbc6fe3c8cee4d88bdfd82c1e0e789974a4d0d52db75a985025c1f0 lua-csnappy-0.1.5/COPYRIGHT
package/lua-curl/lua-curl.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 ab07d40dad98bbd025b02e3bde397d582fae2b41451d748925120e3aa9192043 lua-curl-0.3.8-2.src.rock +sha256 264807cb89f960808fed1ef9922aed9d9f8437764e836d8e594e66db7be9c54c Lua-cURLv3-0.3.8/LICENSE
package/lua-datafile/lua-datafile.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 4f7d58c50267b5ebd2145e52aaa5fb63fbf63a74ae765f08e2d0dddd570b6b6a datafile-0.6-1.src.rock +sha256 0443ddabab14f69d4c5e2641860343784a0ccbe5ae7a3743f20de9a13991da66 datafile/LICENSE
package/lua-fifo/lua-fifo.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 53dea24ad658614a0254dcb10296a1a0fc5357315ada5724d6362f54c32b4c20 fifo-0.2-0.src.rock +sha256 8b4423dd4f55a69da1454b7a48346a54fd5b6e0408b38fde25cd29c0922962b6 fifo.lua-0.2/LICENSE
package/lua-flu/lua-flu.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 1389c22daec77161ec93ff90c39ee70e0f8a656ff92f22f9cf5d7121999d5c53 flu-20150331-1.src.rock +# computed by luarocks/buildroot +sha256 1389c22daec77161ec93ff90c39ee70e0f8a656ff92f22f9cf5d7121999d5c53 flu-20150331-1.src.rock +sha256 409f7c274eb26874a382241d675a360ba6b2659742c5941e680d71a41dd35913 doub-flu-a7daae986339/doc/LICENSE.txt
package/lua-http/lua-http.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 d68591eeeeb60c4187469eae89f5bad02d753a8c0adaa460d453b0734222645a http-0.2-0.src.rock +sha256 10650e71ba335c76955bbbec2b1f5b9d5655f2e0fdc6c7cecae5bd28a376302c lua-http-0.2/LICENSE.md
package/lua-iconv/lua-iconv.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 fb66e785e15376c2d2817f1f1b27d10272b877eacc998c727a10f081a7d768fa lua-iconv-7-1.src.rock +# computed by luarocks/buildroot +sha256 fb66e785e15376c2d2817f1f1b27d10272b877eacc998c727a10f081a7d768fa lua-iconv-7-1.src.rock +sha256 30227b9571827f3dfcdeb3830594fc415459d64ad7271e9954178d3ef58a9bd4 lua-iconv-7/COPYING
package/lua-lpeg-patterns/lua-lpeg-patterns.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 0e6d33543689e83911e2cb47965752e00412cbdfca888812ccbde9ec95259c56 lpeg_patterns-0.5-0.src.rock +sha256 5b0346f2b2432e5f05e8e4ad31503cf84ddf802dacde9e8c3e529efaa4be3348 lpeg_patterns-0.5/LICENSE.md
package/lua-markdown/lua-markdown.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 bed84231bb48322f8e614b4392181c52c36bc71340f9273e0c3bd72dc922bc07 markdown-0.33-1.src.rock +sha256 c13c5634db49d16c87f164ce0b79fb7e1b313c8b66818ebf1c970747a429b39b markdown/LICENSE
package/lua-messagepack/lua-messagepack.hash +2 -1
@@ -1,3 +1,4 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 a27d985b8bdb79ebe78dfe255c795e839a04eb2fed1c610a81c7876e3f72fd97 lua-messagepack-0.5.1-1.src.rock sha256 b7f69ada6aed7e0cdfd690291607d8f41246e67f191107ecdc0a1e592c449abe lua-messagepack-lua53-0.5.1-1.src.rock +sha256 e409ff1f089c1cd36840349fd790a6ffce5a31f16d30c108ce94aaa3b128dcea lua-MessagePack-0.5.1/COPYRIGHT
package/lua-periphery/lua-periphery.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally computed +# computed by luarocks/buildroot sha256 ff8a4d08f02356586fadfe47f01859ba28539cc42013836f79a032bf4ccc78b3 lua-periphery-1.1.1-1.src.rock +sha256 7c60847b46f718e9651d1eca2f56bf6be09608cf08d130446a521eb8288c98e1 lua-periphery/LICENSE
package/lua-resty-http/lua-resty-http.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 4628413a5a2828645e3ddb38a2a0c764e81443cbd1a011357eeed7e983750329 lua-resty-http-0.12-0.src.rock +sha256 407e4b1412d8afa317dc703a1d318866c3de87d78899402125cbd90548c6057d lua-resty-http/LICENSE
package/lua-sailor/lua-sailor.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 4f7f43a7cf6c62712a521ebaf5f53aaf230039c7fb06480ae168c3aa036120bf sailor-0.5-4.src.rock +sha256 3a19bc44e1a653b39bcb1b91cc8058ac6b1cd1caf7e6cef93517fd559b189065 sailor/LICENSE
package/lua-stdlib/lua-stdlib.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 67eadaccbb2b6037ea70129f9616da49eaeeaf1477652a8e2cc77740286531cf stdlib-41.2.2-1.src.rock +sha256 d3177e0cd97e6ef7c459aa2c6a85f53d9b4ff091f7f296d4ed8bfaf713b6fea2 lua-stdlib-release-v41.2.2/COPYING
package/lua-testmore/lua-testmore.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 163055ef92df9e01d9ae57cd45d6f6aace1ff4dd3abf7e29b9e30ecb1ab76ae2 lua-testmore-0.3.3-1.src.rock +# computed by luarocks/buildroot +sha256 163055ef92df9e01d9ae57cd45d6f6aace1ff4dd3abf7e29b9e30ecb1ab76ae2 lua-testmore-0.3.3-1.src.rock +sha256 0fa63370a149eda33e25987dd63bd096a616a3e47d2cfc45ca2fd66e8d2bfb35 lua-TestMore-0.3.3/COPYRIGHT
package/lua-utf8/lua-utf8.hash +1 -1
@@ -1,2 +1,2 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 c9ceb3a9f327b3215cdf959eebf616970b5b0427ca3fde05b19f8236defa4b91 utf8-1.2-0.src.rock
package/lua-valua/lua-valua.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 bff39692fd2ac3590fd814aa1b1ca33e5d5971092955309aa8424b02b88ce1a3 valua-0.3-1.src.rock +sha256 3444c2e739c88e41e327c6cd15e4a50fea8988570642bad6e6a43d50a7f7961f valua/LICENSE
package/luabitop/luabitop.hash +2 -2
@@ -1,2 +1,2 @@ -# Locally calculated -sha256 fc7a8065a57462ee13bed7f95b0ab13f94ecd1bf846108c61ccf2c75548af26e luabitop-1.0.2-1.src.rock +# computed by luarocks/buildroot +sha256 fc7a8065a57462ee13bed7f95b0ab13f94ecd1bf846108c61ccf2c75548af26e luabitop-1.0.2-1.src.rock
package/luacrypto/luacrypto.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 dc935c923b8851208d5d504b343448a9d5bd3e537bb8657875f12d72155600b8 luacrypto-0.3.2-1.src.rock +# computed by luarocks/buildroot +sha256 dc935c923b8851208d5d504b343448a9d5bd3e537bb8657875f12d72155600b8 luacrypto-0.3.2-1.src.rock +sha256 f97651bcb248dff32f121ef7a904617b9252d80f4b911e4476806c512a268fa9 luacrypto-0.3.2/COPYING
package/luadbi-sqlite3/luadbi-sqlite3.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 2868dad4d189368fcf5cddd191965c8cb2efaa3a3ba83d50e6a88c30353f74ce luadbi-sqlite3-0.6-2.src.rock +sha256 988d73cc2e56f972e8177091e084855fc2904d0fafcfe5c4e02864f25ce2b928 luadbi/COPYING
package/luadbi/luadbi.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 723f63b744b7367ddfd6bbf7a7e6f6867aa1eaabbbc2bab5dc8a90e80b0c34c2 luadbi-0.6-2.src.rock +sha256 988d73cc2e56f972e8177091e084855fc2904d0fafcfe5c4e02864f25ce2b928 luadbi/COPYING
package/luaexpat/luaexpat.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a luaexpat-1.3.3-1.src.rock +sha256 7f5cb0c1750babcbb09637b7f0ff34972d51cf23b7f413bef902b47aa65febcd luaexpat-1.3.3/LICENSE
package/luafilesystem/luafilesystem.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 65e6d437e577a1d6cd509b6cd224d2cb9501d58d32a72cafbd4fd3f911681576 luafilesystem-1.7.0-2.src.rock +sha256 beb2c9eed6466d572c3888028a77421206053a3c023429cbd69e5015badba842 luafilesystem/LICENSE
package/luajson/luajson.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 28a5928cf2e4fd79fa9a9aceaef5ebf1dccb1146489b7de4c2726f561700f01c luajson-1.3.4-1.src.rock +sha256 87565fca189b70f2e119b2a99e5e92a7aaab9f2eb05228b56b88e6c2e2f98bcd luajson/LICENSE
package/lualogging/lualogging.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 6ca3827c4903814626b96011e17ad99b42ecfa983b605aa75bf58f17e90ed58d lualogging-1.3.0-1.src.rock +# computed by luarocks/buildroot +sha256 6ca3827c4903814626b96011e17ad99b42ecfa983b605aa75bf58f17e90ed58d lualogging-1.3.0-1.src.rock +sha256 4e86086c032a006ce1289565cc9d9afff26b5117891cd26ffa15aa866bd28ee5 lualogging/COPYRIGHT
package/luaossl/luaossl.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 b0af04a5ad83c12badaf0e988dbeddc98ad6d2cd9fc06baaf0c801290ae1a5bd luaossl-20181207-0.src.rock +sha256 7c397b120b8356805c17ba10fdea13d4319b1ee244703813d0de4cbb22720c74 luaossl-rel-20181207/LICENSE
package/luasec/luasec.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 383e183ba712f00b2fcbf60187177432ccde724a23ac6186075ceae620cf0b0a luasec-0.7-1.src.rock +# computed by luarocks/buildroot +sha256 383e183ba712f00b2fcbf60187177432ccde724a23ac6186075ceae620cf0b0a luasec-0.7-1.src.rock +sha256 b310a4c5a9927a43123e3ffcfaa5f5921b545b64d38ea55c7faf2a837547a200 luasec-luasec-0.7/LICENSE
package/luasocket/luasocket.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 453fc1d0e9b6a44bbada4290d565f840a5e96ba2d1b47562ba38bd9c7e82195a luasocket-3.0rc1-1.src.rock +# computed by luarocks/buildroot +sha256 453fc1d0e9b6a44bbada4290d565f840a5e96ba2d1b47562ba38bd9c7e82195a luasocket-3.0rc1-1.src.rock +sha256 8e8c6314d9e78fe452ee355167f2c40cfbee8207e14dcb5ddd4a2655cb5c6aad luasocket-3.0-rc1/LICENSE
package/luasql-sqlite3/luasql-sqlite3.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 502faabc5e06c1d7c1ddb9a0550eb19220020c86b9f1e26a2cc2001e1343b35d luasql-sqlite3-2.4.0-1.src.rock +sha256 c8bb3a3947379addb89412e578d0aae95ca37dc6e48a17e128f40e512d10b025 luasql/doc/us/license.html
package/lunit/lunit.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 b19854c685337ddcec2fe9c22113d2cd14715d52ccd2676abe2fa49b61a2ec4d lunit-0.5-2.src.rock +# computed by luarocks/buildroot +sha256 b19854c685337ddcec2fe9c22113d2cd14715d52ccd2676abe2fa49b61a2ec4d lunit-0.5-2.src.rock +sha256 316317e9e9b7eac811e1be56738e2434fb4a0c39ecd660f3b34dad739bfb3707 lunit-0.5/LICENSE
package/orbit/orbit.hash +3 -1
@@ -1,2 +1,4 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 91e3c514d5b86918db83666c8889635bb2d50c71d1ab3aeb69c6469c9424089b orbit-2.2.4-1.src.rock +sha256 dd7d37caed0f4ee994e9e64ea4ab292dce549bb609412c84fc47ed079275ae98 orbit/doc/us/license.html +sha256 140134369c1f041abf7d8cd39a5b0c42f8b5e827695ce7c1ef5ca8f0911a0246 orbit/doc/us/license.md
package/rings/rings.hash +3 -2
@@ -1,2 +1,3 @@ -# Locally calculated -sha256 627ac55d4a420fab766e6870fcd82cb39da12fb4ec8efddc7220b188a4ad4bc3 rings-1.3.0-1.src.rock +# computed by luarocks/buildroot +sha256 627ac55d4a420fab766e6870fcd82cb39da12fb4ec8efddc7220b188a4ad4bc3 rings-1.3.0-1.src.rock +sha256 f582a0c43737391070827ef273df0145b594b095ad2f49595701368b729e024f rings-v_1_3_0/doc/us/license.html
package/wsapi-fcgi/wsapi-fcgi.hash +3 -1
@@ -1,2 +1,4 @@ -# locally computed hash +# computed by luarocks/buildroot sha256 14b77861638a5e863fd10d60ad460a961dc108ea5b915f71461a18d5e6be8e4e wsapi-fcgi-1.7-1.src.rock +sha256 6aa14e3febf7a9e810ce672b015f5a5514241ce5d1c3a6a48f921f089d270159 wsapi/doc/us/license.html +sha256 c7bf3061d00a96d10cb9dbc3a737d0af22594e2ef8f788842d7ab92eeaa864f2 wsapi/doc/us/license.md
package/wsapi-xavante/wsapi-xavante.hash +3 -1
@@ -1,2 +1,4 @@ -# locally computed hash +# computed by luarocks/buildroot sha256 01211bb80dab92f87cece6e31854d73ae4a2ce06af7c48423a54313d72adf9fb wsapi-xavante-1.7-1.src.rock +sha256 6aa14e3febf7a9e810ce672b015f5a5514241ce5d1c3a6a48f921f089d270159 wsapi/doc/us/license.html +sha256 c7bf3061d00a96d10cb9dbc3a737d0af22594e2ef8f788842d7ab92eeaa864f2 wsapi/doc/us/license.md
package/wsapi/wsapi.hash +3 -1
@@ -1,2 +1,4 @@ -# locally computed hash +# computed by luarocks/buildroot sha256 1a0829dffd6bdbf99f5c4278d504cda5ede9344d5089bdcf5216c9eb2999ae22 wsapi-1.7-1.src.rock +sha256 6aa14e3febf7a9e810ce672b015f5a5514241ce5d1c3a6a48f921f089d270159 wsapi/doc/us/license.html +sha256 c7bf3061d00a96d10cb9dbc3a737d0af22594e2ef8f788842d7ab92eeaa864f2 wsapi/doc/us/license.md
package/xavante/xavante.hash +2 -1
@@ -1,2 +1,3 @@ -# Locally calculated +# computed by luarocks/buildroot sha256 67c738f981e7d65d18c717f3acac59a37f95d5139c00fb0de5d3167262025273 xavante-2.4.0-1.src.rock +sha256 57b2c50f08bf500c969fe13500f217adb36582e4d8e75c9e2ed04191cb4a045c xavante-2.4.0/doc/us/license.html
Signature · 1 line
2.17.1
PATCH v3 1/1 pkg-luarocks: add per package upgrade target
In reply to Francois Perrad--- package/pkg-luarocks.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/pkg-luarocks.mk +6 -0
@@ -72,6 +72,12 @@ endif # make targets $(call inner-generic-package,$(1),$(2),$(3),$(4)) +# Upgrade helper +$(1)-upgrade: host-luarocks + $$(LUAROCKS_RUN_CMD) buildroot $$($(2)_NAME_UPSTREAM) $(1) + +.PHONY: $(1)-upgrade + endef ################################################################################
Signature · 1 line
2.17.1
PATCH v3 1/1 luarocks addon
In reply to Francois PerradHello,
Quoted 6 lines · Francois Perrad
Francois Perrad (5):
luarocks: add buildroot addon
lua*: regeneration of *.mk files
lua*: regeneration of Config.in
lua*: regeneration of hash files
pkg-luarocks: add per package upgrade target
I have applied this series, after improving a bit the commit titles and commit logs and the wording of the change in the Buildroot manual.
Also, in the regeneration of the Config.in files, there were two lines that got removed that I found should be kept, I'll reply to that patch specifically.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com