Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] lua-resty-http: new package
@ 2017-05-04 22:02 semenak94 at mail.ru
  2017-05-05 10:29 ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: semenak94 at mail.ru @ 2017-05-04 22:02 UTC (permalink / raw)
  To: buildroot


Hello,
Well, I'm also very far from nginx expert, but yes, it lua-nginx-module, which we need in our special embedded linux. So, if you don't explicitly have nginx modules in buildroot, how should we deal with it?
--
Semyon
-----------
Semyon Kolganov 
???????, 05 ??? 2017?., 00:02 +03:00 ?? Peter Korsgaard peter at korsgaard.com:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>?> commit: https://git.buildroot.net/buildroot/commit/?id=e88995f065986dc56ce5a7c222f7a9f6cbff2b94
>?> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>?> Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
>?> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>?> ---
>?>? 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(+)
>?> +++ 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
>Sorry for the slow response, but this patch apparently never made it to
>my mailbox? (It is in the archive, so it must have been an issue on my
>side).
>I'm far from an expert in nginx, but isn't this an extension to the
>lua-nginx-module that we don't (explicitly) have in Buildroot? Is it in
>any way useful without it?
>What is your use case for it?
>-- 
>Bye, Peter Korsgaard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170505/ce29f82e/attachment.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Buildroot] [git commit] lua-resty-http: new package
@ 2017-05-04 20:23 Thomas Petazzoni
  2017-05-04 21:02 ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 20:23 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=e88995f065986dc56ce5a7c222f7a9f6cbff2b94
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Semyon Kolganov <semenak94@mail.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 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(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index d28e6fb..8fbb69a 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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>
diff --git a/package/Config.in b/package/Config.in
index 47ad2c2..1af8150 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 0000000..4697c90
--- /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 0000000..02c5659
--- /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 0000000..927fdae
--- /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))

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-05 21:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 22:02 [Buildroot] [git commit] lua-resty-http: new package semenak94 at mail.ru
2017-05-05 10:29 ` Peter Korsgaard
2017-05-05 13:59   ` Danomi Manchego
2017-05-05 14:34     ` Peter Korsgaard
2017-05-05 21:16       ` Danomi Manchego
  -- strict thread matches above, loose matches on Subject: below --
2017-05-04 20:23 Thomas Petazzoni
2017-05-04 21:02 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox