From a67ad2736a71965ec9051fa35006f756a1e778fa Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 20 Apr 2011 18:33:06 +0200 Subject: [PATCH] nginx: added upload module Note: See http://www.grid.net.ru/nginx/upload.en.html for more details. --- network/nginx/config.in | 3 +++ network/nginx/nginx.conf | 4 ++++ network/nginx/nginx.desc | 1 + 3 files changed, 8 insertions(+) diff --git a/network/nginx/config.in b/network/nginx/config.in index 59bf54c84..46ffde480 100644 --- a/network/nginx/config.in +++ b/network/nginx/config.in @@ -20,6 +20,9 @@ if pkgcheck nginx X; then bool "RRD Graph Module" SDECFG_PKG_NGINX_ADDON_MOD_RRDGRAPH 0 fi + # upload module + bool "Upload Module" SDECFG_PKG_NGINX_ADDON_MOD_UPLOAD 0 + menu_end fi diff --git a/network/nginx/nginx.conf b/network/nginx/nginx.conf index 463d9217d..11e8c003f 100644 --- a/network/nginx/nginx.conf +++ b/network/nginx/nginx.conf @@ -101,3 +101,7 @@ if [ "$SDECFG_PKG_NGINX_ADDON_MOD_RRDGRAPH" == 1 ] ; then pkgprefix -t rrdtool hook_add preconf 5 "pkg_nginx_add_module mod_rrd_graph" fi + +if [ "$SDECFG_PKG_NGINX_ADDON_MOD_UPLOAD" == 1 ] ; then + hook_add preconf 5 "pkg_nginx_add_module nginx_upload_module" +fi diff --git a/network/nginx/nginx.desc b/network/nginx/nginx.desc index e8e8ad8ff..0040060aa 100644 --- a/network/nginx/nginx.desc +++ b/network/nginx/nginx.desc @@ -50,3 +50,4 @@ [D] 3232745288 nginx-1.0.0.tar.gz http://nginx.org/download/ [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/