Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506804 - www-servers/nginx-1.4.7 USE=nginx_modules_http_security should depend on dev-lang/lua
Summary: www-servers/nginx-1.4.7 USE=nginx_modules_http_security should depend on dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-05 07:07 UTC by Sushant Sinha
Modified: 2014-06-19 07:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sushant Sinha 2014-04-05 07:07:10 UTC
I tried installing nginx + modsecurity. So I added "security" module in NGINX_MODULES_HTTP. It pulled in modsecurity 2.7.7  and nginx 1.4.7. It installed modsecurity cleanly but failed to install nginx saying lua.h mis missing. When I did "emerge lua" and then tried nginx then it worked fine. Perhaps we need to make such dependency automatically.
Comment 1 Johan Bergström 2014-04-10 00:05:54 UTC
Hi and thanks for the bug report. I can confirm this.

The bug lies in configuring mod_security build in src_configure() _after_ nginx, which makes the nginx build use the default generated one. This included LUA_CFLAGS.

I'll update ebuilds for nginx 1.4.x and 1.5.x and send to co-maintainer shortly.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2014-04-15 06:21:18 UTC
Fix just landed in 1.4.7-r1
Comment 3 Johan Bergström 2014-06-19 07:32:17 UTC
This was fixed a while ago (as latest comment states)