On 2010/11/08 01:27, Piotr Sikora wrote:
> Hi,
> nginx-0.8 has two new modules (SCGI and uwsgi) with their own
> temporary path and include files. Those modules are installed by
> default but aren't taken care of in the port.
> 
> Attached patch fixes this.

PLIST should be sorted (use 'make plist' and then add back in any
@rcscript lines that update-plist can't handle yet).

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile    4 Nov 2010 23:33:45 -0000       1.31
+++ Makefile    8 Nov 2010 09:07:42 -0000
@@ -5,7 +5,7 @@ COMMENT=        robust and small HTTP server an
 DISTNAME=      nginx-0.8.53
 CATEGORIES=    www
 
-REVISION=      1
+REVISION=      2
 
 HOMEPAGE=      http://nginx.net/
 
@@ -35,6 +35,8 @@ CONFIGURE_ARGS=               --prefix=${SYSCONFDIR}/
                        
--http-client-body-temp-path=${NGINX_DIR}/tmp/client_body_temp \
                        --http-proxy-temp-path=${NGINX_DIR}/tmp/proxy_temp \
                        --http-fastcgi-temp-path=${NGINX_DIR}/tmp/fastcgi_temp \
+                       --http-scgi-temp-path=${NGINX_DIR}/tmp/scgi_temp \
+                       --http-uwsgi-temp-path=${NGINX_DIR}/tmp/uwsgi_temp \
                        --http-log-path=/var/log/nginx/access.log \
                        --error-log-path=/var/log/nginx/error.log \
                        --user=_nginx \
@@ -65,7 +67,8 @@ pre-configure:
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/nginx/
        ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin
-.for i in koi-win koi-utf win-utf fastcgi_params mime.types nginx.conf
+.for i in koi-win koi-utf win-utf mime.types nginx.conf \
+       fastcgi_params scgi_params uwsgi_params
        ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${PREFIX}/share/nginx/
 .endfor
        ${INSTALL_DATA_DIR} ${PREFIX}/share/nginx/html/
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/nginx/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   4 Nov 2010 07:39:44 -0000       1.6
+++ pkg/PLIST   8 Nov 2010 09:07:42 -0000
@@ -30,6 +30,10 @@ share/nginx/mime.types
 @sample ${SYSCONFDIR}/nginx/mime.types
 share/nginx/nginx.conf
 @sample ${SYSCONFDIR}/nginx/nginx.conf
+share/nginx/scgi_params
+...@sample ${SYSCONFDIR}/nginx/scgi_params
+share/nginx/uwsgi_params
+...@sample ${SYSCONFDIR}/nginx/uwsgi_params
 share/nginx/win-utf
 @sample ${SYSCONFDIR}/nginx/win-utf
 @rcscript ${RCDIR}/nginx

Reply via email to