* [Buildroot] [PATCH v3] luarocks addon
@ 2018-12-19 8:17 Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] luarocks: add buildroot addon Francois Perrad
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
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
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] luarocks: add buildroot addon
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
@ 2018-12-19 8:17 ` Francois Perrad
2018-12-31 17:06 ` Thomas Petazzoni
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of *.mk files Francois Perrad
` (4 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
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
diff --git a/docs/manual/adding-packages-luarocks.txt b/docs/manual/adding-packages-luarocks.txt
index ec3d4e7cc..b35a33206 100644
--- a/docs/manual/adding-packages-luarocks.txt
+++ b/docs/manual/adding-packages-luarocks.txt
@@ -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
diff --git a/package/luarocks/0002-Buildroot-addon.patch b/package/luarocks/0002-Buildroot-addon.patch
new file mode 100644
index 000000000..c333c3965
--- /dev/null
+++ b/package/luarocks/0002-Buildroot-addon.patch
@@ -0,0 +1,358 @@
+From c250ac86b8633a2d53c4d10a642f2304e2b2d148 Mon Sep 17 00:00:00 2001
+From: Francois Perrad <francois.perrad@gadz.org>
+Date: Sat, 27 Oct 2018 17:15:50 +0200
+Subject: [PATCH 2/2] Buildroot addon
+
+---
+ src/bin/luarocks | 1 +
+ src/luarocks/addon/buildroot.lua | 326 +++++++++++++++++++++++++++++++
+ 2 files changed, 327 insertions(+)
+ create mode 100644 src/luarocks/addon/buildroot.lua
+
+diff --git a/src/bin/luarocks b/src/bin/luarocks
+index d982530..53c7b0b 100755
+--- a/src/bin/luarocks
++++ b/src/bin/luarocks
+@@ -31,6 +31,7 @@ local commands = {
+ config = "luarocks.cmd.config",
+ which = "luarocks.cmd.which",
+ test = "luarocks.cmd.test",
++ buildroot = "luarocks.addon.buildroot",
+ }
+
+ cmd.run_command(description, commands, "luarocks.cmd.external", ...)
+diff --git a/src/luarocks/addon/buildroot.lua b/src/luarocks/addon/buildroot.lua
+new file mode 100644
+index 0000000..606b94c
+--- /dev/null
++++ b/src/luarocks/addon/buildroot.lua
+@@ -0,0 +1,326 @@
++
++--- Module implementing the LuaRocks "buildroot" command.
++local buildroot = {}
++
++local dir = require("luarocks.dir")
++local fs = require("luarocks.fs")
++local util = require("luarocks.util")
++local queries = require("luarocks.queries")
++local search = require("luarocks.search")
++local download = require("luarocks.download")
++local fetch = require("luarocks.fetch")
++
++buildroot.help_summary = "generate buildroot package files of a rock."
++buildroot.help_arguments = "rockname [brname]"
++buildroot.help = [[
++This addon generates Buildroot package files of a rock.
++First argument is the name of a rock, the second argument is optional
++and needed when Buildroot uses another name (usually prefixed by lua-).
++Files are generated with the source content of the rock and more
++especially the rockspec. So, the rock is downloaded and unpacked.
++]]
++
++local function brname (name)
++ return name:upper():gsub('-', '_')
++end
++
++local function brlicense (license)
++ if license:match('MIT/X') then
++ return 'MIT'
++ end
++ return license
++end
++
++local function wrap (txt, max)
++ local lines = {}
++ local line = ''
++ for word in txt:gmatch('(%S+)') do
++ if line:len() + word:len() > max - 1 then
++ lines[#lines+1] = line
++ line = ''
++ end
++ if line == '' then
++ line = word
++ else
++ line = line .. ' ' .. word
++ end
++ end
++ lines[#lines+1] = line
++ return lines
++end
++
++local function get_external_dependencies (rockspec)
++ local t = {}
++ for k in pairs(rockspec.external_dependencies or {}) do
++ k = k:lower()
++ if fs.is_dir('package/' .. k) then
++ t[#t+1] = k
++ else
++ t[#t+1] = 'lib' .. k
++ if not fs.is_dir('package/lib' .. k) then
++ util.printout('unkwown external dependency: ' .. k)
++ end
++ end
++ end
++ table.sort(t)
++ return t
++end
++
++local function get_dependencies (rockspec)
++ local t = {}
++ for i = 1, #rockspec.dependencies do
++ local dep = tostring(rockspec.dependencies[i]):match('^(%S+)')
++ if dep ~= 'lua' then
++ dep = dep:gsub('_', '-')
++ if fs.is_dir('package/lua-' .. dep) then
++ t[#t+1] = 'lua-' .. dep
++ else
++ t[#t+1] = dep
++ if not fs.is_dir('package/' .. dep) then
++ util.printout('unkwown dependency: ' .. dep)
++ end
++ end
++ end
++ end
++ table.sort(t)
++ return t
++end
++
++function get_digest (file)
++ local absname = fs.absolute_name(file)
++ local pipe = io.popen('sha256sum ' .. fs.Q(absname))
++ local line = pipe:read('*l')
++ pipe:close()
++ local computed = line and line:match('(' .. ('%x'):rep(64) .. ')')
++ if computed then
++ return computed
++ else
++ return nil, "Failed to compute SHA256 hash for file " .. absname
++ end
++end
++
++local function generate_config (rockspec, lcname)
++ local ucname = brname(lcname)
++ local only_luajit = rockspec.package:match('^lj')
++ local summary = rockspec.description.summary
++ if not summary then
++ summary = '???'
++ elseif not summary:match('%.%s*$') then
++ summary = summary:gsub('%s*$', '.')
++ end
++ local homepage = rockspec.description.homepage or '???'
++ local external_dependencies = get_external_dependencies(rockspec)
++ local dependencies = get_dependencies(rockspec)
++ local fname = 'package/' .. lcname .. '/Config.in'
++ local f = assert(io.open(fname, 'w'))
++ util.printout('write ' .. fname)
++ f:write('config BR2_PACKAGE_' .. ucname .. '\n')
++ f:write('\tbool "' .. lcname .. '"\n')
++ if only_luajit then
++ f:write('\tdepends on BR2_PACKAGE_LUAJIT\n')
++ end
++ for i = 1, #external_dependencies do
++ f:write('\tselect BR2_PACKAGE_' .. brname(external_dependencies[i]) .. '\n')
++ end
++ for i = 1, #dependencies do
++ f:write('\tselect BR2_PACKAGE_' .. brname(dependencies[i]) .. ' # runtime\n')
++ end
++ f:write('\thelp\n')
++ f:write('\t ' .. table.concat(wrap(summary, 62), '\n\t ') .. '\n')
++ f:write('\n\t ' .. homepage .. '\n')
++ if only_luajit then
++ f:write('\ncomment "' .. lcname .. ' needs LuaJIT"\n')
++ f:write('\tdepends on !BR2_PACKAGE_LUAJIT\n')
++ end
++ f:close()
++end
++
++local function generate_mk (rockspec, lcname, licenses)
++ local function escape (s)
++ return s:gsub('-', '%%-'):gsub('%.', '%%.')
++ end
++
++ local ucname = brname(lcname)
++ local need_name_upstream = false
++ local need_version_upstream = false
++ local name_upstream = rockspec.package
++ local version = rockspec.version
++ local version_upstream = version:match('^([^-]+)-')
++ local revision = version:match('-(%d+)$')
++ local license = rockspec.description.license
++ local subdir = rockspec.source.dir
++ if subdir then
++ local root = subdir:match('^(.-)-' .. escape(version) .. '$')
++ if root then
++ subdir = root .. '-$(' .. ucname .. '_VERSION)'
++ end
++ root = subdir:match('^(.--[Vv])' .. escape(version_upstream) .. '$')
++ if root then
++ need_version_upstream = true
++ subdir = root .. '$(' .. ucname .. '_VERSION_UPSTREAM)'
++ end
++ root = subdir:match('^(.-)-' .. escape(version_upstream) .. '$')
++ if root then
++ if root == lcname then
++ subdir = nil
++ elseif root == name_upstream then
++ subdir = nil
++ need_name_upstream = true
++ else
++ need_version_upstream = true
++ subdir = root .. '-$(' .. ucname .. '_VERSION_UPSTREAM)'
++ end
++ end
++ end
++ local external_dependencies = get_external_dependencies(rockspec)
++ local fname = 'package/' .. lcname .. '/' .. lcname .. '.mk'
++ local f = assert(io.open(fname, 'w'))
++ util.printout('write ' .. fname)
++ f:write('################################################################################\n')
++ f:write('#\n')
++ f:write('# ' .. lcname .. '\n')
++ f:write('#\n')
++ f:write('################################################################################\n')
++ f:write('\n')
++ if need_version_upstream then
++ f:write(ucname .. '_VERSION_UPSTREAM = ' .. version_upstream .. '\n')
++ f:write(ucname .. '_VERSION = $(' .. ucname .. '_VERSION_UPSTREAM)-' .. revision .. '\n')
++ else
++ f:write(ucname .. '_VERSION = ' .. version .. '\n')
++ end
++ if lcname ~= name_upstream:lower() or need_name_upstream then
++ f:write(ucname .. '_NAME_UPSTREAM = ' .. name_upstream .. '\n')
++ end
++ if subdir then
++ f:write(ucname .. '_SUBDIR = ' .. subdir .. '\n')
++ end
++ if license then
++ f:write(ucname .. '_LICENSE = ' .. brlicense(license) .. '\n')
++ end
++ 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)
++ end
++ f:write('\n')
++ end
++ if #external_dependencies > 0 then
++ f:write(ucname .. '_DEPENDENCIES = ' .. table.concat(external_dependencies, ' ') .. '\n')
++ end
++ f:write('\n$(eval $(luarocks-package))\n')
++ f:close()
++end
++
++local function generate_hash (rockspec, lcname, rock_file, licenses, digest)
++ local subdir = rockspec.source.dir
++ local fname = 'package/' .. lcname .. '/' .. lcname .. '.hash'
++ local f = assert(io.open(fname, 'w'))
++ util.printout('write ' .. fname)
++ f:write('# computed by luarocks/buildroot\n')
++ f:write('sha256 ' .. digest[rock_file] .. ' ' .. rock_file .. '\n')
++ for i = 1, #licenses do
++ local file = licenses[i]
++ f:write('sha256 ' .. digest[file] .. ' ' .. subdir .. '/' .. file .. '\n')
++ end
++ f:close()
++end
++
++--- Driver function for the "buildroot" command.
++-- @param rockname string: the name of a rock to be fetched and unpacked.
++-- @param brname string: the name used by Buildroot (optional)
++-- @return boolean: true if successful
++function buildroot.command(flags, rockname, fsname)
++ if type(rockname) ~= 'string' then
++ return nil, "Argument missing. "..util.see_help('buildroot')
++ end
++ fsname = fsname or rockname
++ assert(type(fsname) == 'string')
++
++ local query = queries.new(rockname:lower(), nil, false, 'src')
++ local url, err = search.find_suitable_rock(query)
++ if not url then
++ return nil, "Could not find a result named " .. tostring(query) .. ": " .. err
++ end
++ local rock_file = dir.base_name(url)
++
++ local temp_dir, err = fs.make_temp_dir(rockname)
++ if not temp_dir then
++ return nil, "Failed creating temporary dir: " .. err
++ end
++ local ok, err = fs.change_dir(temp_dir)
++ if not ok then return nil, err end
++
++ ok = fs.download(url, rock_file, true)
++ if not ok then
++ return nil, "Failed downloading " .. url
++ end
++
++ local digest = {}
++ digest[rock_file], err = get_digest(rock_file)
++ if not digest[rock_file] then return nil, err end
++ ok, err = fs.unzip(rock_file)
++ if not ok then return nil, err end
++
++ local rockspec_file = rock_file:gsub('%.src%.rock$', '.rockspec')
++ local rockspec, err = fetch.load_rockspec(rockspec_file)
++ if not rockspec then
++ return nil, "Error loading rockspec: " .. err
++ end
++ if rockspec.source.file then
++ ok, err = fs.unpack_archive(rockspec.source.file)
++ if not ok then return nil, err end
++ end
++
++ if rockspec.source.dir ~= '.' then
++ fs.copy(rockspec.local_abs_filename, rockspec.source.dir, 'read')
++ end
++
++ local build_type = rockspec.build.type
++ if build_type ~= 'none' and build_type ~= 'builtin' and build_type ~= 'module' then
++ util.printout('[' .. rockspec.package .. "] build_type '" .. build_type .. "' not supported")
++ end
++
++ local licenses = {}
++ ok, err = fs.change_dir(rockspec.source.dir)
++ if not ok then return nil, err end
++ local files = fs.find()
++ for i = 1, #files do
++ local v = files[i]
++ if v == 'COPYING'
++ or v == 'COPYRIGHT'
++ or v:match('^LICENSE') then
++ licenses[#licenses+1] = v
++ digest[v], err = get_digest(v)
++ if not digest[v] then return nil, err end
++ end
++ end
++ if #licenses == 0 then
++ for i = 1, #files do
++ local v = files[i]
++ if v:match('^doc/LICENSE')
++ or v:match('^doc/license')
++ or v:match('^doc/us/license') then
++ licenses[#licenses+1] = v
++ digest[v], err = get_digest(v)
++ if not digest[v] then return nil, err end
++ end
++ end
++ end
++ fs.pop_dir()
++ table.sort(licenses)
++
++ fs.pop_dir()
++ ok, err = fs.make_dir('package/' .. fsname:lower())
++ if not ok then return nil, err end
++
++ generate_config(rockspec, fsname:lower())
++ generate_mk(rockspec, fsname:lower(), licenses)
++ generate_hash(rockspec, fsname:lower(), rock_file, licenses, digest)
++
++ return true
++end
++
++return buildroot
+--
+2.17.1
+
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] lua*: regeneration of *.mk files
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] luarocks: add buildroot addon Francois Perrad
@ 2018-12-19 8:17 ` Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of Config.in Francois Perrad
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
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(-)
diff --git a/package/argparse/argparse.mk b/package/argparse/argparse.mk
index 2b0094ddb..04c46b527 100644
--- a/package/argparse/argparse.mk
+++ b/package/argparse/argparse.mk
@@ -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
diff --git a/package/copas/copas.mk b/package/copas/copas.mk
index 988692c4a..5b7ba9997 100644
--- a/package/copas/copas.mk
+++ b/package/copas/copas.mk
@@ -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))
diff --git a/package/lsqlite3/lsqlite3.mk b/package/lsqlite3/lsqlite3.mk
index f5b91815f..bbf6a1db1 100644
--- a/package/lsqlite3/lsqlite3.mk
+++ b/package/lsqlite3/lsqlite3.mk
@@ -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))
diff --git a/package/lua-basexx/lua-basexx.mk b/package/lua-basexx/lua-basexx.mk
index bfdc1e27b..5aa5ecf21 100644
--- a/package/lua-basexx/lua-basexx.mk
+++ b/package/lua-basexx/lua-basexx.mk
@@ -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
diff --git a/package/lua-fifo/lua-fifo.mk b/package/lua-fifo/lua-fifo.mk
index 875b89577..8b15fc1fc 100644
--- a/package/lua-fifo/lua-fifo.mk
+++ b/package/lua-fifo/lua-fifo.mk
@@ -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
diff --git a/package/lua-flu/lua-flu.mk b/package/lua-flu/lua-flu.mk
index 7cfea8e6d..c01a4848c 100644
--- a/package/lua-flu/lua-flu.mk
+++ b/package/lua-flu/lua-flu.mk
@@ -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
diff --git a/package/lua-iconv/lua-iconv.mk b/package/lua-iconv/lua-iconv.mk
index dd7533af5..ea8e0dd8b 100644
--- a/package/lua-iconv/lua-iconv.mk
+++ b/package/lua-iconv/lua-iconv.mk
@@ -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))
diff --git a/package/lua-markdown/lua-markdown.mk b/package/lua-markdown/lua-markdown.mk
index a98f3125a..d35f8be83 100644
--- a/package/lua-markdown/lua-markdown.mk
+++ b/package/lua-markdown/lua-markdown.mk
@@ -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
diff --git a/package/lua-sailor/lua-sailor.mk b/package/lua-sailor/lua-sailor.mk
index 17fbd7c61..f88e03591 100644
--- a/package/lua-sailor/lua-sailor.mk
+++ b/package/lua-sailor/lua-sailor.mk
@@ -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
diff --git a/package/luadbi-sqlite3/luadbi-sqlite3.mk b/package/luadbi-sqlite3/luadbi-sqlite3.mk
index 422fa1e31..44cf4d107 100644
--- a/package/luadbi-sqlite3/luadbi-sqlite3.mk
+++ b/package/luadbi-sqlite3/luadbi-sqlite3.mk
@@ -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
diff --git a/package/luadbi/luadbi.mk b/package/luadbi/luadbi.mk
index 268e0e628..969c01ee2 100644
--- a/package/luadbi/luadbi.mk
+++ b/package/luadbi/luadbi.mk
@@ -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))
diff --git a/package/luaexpat/luaexpat.mk b/package/luaexpat/luaexpat.mk
index 2b715bc0a..8c86b24f2 100644
--- a/package/luaexpat/luaexpat.mk
+++ b/package/luaexpat/luaexpat.mk
@@ -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))
diff --git a/package/luafilesystem/luafilesystem.mk b/package/luafilesystem/luafilesystem.mk
index bde04267c..37f265e2b 100644
--- a/package/luafilesystem/luafilesystem.mk
+++ b/package/luafilesystem/luafilesystem.mk
@@ -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))
diff --git a/package/orbit/orbit.mk b/package/orbit/orbit.mk
index 3329439db..77549a28c 100644
--- a/package/orbit/orbit.mk
+++ b/package/orbit/orbit.mk
@@ -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))
diff --git a/package/wsapi-fcgi/wsapi-fcgi.mk b/package/wsapi-fcgi/wsapi-fcgi.mk
index 946f137dc..d94721e4e 100644
--- a/package/wsapi-fcgi/wsapi-fcgi.mk
+++ b/package/wsapi-fcgi/wsapi-fcgi.mk
@@ -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))
diff --git a/package/wsapi-xavante/wsapi-xavante.mk b/package/wsapi-xavante/wsapi-xavante.mk
index cdf160bba..46aa10651 100644
--- a/package/wsapi-xavante/wsapi-xavante.mk
+++ b/package/wsapi-xavante/wsapi-xavante.mk
@@ -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))
diff --git a/package/wsapi/wsapi.mk b/package/wsapi/wsapi.mk
index 76d2d88fe..ad62a05f5 100644
--- a/package/wsapi/wsapi.mk
+++ b/package/wsapi/wsapi.mk
@@ -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))
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] lua*: regeneration of Config.in
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] luarocks: add buildroot addon Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of *.mk files Francois Perrad
@ 2018-12-19 8:17 ` Francois Perrad
2018-12-31 16:58 ` Thomas Petazzoni
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of hash files Francois Perrad
` (2 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
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(-)
diff --git a/package/cgilua/Config.in b/package/cgilua/Config.in
index d1e7fbf0e..a6761313e 100644
--- a/package/cgilua/Config.in
+++ b/package/cgilua/Config.in
@@ -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.
diff --git a/package/copas/Config.in b/package/copas/Config.in
index d7800b6dd..f4e05ea21 100644
--- a/package/copas/Config.in
+++ b/package/copas/Config.in
@@ -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/
diff --git a/package/ljlinenoise/Config.in b/package/ljlinenoise/Config.in
index e6b587e65..26e79e23b 100644
--- a/package/ljlinenoise/Config.in
+++ b/package/ljlinenoise/Config.in
@@ -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.
diff --git a/package/ljsyscall/Config.in b/package/ljsyscall/Config.in
index 3af9dabe9..601d0b122 100644
--- a/package/ljsyscall/Config.in
+++ b/package/ljsyscall/Config.in
@@ -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
diff --git a/package/lpeg/Config.in b/package/lpeg/Config.in
index 957991d41..0a7ea47df 100644
--- a/package/lpeg/Config.in
+++ b/package/lpeg/Config.in
@@ -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
diff --git a/package/lpty/Config.in b/package/lpty/Config.in
index 50cbd2548..ee2d4c20b 100644
--- a/package/lpty/Config.in
+++ b/package/lpty/Config.in
@@ -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.
diff --git a/package/lrandom/Config.in b/package/lrandom/Config.in
index 64bcf0ce0..a8a0a837a 100644
--- a/package/lrandom/Config.in
+++ b/package/lrandom/Config.in
@@ -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
diff --git a/package/lsqlite3/Config.in b/package/lsqlite3/Config.in
index 223fb59c9..932657e58 100644
--- a/package/lsqlite3/Config.in
+++ b/package/lsqlite3/Config.in
@@ -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/
diff --git a/package/lua-cjson/Config.in b/package/lua-cjson/Config.in
index 262452a82..9474b3176 100644
--- a/package/lua-cjson/Config.in
+++ b/package/lua-cjson/Config.in
@@ -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:
diff --git a/package/lua-coat/Config.in b/package/lua-coat/Config.in
index fa7aed90a..f34f6b97e 100644
--- a/package/lua-coat/Config.in
+++ b/package/lua-coat/Config.in
@@ -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/
diff --git a/package/lua-coatpersistent/Config.in b/package/lua-coatpersistent/Config.in
index 049a0bc2a..4e8e64329 100644
--- a/package/lua-coatpersistent/Config.in
+++ b/package/lua-coatpersistent/Config.in
@@ -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.
diff --git a/package/lua-compat53/Config.in b/package/lua-compat53/Config.in
index 7ab3d740f..76c5b3fd7 100644
--- a/package/lua-compat53/Config.in
+++ b/package/lua-compat53/Config.in
@@ -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
diff --git a/package/lua-http/Config.in b/package/lua-http/Config.in
index 247cc4031..8aaec69ef 100644
--- a/package/lua-http/Config.in
+++ b/package/lua-http/Config.in
@@ -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/
diff --git a/package/lua-lpeg-patterns/Config.in b/package/lua-lpeg-patterns/Config.in
index 9c701d3de..08c063a0c 100644
--- a/package/lua-lpeg-patterns/Config.in
+++ b/package/lua-lpeg-patterns/Config.in
@@ -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.
diff --git a/package/lua-periphery/Config.in b/package/lua-periphery/Config.in
index de5a71633..e40abd712 100644
--- a/package/lua-periphery/Config.in
+++ b/package/lua-periphery/Config.in
@@ -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.
diff --git a/package/lua-sailor/Config.in b/package/lua-sailor/Config.in
index 2600d4600..c973c8767 100644
--- a/package/lua-sailor/Config.in
+++ b/package/lua-sailor/Config.in
@@ -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.
diff --git a/package/luacrypto/Config.in b/package/luacrypto/Config.in
index e9d43cd80..cc5a8803a 100644
--- a/package/luacrypto/Config.in
+++ b/package/luacrypto/Config.in
@@ -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/
diff --git a/package/luadbi-sqlite3/Config.in b/package/luadbi-sqlite3/Config.in
index 6ed32a29a..600c5526f 100644
--- a/package/luadbi-sqlite3/Config.in
+++ b/package/luadbi-sqlite3/Config.in
@@ -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.
diff --git a/package/luaexpat/Config.in b/package/luaexpat/Config.in
index 7139e8c6d..2322dc430 100644
--- a/package/luaexpat/Config.in
+++ b/package/luaexpat/Config.in
@@ -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/
diff --git a/package/luafilesystem/Config.in b/package/luafilesystem/Config.in
index 50e7975b9..7c130f8d3 100644
--- a/package/luafilesystem/Config.in
+++ b/package/luafilesystem/Config.in
@@ -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.
diff --git a/package/luajson/Config.in b/package/luajson/Config.in
index c04aa7f00..c9321bb70 100644
--- a/package/luajson/Config.in
+++ b/package/luajson/Config.in
@@ -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.
diff --git a/package/lualogging/Config.in b/package/lualogging/Config.in
index bb87f57f0..a1ed775fb 100644
--- a/package/lualogging/Config.in
+++ b/package/lualogging/Config.in
@@ -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
diff --git a/package/luaposix/Config.in b/package/luaposix/Config.in
index 91abcb9e3..9523b385b 100644
--- a/package/luaposix/Config.in
+++ b/package/luaposix/Config.in
@@ -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
diff --git a/package/luasec/Config.in b/package/luasec/Config.in
index d7900a081..43527ab09 100644
--- a/package/luasec/Config.in
+++ b/package/luasec/Config.in
@@ -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.
diff --git a/package/luasocket/Config.in b/package/luasocket/Config.in
index 45f959e8d..45263030f 100644
--- a/package/luasocket/Config.in
+++ b/package/luasocket/Config.in
@@ -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.
diff --git a/package/luasql-sqlite3/Config.in b/package/luasql-sqlite3/Config.in
index 483d6a0f3..cc4d3d545 100644
--- a/package/luasql-sqlite3/Config.in
+++ b/package/luasql-sqlite3/Config.in
@@ -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.
diff --git a/package/orbit/Config.in b/package/orbit/Config.in
index 8df42a838..7b6e9a43f 100644
--- a/package/orbit/Config.in
+++ b/package/orbit/Config.in
@@ -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
diff --git a/package/rings/Config.in b/package/rings/Config.in
index 87ade07cb..d1f1efe55 100644
--- a/package/rings/Config.in
+++ b/package/rings/Config.in
@@ -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.
diff --git a/package/wsapi-fcgi/Config.in b/package/wsapi-fcgi/Config.in
index b4304a065..73ef8cb00 100644
--- a/package/wsapi-fcgi/Config.in
+++ b/package/wsapi-fcgi/Config.in
@@ -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
diff --git a/package/wsapi-xavante/Config.in b/package/wsapi-xavante/Config.in
index 3e494bba8..7079ad4ed 100644
--- a/package/wsapi-xavante/Config.in
+++ b/package/wsapi-xavante/Config.in
@@ -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
diff --git a/package/wsapi/Config.in b/package/wsapi/Config.in
index 348a0404b..60c029ddf 100644
--- a/package/wsapi/Config.in
+++ b/package/wsapi/Config.in
@@ -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
diff --git a/package/xavante/Config.in b/package/xavante/Config.in
index d66ca1f0a..209ec2d2c 100644
--- a/package/xavante/Config.in
+++ b/package/xavante/Config.in
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] lua*: regeneration of hash files
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
` (2 preceding siblings ...)
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of Config.in Francois Perrad
@ 2018-12-19 8:17 ` Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] pkg-luarocks: add per package upgrade target Francois Perrad
2018-12-31 16:57 ` [Buildroot] [PATCH v3] luarocks addon Thomas Petazzoni
5 siblings, 0 replies; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
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(-)
diff --git a/package/argparse/argparse.hash b/package/argparse/argparse.hash
index 850de2f67..fa99609cc 100644
--- a/package/argparse/argparse.hash
+++ b/package/argparse/argparse.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 e4029f42d61cbdde1540e0a098a24b1fed0bc8a2803efe2a0d0d3e7f2f2f2c82 argparse-0.6.0-1.src.rock
+sha256 c9b9a9667934d50f028a99b2617469db66663dc3b09d289b82e73e950b2b85eb argparse/LICENSE
diff --git a/package/cgilua/cgilua.hash b/package/cgilua/cgilua.hash
index bf128a5fa..ac977ec38 100644
--- a/package/cgilua/cgilua.hash
+++ b/package/cgilua/cgilua.hash
@@ -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
diff --git a/package/copas/copas.hash b/package/copas/copas.hash
index d894b8657..4e9e78784 100644
--- a/package/copas/copas.hash
+++ b/package/copas/copas.hash
@@ -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
diff --git a/package/coxpcall/coxpcall.hash b/package/coxpcall/coxpcall.hash
index 5676d4738..953005e92 100644
--- a/package/coxpcall/coxpcall.hash
+++ b/package/coxpcall/coxpcall.hash
@@ -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
diff --git a/package/dado/dado.hash b/package/dado/dado.hash
index 973bdb3ff..a57f52b88 100644
--- a/package/dado/dado.hash
+++ b/package/dado/dado.hash
@@ -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
diff --git a/package/ljlinenoise/ljlinenoise.hash b/package/ljlinenoise/ljlinenoise.hash
index c70b5d680..647f11d86 100644
--- a/package/ljlinenoise/ljlinenoise.hash
+++ b/package/ljlinenoise/ljlinenoise.hash
@@ -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
diff --git a/package/lpeg/lpeg.hash b/package/lpeg/lpeg.hash
index 926167486..da38cc875 100644
--- a/package/lpeg/lpeg.hash
+++ b/package/lpeg/lpeg.hash
@@ -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
diff --git a/package/lpty/lpty.hash b/package/lpty/lpty.hash
index a451fd858..6b21d75a5 100644
--- a/package/lpty/lpty.hash
+++ b/package/lpty/lpty.hash
@@ -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
diff --git a/package/lrandom/lrandom.hash b/package/lrandom/lrandom.hash
index 3f601330c..ce59268bb 100644
--- a/package/lrandom/lrandom.hash
+++ b/package/lrandom/lrandom.hash
@@ -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
diff --git a/package/lsqlite3/lsqlite3.hash b/package/lsqlite3/lsqlite3.hash
index 0f11dcb36..8ed989825 100644
--- a/package/lsqlite3/lsqlite3.hash
+++ b/package/lsqlite3/lsqlite3.hash
@@ -1,2 +1,2 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 fdae3c03390ab4e4b7db3a13d09b79ffe19318739b752d17914adcdb3d2ef9ff lsqlite3-0.9.5-1.src.rock
diff --git a/package/lua-basexx/lua-basexx.hash b/package/lua-basexx/lua-basexx.hash
index 91c428c14..aee636c32 100644
--- a/package/lua-basexx/lua-basexx.hash
+++ b/package/lua-basexx/lua-basexx.hash
@@ -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
diff --git a/package/lua-bit32/lua-bit32.hash b/package/lua-bit32/lua-bit32.hash
index 21dbd0531..22d5b01be 100644
--- a/package/lua-bit32/lua-bit32.hash
+++ b/package/lua-bit32/lua-bit32.hash
@@ -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
diff --git a/package/lua-cjson/lua-cjson.hash b/package/lua-cjson/lua-cjson.hash
index f2f264299..2a23eb3d2 100644
--- a/package/lua-cjson/lua-cjson.hash
+++ b/package/lua-cjson/lua-cjson.hash
@@ -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
diff --git a/package/lua-coat/lua-coat.hash b/package/lua-coat/lua-coat.hash
index 1f2135566..491ba2964 100644
--- a/package/lua-coat/lua-coat.hash
+++ b/package/lua-coat/lua-coat.hash
@@ -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
diff --git a/package/lua-coatpersistent/lua-coatpersistent.hash b/package/lua-coatpersistent/lua-coatpersistent.hash
index eeb13bb1c..a15379e13 100644
--- a/package/lua-coatpersistent/lua-coatpersistent.hash
+++ b/package/lua-coatpersistent/lua-coatpersistent.hash
@@ -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
diff --git a/package/lua-compat53/lua-compat53.hash b/package/lua-compat53/lua-compat53.hash
index f311b9ce8..b40596f86 100644
--- a/package/lua-compat53/lua-compat53.hash
+++ b/package/lua-compat53/lua-compat53.hash
@@ -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
diff --git a/package/lua-csnappy/lua-csnappy.hash b/package/lua-csnappy/lua-csnappy.hash
index f88742644..43790f2bd 100644
--- a/package/lua-csnappy/lua-csnappy.hash
+++ b/package/lua-csnappy/lua-csnappy.hash
@@ -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
diff --git a/package/lua-curl/lua-curl.hash b/package/lua-curl/lua-curl.hash
index 4619d91e6..c2497bc0a 100644
--- a/package/lua-curl/lua-curl.hash
+++ b/package/lua-curl/lua-curl.hash
@@ -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
diff --git a/package/lua-datafile/lua-datafile.hash b/package/lua-datafile/lua-datafile.hash
index 8b223f0d5..c43b2b147 100644
--- a/package/lua-datafile/lua-datafile.hash
+++ b/package/lua-datafile/lua-datafile.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 4f7d58c50267b5ebd2145e52aaa5fb63fbf63a74ae765f08e2d0dddd570b6b6a datafile-0.6-1.src.rock
+sha256 0443ddabab14f69d4c5e2641860343784a0ccbe5ae7a3743f20de9a13991da66 datafile/LICENSE
diff --git a/package/lua-fifo/lua-fifo.hash b/package/lua-fifo/lua-fifo.hash
index bab372804..7d885f413 100644
--- a/package/lua-fifo/lua-fifo.hash
+++ b/package/lua-fifo/lua-fifo.hash
@@ -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
diff --git a/package/lua-flu/lua-flu.hash b/package/lua-flu/lua-flu.hash
index 92a0a13ff..2195b4246 100644
--- a/package/lua-flu/lua-flu.hash
+++ b/package/lua-flu/lua-flu.hash
@@ -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
diff --git a/package/lua-http/lua-http.hash b/package/lua-http/lua-http.hash
index 2346ab97a..3c7bcebd3 100644
--- a/package/lua-http/lua-http.hash
+++ b/package/lua-http/lua-http.hash
@@ -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
diff --git a/package/lua-iconv/lua-iconv.hash b/package/lua-iconv/lua-iconv.hash
index 46291026c..8015599e4 100644
--- a/package/lua-iconv/lua-iconv.hash
+++ b/package/lua-iconv/lua-iconv.hash
@@ -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
diff --git a/package/lua-lpeg-patterns/lua-lpeg-patterns.hash b/package/lua-lpeg-patterns/lua-lpeg-patterns.hash
index c20153f18..3fad73ca0 100644
--- a/package/lua-lpeg-patterns/lua-lpeg-patterns.hash
+++ b/package/lua-lpeg-patterns/lua-lpeg-patterns.hash
@@ -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
diff --git a/package/lua-markdown/lua-markdown.hash b/package/lua-markdown/lua-markdown.hash
index 9bfbf6007..682b4f84c 100644
--- a/package/lua-markdown/lua-markdown.hash
+++ b/package/lua-markdown/lua-markdown.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 bed84231bb48322f8e614b4392181c52c36bc71340f9273e0c3bd72dc922bc07 markdown-0.33-1.src.rock
+sha256 c13c5634db49d16c87f164ce0b79fb7e1b313c8b66818ebf1c970747a429b39b markdown/LICENSE
diff --git a/package/lua-messagepack/lua-messagepack.hash b/package/lua-messagepack/lua-messagepack.hash
index 86ea5d088..aa1a1b541 100644
--- a/package/lua-messagepack/lua-messagepack.hash
+++ b/package/lua-messagepack/lua-messagepack.hash
@@ -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
diff --git a/package/lua-periphery/lua-periphery.hash b/package/lua-periphery/lua-periphery.hash
index 73dbd1cf2..b87cfbbc6 100644
--- a/package/lua-periphery/lua-periphery.hash
+++ b/package/lua-periphery/lua-periphery.hash
@@ -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
diff --git a/package/lua-resty-http/lua-resty-http.hash b/package/lua-resty-http/lua-resty-http.hash
index e45df0e91..486a110a7 100644
--- a/package/lua-resty-http/lua-resty-http.hash
+++ b/package/lua-resty-http/lua-resty-http.hash
@@ -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
diff --git a/package/lua-sailor/lua-sailor.hash b/package/lua-sailor/lua-sailor.hash
index f4c42cccc..aec00afe5 100644
--- a/package/lua-sailor/lua-sailor.hash
+++ b/package/lua-sailor/lua-sailor.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 4f7f43a7cf6c62712a521ebaf5f53aaf230039c7fb06480ae168c3aa036120bf sailor-0.5-4.src.rock
+sha256 3a19bc44e1a653b39bcb1b91cc8058ac6b1cd1caf7e6cef93517fd559b189065 sailor/LICENSE
diff --git a/package/lua-stdlib/lua-stdlib.hash b/package/lua-stdlib/lua-stdlib.hash
index e0eadfb24..68f4d2412 100644
--- a/package/lua-stdlib/lua-stdlib.hash
+++ b/package/lua-stdlib/lua-stdlib.hash
@@ -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
diff --git a/package/lua-testmore/lua-testmore.hash b/package/lua-testmore/lua-testmore.hash
index 8db664f2d..673e1cf60 100644
--- a/package/lua-testmore/lua-testmore.hash
+++ b/package/lua-testmore/lua-testmore.hash
@@ -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
diff --git a/package/lua-utf8/lua-utf8.hash b/package/lua-utf8/lua-utf8.hash
index 51fa2439f..e119f9435 100644
--- a/package/lua-utf8/lua-utf8.hash
+++ b/package/lua-utf8/lua-utf8.hash
@@ -1,2 +1,2 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 c9ceb3a9f327b3215cdf959eebf616970b5b0427ca3fde05b19f8236defa4b91 utf8-1.2-0.src.rock
diff --git a/package/lua-valua/lua-valua.hash b/package/lua-valua/lua-valua.hash
index 92ea61311..71d43e4fa 100644
--- a/package/lua-valua/lua-valua.hash
+++ b/package/lua-valua/lua-valua.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 bff39692fd2ac3590fd814aa1b1ca33e5d5971092955309aa8424b02b88ce1a3 valua-0.3-1.src.rock
+sha256 3444c2e739c88e41e327c6cd15e4a50fea8988570642bad6e6a43d50a7f7961f valua/LICENSE
diff --git a/package/luabitop/luabitop.hash b/package/luabitop/luabitop.hash
index 78110205a..6f36bd18b 100644
--- a/package/luabitop/luabitop.hash
+++ b/package/luabitop/luabitop.hash
@@ -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
diff --git a/package/luacrypto/luacrypto.hash b/package/luacrypto/luacrypto.hash
index 5c577672e..5d600b054 100644
--- a/package/luacrypto/luacrypto.hash
+++ b/package/luacrypto/luacrypto.hash
@@ -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
diff --git a/package/luadbi-sqlite3/luadbi-sqlite3.hash b/package/luadbi-sqlite3/luadbi-sqlite3.hash
index bd8b927fa..093a9067f 100644
--- a/package/luadbi-sqlite3/luadbi-sqlite3.hash
+++ b/package/luadbi-sqlite3/luadbi-sqlite3.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 2868dad4d189368fcf5cddd191965c8cb2efaa3a3ba83d50e6a88c30353f74ce luadbi-sqlite3-0.6-2.src.rock
+sha256 988d73cc2e56f972e8177091e084855fc2904d0fafcfe5c4e02864f25ce2b928 luadbi/COPYING
diff --git a/package/luadbi/luadbi.hash b/package/luadbi/luadbi.hash
index e5c022bdf..d72690d9a 100644
--- a/package/luadbi/luadbi.hash
+++ b/package/luadbi/luadbi.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 723f63b744b7367ddfd6bbf7a7e6f6867aa1eaabbbc2bab5dc8a90e80b0c34c2 luadbi-0.6-2.src.rock
+sha256 988d73cc2e56f972e8177091e084855fc2904d0fafcfe5c4e02864f25ce2b928 luadbi/COPYING
diff --git a/package/luaexpat/luaexpat.hash b/package/luaexpat/luaexpat.hash
index a810e58b5..dd1cf40e5 100644
--- a/package/luaexpat/luaexpat.hash
+++ b/package/luaexpat/luaexpat.hash
@@ -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
diff --git a/package/luafilesystem/luafilesystem.hash b/package/luafilesystem/luafilesystem.hash
index bd4a446cf..9afc05c25 100644
--- a/package/luafilesystem/luafilesystem.hash
+++ b/package/luafilesystem/luafilesystem.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 65e6d437e577a1d6cd509b6cd224d2cb9501d58d32a72cafbd4fd3f911681576 luafilesystem-1.7.0-2.src.rock
+sha256 beb2c9eed6466d572c3888028a77421206053a3c023429cbd69e5015badba842 luafilesystem/LICENSE
diff --git a/package/luajson/luajson.hash b/package/luajson/luajson.hash
index 36534fe34..3b7885aa7 100644
--- a/package/luajson/luajson.hash
+++ b/package/luajson/luajson.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 28a5928cf2e4fd79fa9a9aceaef5ebf1dccb1146489b7de4c2726f561700f01c luajson-1.3.4-1.src.rock
+sha256 87565fca189b70f2e119b2a99e5e92a7aaab9f2eb05228b56b88e6c2e2f98bcd luajson/LICENSE
diff --git a/package/lualogging/lualogging.hash b/package/lualogging/lualogging.hash
index 8a6211ec3..e2ba5df3a 100644
--- a/package/lualogging/lualogging.hash
+++ b/package/lualogging/lualogging.hash
@@ -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
diff --git a/package/luaossl/luaossl.hash b/package/luaossl/luaossl.hash
index 736994b2e..981ad10a1 100644
--- a/package/luaossl/luaossl.hash
+++ b/package/luaossl/luaossl.hash
@@ -1,2 +1,3 @@
-# Locally calculated
+# computed by luarocks/buildroot
sha256 b0af04a5ad83c12badaf0e988dbeddc98ad6d2cd9fc06baaf0c801290ae1a5bd luaossl-20181207-0.src.rock
+sha256 7c397b120b8356805c17ba10fdea13d4319b1ee244703813d0de4cbb22720c74 luaossl-rel-20181207/LICENSE
diff --git a/package/luasec/luasec.hash b/package/luasec/luasec.hash
index 1fdbe7d7e..37fc08d45 100644
--- a/package/luasec/luasec.hash
+++ b/package/luasec/luasec.hash
@@ -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
diff --git a/package/luasocket/luasocket.hash b/package/luasocket/luasocket.hash
index ad91f4420..843647b27 100644
--- a/package/luasocket/luasocket.hash
+++ b/package/luasocket/luasocket.hash
@@ -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
diff --git a/package/luasql-sqlite3/luasql-sqlite3.hash b/package/luasql-sqlite3/luasql-sqlite3.hash
index 6af4fcec5..5406d9454 100644
--- a/package/luasql-sqlite3/luasql-sqlite3.hash
+++ b/package/luasql-sqlite3/luasql-sqlite3.hash
@@ -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
diff --git a/package/lunit/lunit.hash b/package/lunit/lunit.hash
index 9c8d53c5e..bd168ba8f 100644
--- a/package/lunit/lunit.hash
+++ b/package/lunit/lunit.hash
@@ -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
diff --git a/package/orbit/orbit.hash b/package/orbit/orbit.hash
index 9662a650a..eb427b63b 100644
--- a/package/orbit/orbit.hash
+++ b/package/orbit/orbit.hash
@@ -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
diff --git a/package/rings/rings.hash b/package/rings/rings.hash
index 59da2fa32..c9a758b54 100644
--- a/package/rings/rings.hash
+++ b/package/rings/rings.hash
@@ -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
diff --git a/package/wsapi-fcgi/wsapi-fcgi.hash b/package/wsapi-fcgi/wsapi-fcgi.hash
index 39ae57ec6..0e3e5933c 100644
--- a/package/wsapi-fcgi/wsapi-fcgi.hash
+++ b/package/wsapi-fcgi/wsapi-fcgi.hash
@@ -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
diff --git a/package/wsapi-xavante/wsapi-xavante.hash b/package/wsapi-xavante/wsapi-xavante.hash
index 7b8769fed..6045117b9 100644
--- a/package/wsapi-xavante/wsapi-xavante.hash
+++ b/package/wsapi-xavante/wsapi-xavante.hash
@@ -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
diff --git a/package/wsapi/wsapi.hash b/package/wsapi/wsapi.hash
index b11e60b0a..a89853de2 100644
--- a/package/wsapi/wsapi.hash
+++ b/package/wsapi/wsapi.hash
@@ -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
diff --git a/package/xavante/xavante.hash b/package/xavante/xavante.hash
index 09b2a22d4..b2e8633bc 100644
--- a/package/xavante/xavante.hash
+++ b/package/xavante/xavante.hash
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] pkg-luarocks: add per package upgrade target
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
` (3 preceding siblings ...)
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of hash files Francois Perrad
@ 2018-12-19 8:17 ` Francois Perrad
2018-12-31 16:57 ` [Buildroot] [PATCH v3] luarocks addon Thomas Petazzoni
5 siblings, 0 replies; 9+ messages in thread
From: Francois Perrad @ 2018-12-19 8:17 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/pkg-luarocks.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/pkg-luarocks.mk b/package/pkg-luarocks.mk
index f0985433b..78d6c325f 100644
--- a/package/pkg-luarocks.mk
+++ b/package/pkg-luarocks.mk
@@ -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
################################################################################
--
2.17.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] luarocks addon
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
` (4 preceding siblings ...)
2018-12-19 8:17 ` [Buildroot] [PATCH v3] pkg-luarocks: add per package upgrade target Francois Perrad
@ 2018-12-31 16:57 ` Thomas Petazzoni
5 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2018-12-31 16:57 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 19 Dec 2018 09:17:02 +0100, Francois Perrad wrote:
> 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] lua*: regeneration of Config.in
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of Config.in Francois Perrad
@ 2018-12-31 16:58 ` Thomas Petazzoni
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2018-12-31 16:58 UTC (permalink / raw)
To: buildroot
Hello Fran?ois,
On Wed, 19 Dec 2018 09:17:05 +0100, Francois Perrad wrote:
> diff --git a/package/ljlinenoise/Config.in b/package/ljlinenoise/Config.in
> index e6b587e65..26e79e23b 100644
> --- a/package/ljlinenoise/Config.in
> +++ b/package/ljlinenoise/Config.in
> @@ -1,9 +1,7 @@
> config BR2_PACKAGE_LJLINENOISE
> bool "ljlinenoise"
> - # ljsyscall is specifically for LuaJIT, not Lua.
I think this was useful to keep.
> diff --git a/package/ljsyscall/Config.in b/package/ljsyscall/Config.in
> index 3af9dabe9..601d0b122 100644
> --- a/package/ljsyscall/Config.in
> +++ b/package/ljsyscall/Config.in
> @@ -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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [PATCH v3] luarocks: add buildroot addon
2018-12-19 8:17 ` [Buildroot] [PATCH v3] luarocks: add buildroot addon Francois Perrad
@ 2018-12-31 17:06 ` Thomas Petazzoni
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni @ 2018-12-31 17:06 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 19 Dec 2018 09:17:03 +0100, Francois Perrad wrote:
> ++ 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-12-31 17:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 8:17 [Buildroot] [PATCH v3] luarocks addon Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] luarocks: add buildroot addon Francois Perrad
2018-12-31 17:06 ` Thomas Petazzoni
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of *.mk files Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of Config.in Francois Perrad
2018-12-31 16:58 ` Thomas Petazzoni
2018-12-19 8:17 ` [Buildroot] [PATCH v3] lua*: regeneration of hash files Francois Perrad
2018-12-19 8:17 ` [Buildroot] [PATCH v3] pkg-luarocks: add per package upgrade target Francois Perrad
2018-12-31 16:57 ` [Buildroot] [PATCH v3] luarocks addon Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.