mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-23 17:32:09 -09:00
package/luaunbound: new package
a dependency for prosody Signed-off-by: Francois Perrad <francois.perrad.86@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
237f432e3a
commit
caf363495a
@@ -790,6 +790,7 @@ menu "Lua libraries/modules"
|
||||
source "package/luasocket/Config.in"
|
||||
source "package/luasql-sqlite3/Config.in"
|
||||
source "package/luasyslog/Config.in"
|
||||
source "package/luaunbound/Config.in"
|
||||
source "package/lutok/Config.in"
|
||||
source "package/luv/Config.in"
|
||||
source "package/luvi/Config.in"
|
||||
|
||||
7
package/luaunbound/Config.in
Normal file
7
package/luaunbound/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LUAUNBOUND
|
||||
bool "luaunbound"
|
||||
select BR2_PACKAGE_UNBOUND
|
||||
help
|
||||
A binding to libunbound.
|
||||
|
||||
https://www.zash.se/luaunbound.html
|
||||
3
package/luaunbound/luaunbound.hash
Normal file
3
package/luaunbound/luaunbound.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# computed by luarocks/buildroot
|
||||
sha256 99f4fb8695327f06d37013bfe09cad5103158d803941bbc3caed9328ecafd5bf luaunbound-1.1.0-1.src.rock
|
||||
sha256 b02daf9bb40ed6504df2bcc7b51d78abea4cc3fe7a9819bcdc01d122dd3ac5f0 luaunbound-1.1.0/LICENSE
|
||||
12
package/luaunbound/luaunbound.mk
Normal file
12
package/luaunbound/luaunbound.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# luaunbound
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LUAUNBOUND_VERSION = 1.1.0-1
|
||||
LUAUNBOUND_LICENSE = MIT
|
||||
LUAUNBOUND_LICENSE_FILES = $(LUAUNBOUND_SUBDIR)/LICENSE
|
||||
LUAUNBOUND_DEPENDENCIES = unbound
|
||||
|
||||
$(eval $(luarocks-package))
|
||||
25
support/testing/tests/package/test_luaunbound.py
Normal file
25
support/testing/tests/package/test_luaunbound.py
Normal file
@@ -0,0 +1,25 @@
|
||||
from tests.package.test_lua import TestLuaBase
|
||||
|
||||
|
||||
class TestLuaLuaunbound(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUA=y
|
||||
BR2_PACKAGE_LUAUNBOUND=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("lunbound")
|
||||
|
||||
|
||||
class TestLuajitLuaunbound(TestLuaBase):
|
||||
config = TestLuaBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_LUAJIT=y
|
||||
BR2_PACKAGE_LUAUNBOUND=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
self.module_test("lunbound")
|
||||
Reference in New Issue
Block a user