From e88995f065986dc56ce5a7c222f7a9f6cbff2b94 Mon Sep 17 00:00:00 2001 From: Semyon Kolganov Date: Tue, 25 Apr 2017 21:10:58 +0300 Subject: [PATCH] lua-resty-http: new package Signed-off-by: Semyon Kolganov Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/lua-resty-http/Config.in | 6 ++++++ package/lua-resty-http/lua-resty-http.hash | 2 ++ package/lua-resty-http/lua-resty-http.mk | 12 ++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 package/lua-resty-http/Config.in create mode 100644 package/lua-resty-http/lua-resty-http.hash create mode 100644 package/lua-resty-http/lua-resty-http.mk diff --git a/DEVELOPERS b/DEVELOPERS index d28e6fb947..8fbb69aec9 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1434,6 +1434,7 @@ F: package/yaml-cpp/ N: Semyon Kolganov F: package/fmt/ F: package/libbson/ +F: package/lua-resty-http/ F: package/mpir/ N: Sergio Prado diff --git a/package/Config.in b/package/Config.in index 47ad2c27a4..1af8150867 100644 --- a/package/Config.in +++ b/package/Config.in @@ -571,6 +571,7 @@ menu "Lua libraries/modules" source "package/luajson/Config.in" source "package/lualogging/Config.in" source "package/luaposix/Config.in" + source "package/lua-resty-http/Config.in" source "package/luasec/Config.in" source "package/luasocket/Config.in" source "package/luasql-sqlite3/Config.in" diff --git a/package/lua-resty-http/Config.in b/package/lua-resty-http/Config.in new file mode 100644 index 0000000000..4697c90dfb --- /dev/null +++ b/package/lua-resty-http/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LUA_RESTY_HTTP + bool "lua-resty-http" + help + Lua HTTP client cosocket driver for OpenResty / ngx_lua. + + http://github.com/pintsized/lua-resty-http diff --git a/package/lua-resty-http/lua-resty-http.hash b/package/lua-resty-http/lua-resty-http.hash new file mode 100644 index 0000000000..02c56593f1 --- /dev/null +++ b/package/lua-resty-http/lua-resty-http.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 3d30dd5a273438e39741fcf87ae5e147d8700bd8faa7dfe9916ea425f9c716f7 lua-resty-http-0.10-0.src.rock diff --git a/package/lua-resty-http/lua-resty-http.mk b/package/lua-resty-http/lua-resty-http.mk new file mode 100644 index 0000000000..927fdae46f --- /dev/null +++ b/package/lua-resty-http/lua-resty-http.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-resty-http +# +################################################################################ + +LUA_RESTY_HTTP_VERSION = 0.10-0 +LUA_RESTY_HTTP_SUBDIR = lua-resty-http +LUA_RESTY_HTTP_LICENSE = BSD-2-Clause +LUA_RESTY_HTTP_LICENSE_FILES = LICENSE + +$(eval $(luarocks-package)) -- 2.30.2