Browse Source

nginx: added syslog addon

user/karasz/firmware
Christian Wiese 13 years ago committed by Christian Wiese
parent
commit
9d81b2dacc
  1. 3
      network/nginx/config.in
  2. 5
      network/nginx/nginx.conf
  3. 1
      network/nginx/nginx.desc

3
network/nginx/config.in

@ -34,6 +34,9 @@ if pkgcheck nginx X; then
bool "Lua Module" SDECFG_PKG_NGINX_ADDON_MOD_LUA 0
fi
# syslog support
bool "Nginx Syslog Patch" SDECFG_PKG_NGINX_ADDON_SYSLOG_PATCH 0
menu_end
fi

5
network/nginx/nginx.conf

@ -145,3 +145,8 @@ if [ "$SDECFG_PKG_NGINX_ADDON_MOD_LUA" == 1 ] ; then
hook_add prepatch 5 "pkg_nginx_add_module lua-nginx-module"
fi
if [ "$SDECFG_PKG_NGINX_ADDON_SYSLOG_PATCH" == 1 ] ; then
hook_add prepatch 5 "pkg_nginx_add_module nginx_syslog_patch"
hook_add prepatch 9 "var_append patchfiles ' ' '../addon-module/nginx_syslog_patch/syslog_${ver/%.*}*.patch'"
fi

1
network/nginx/nginx.desc

@ -54,3 +54,4 @@
[D] 1976311739 echo-nginx-module-v0.37rc4.tar.gz !https://github.com/agentzh/echo-nginx-module/tarball/v0.37rc4
[D] 2657180702 ngx_devel_kit-v0.2.17.tar.gz !https://github.com/simpl/ngx_devel_kit/tarball/v0.2.17
[D] 1919597670 lua-nginx-module-v0.5.0rc3.tar.gz !https://github.com/chaoslawful/lua-nginx-module/tarball/v0.5.0rc3
[D] 1862952346 nginx_syslog_patch-v0.22.tar.gz !https://github.com/yaoweibin/nginx_syslog_patch/tarball/v0.22

Loading…
Cancel
Save