[Buildroot] [git commit] lua-resty-http: new package
Danomi Manchego
danomimanchego123 at gmail.com
Fri May 5 21:16:04 UTC 2017
Peter,
On Fri, May 5, 2017 at 10:34 AM, Peter Korsgaard <peter at korsgaard.com> wrote:
>>>>>> "Danomi" == Danomi Manchego <danomimanchego123 at gmail.com> writes:
>
> >> We currently don't have any explicit handling of the nginx-lua
> >> module. You could conceptually do something with the 'nginx additional
> >> modules' (BR2_PACKAGE_NGINX_ADD_MODULES) option, but there's no
> >> guarantee that nginx builds after luajit.
> >>
> >> I guess the proper solution would be to add an explicit nginx-lua
> >> module, similar to what we already have for nginx-dav-ext / nginx-naxsi
> >> / nginx-upload.
>
> > FWIW - that's what we did in our project - an "ngx_lua" package that
> > simply uses generic-package to download and untar the source, and an
> > addition to nginx.mk like this:
>
> > ifeq ($(BR2_PACKAGE_NGX_LUA),y)
> > NGINX_DEPENDENCIES += ngx_lua luainterpreter
>
> ngx_lua (or nginx-lua to follow the naming convention) should probably
> be responsible for pulling in luainterpreter, but OK.
Noted and corrected, thank you.
>> NGINX_CONF_OPTS += --add-module=$(NGX_LUA_DIR)
> > ifeq ($(BR2_PACKAGE_LUAJIT),y)
> > NGINX_CONF_ENV += LUAJIT_LIB=$(STAGING_DIR)/usr/lib
> > LUAJIT_INC=$(STAGING_DIR)/usr/include
> > endif
> > endif
>
> > But then we ended up not actually using ngx_lua at all.
>
> Would you be interested in contributing (and maintaining) such a package
> in BR?
I've not much interested in maintaining it since I consider it a
failed experiment on our part. We don't use it now at all. But I can
do a one-time contribution. Is that okay?
Danomi -
> --
> Bye, Peter Korsgaard
More information about the buildroot
mailing list