From ef7fae67c83a86b09d556d9769b6781c9cf07a8e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 6 Feb 2012 17:06:19 +0100 Subject: [PATCH] nginx: added Nginx Development Kit addon module support --- network/nginx/config.in | 5 ++++- network/nginx/nginx.conf | 6 +++++- network/nginx/nginx.desc | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/network/nginx/config.in b/network/nginx/config.in index 495e8a4c0..84c053241 100644 --- a/network/nginx/config.in +++ b/network/nginx/config.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../nginx/config.in -# Copyright (C) 2011 The OpenSDE Project +# Copyright (C) 2011 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -26,6 +26,9 @@ if pkgcheck nginx X; then # http echo module bool "HTTP Echo Module" SDECFG_PKG_NGINX_ADDON_MOD_HTTPECHO 0 + # nginx devel kit + bool "Nginx Development Kit (NDK)" SDECFG_PKG_NGINX_ADDON_MOD_NDK 0 + menu_end fi diff --git a/network/nginx/nginx.conf b/network/nginx/nginx.conf index 87b164ab1..8459078ad 100644 --- a/network/nginx/nginx.conf +++ b/network/nginx/nginx.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../nginx/nginx.conf -# Copyright (C) 2009 - 2011 The OpenSDE Project +# Copyright (C) 2009 - 2012 The OpenSDE Project # Copyright (C) 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -123,3 +123,7 @@ fi if [ "$SDECFG_PKG_NGINX_ADDON_MOD_HTTPECHO" == 1 ] ; then hook_add prepatch 5 "pkg_nginx_add_module echo-nginx-module" fi + +if [ "$SDECFG_PKG_NGINX_ADDON_MOD_NDK" == 1 ] ; then + hook_add prepatch 5 "pkg_nginx_add_module ngx_devel_kit" +fi diff --git a/network/nginx/nginx.desc b/network/nginx/nginx.desc index 91ce3e656..35070d94f 100644 --- a/network/nginx/nginx.desc +++ b/network/nginx/nginx.desc @@ -52,3 +52,4 @@ [D] 2799334071 nginx-mod_rrd_graph-0.2.0.tar.gz !http://wiki.nginx.org/images/9/9d/Mod_rrd_graph-0.2.0.tar.gz [D] 417317636 nginx_upload_module-2.2.0.tar.gz http://www.grid.net.ru/nginx/download/ [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