lua-resty-http: new package
authorSemyon Kolganov <semenak94@mail.ru>
Tue, 25 Apr 2017 18:10:58 +0000 (21:10 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 May 2017 20:23:19 +0000 (22:23 +0200)
Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/lua-resty-http/Config.in [new file with mode: 0644]
package/lua-resty-http/lua-resty-http.hash [new file with mode: 0644]
package/lua-resty-http/lua-resty-http.mk [new file with mode: 0644]

index d28e6fb94786e03d7d8c0cf3ffe1069675b41039..8fbb69aec94348247a04389e92e3173903c3e6fe 100644 (file)
@@ -1434,6 +1434,7 @@ F:        package/yaml-cpp/
 N:     Semyon Kolganov <semenak94@mail.ru>
 F:     package/fmt/
 F:     package/libbson/
+F:     package/lua-resty-http/
 F:     package/mpir/
 
 N:     Sergio Prado <sergio.prado@e-labworks.com>
index 47ad2c27a46077955a03081dfc66e016a4e52c28..1af81508672075fb2e731d5f0c5dabc859c18a82 100644 (file)
@@ -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 (file)
index 0000000..4697c90
--- /dev/null
@@ -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 (file)
index 0000000..02c5659
--- /dev/null
@@ -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 (file)
index 0000000..927fdae
--- /dev/null
@@ -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))