mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 12:24:32 +04:00
nginx: import from packages, add myself as the maintainer
This adds the nginx package from the old svn package fee. I adopt the licensing information and will maintain the package in the future. This request also updates nginx to the last stable version 1.4.7. It further adds support for - naxsi (the ngix web application firewall) - syslog module - http upstream check module - support for the haproxy Proxy Protocol (this way nginx can see the real ip address behind haproxy) Building was tested with target x86_64, ar71xx and avr32. Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
This commit is contained in:
21
net/nginx/patches-lua-nginx/300-ldl.patch
Normal file
21
net/nginx/patches-lua-nginx/300-ldl.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- a/lua-nginx/config
|
||||
+++ b/lua-nginx/config
|
||||
@@ -1,5 +1,5 @@
|
||||
ngx_feature="Lua library"
|
||||
-ngx_feature_libs="-llua -lm"
|
||||
+ngx_feature_libs="-llua -lm -ldl"
|
||||
ngx_feature_name=
|
||||
ngx_feature_run=no
|
||||
ngx_feature_incs="#include <lauxlib.h>"
|
||||
@@ -47,9 +47,9 @@ else
|
||||
ngx_feature="Lua library in $LUA_LIB and $LUA_INC (specified by the LUA_LIB and LUA_INC env)"
|
||||
ngx_feature_path="$LUA_INC"
|
||||
if [ $NGX_RPATH = YES ]; then
|
||||
- ngx_feature_libs="-R$LUA_LIB -L$LUA_LIB -llua -lm"
|
||||
+ ngx_feature_libs="-R$LUA_LIB -L$LUA_LIB -llua -lm -ldl"
|
||||
else
|
||||
- ngx_feature_libs="-L$LUA_LIB -llua -lm"
|
||||
+ ngx_feature_libs="-L$LUA_LIB -llua -lm -ldl"
|
||||
fi
|
||||
|
||||
. auto/feature
|
||||
Reference in New Issue
Block a user