From nobody@FreeBSD.org  Mon Apr 12 09:47:41 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F1E9F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Apr 2010 09:47:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E00478FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Apr 2010 09:47:41 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3C9lfab021776
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Apr 2010 09:47:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3C9lfGt021775;
	Mon, 12 Apr 2010 09:47:41 GMT
	(envelope-from nobody)
Message-Id: <201004120947.o3C9lfGt021775@www.freebsd.org>
Date: Mon, 12 Apr 2010 09:47:41 GMT
From: Bai Guixing <khsing.cn@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: www/nginx
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145645
>Category:       ports
>Synopsis:       Update port: www/nginx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    osa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 12 09:50:01 UTC 2010
>Closed-Date:    Fri Apr 30 07:25:04 UTC 2010
>Last-Modified:  Fri Apr 30 07:25:04 UTC 2010
>Originator:     Bai Guixing
>Release:        FreeBSD 8.0
>Organization:
Sina.com
>Environment:
FreeBSD host.woodpecker.org.cn 8.0-STABLE FreeBSD 8.0-STABLE #3: Wed Feb 10 16:18:38 CST 2010     root@host.woodpecker.org.cn:/usr/obj/usr/src/sys/WOODPECKER  i386

>Description:
Add a wsgi module for Nginx.

This module's web site is:
 http://wiki.nginx.org/NginxNgxWSGIModule
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       Makefile
#       distinfo
#       files
#       pkg-descr
#       pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965'
X# New ports collection makefile for:   nginx
X# Date created:                                11 Oct 2004
X# Whom:                                        osa
X#
X# $FreeBSD: ports/www/nginx/Makefile,v 1.206 2010/03/28 04:44:54 dougb Exp $
X#
X
XPORTNAME=      nginx
XPORTVERSION=   0.7.65
XCATEGORIES=    www
XMASTER_SITES=  http://sysoev.ru/nginx/
XMASTER_SITES+= ${MASTER_SITE_LOCAL}
XMASTER_SITE_SUBDIR=    osa
XDISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
X
XMAINTAINER=    osa@FreeBSD.org
XCOMMENT=       Robust and small WWW server
X
XOPTIONS=       DEBUG                   "Build with debug" off \
X               DEBUGLOG                "Enable debug log (--with-debug)" off \
X               IPV6                    "Enable IPv6" off \
X               GOOGLE_PERFTOOLS        "Enable google perftools module" off \
X               HTTP_MODULE             "Enable HTTP module" on \
X               HTTP_ADDITION_MODULE    "Enable http_addition module" off \
X               HTTP_CACHE_MODULE       "Enable http_cache module" on \
X               HTTP_DAV_MODULE         "Enable http_webdav module" off \
X               HTTP_FLV_MODULE         "Enable http_flv module" off \
X               HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
X               HTTP_IMAGE_FILTER_MODULE "Enable http_image_filter module" off \
X               HTTP_PERL_MODULE        "Enable http_perl module" off \
X               HTTP_RANDOM_INDEX_MODULE "Enable http_random_index module" off \
X               HTTP_REALIP_MODULE      "Enable http_realip module" off \
X               HTTP_REWRITE_MODULE     "Enable http_rewrite module" on \
X               HTTP_SECURE_LINK_MODULE "Enable http_secure_link module" off \
X               HTTP_SSL_MODULE         "Enable http_ssl module" off \
X               HTTP_STATUS_MODULE      "Enable http_stub_status module" on \
X               HTTP_SUB_MODULE         "Enable http_sub module" off \
X               HTTP_XSLT_MODULE        "Enable http_xslt module" off \
X               MAIL_MODULE             "Enable IMAP4/POP3/SMTP proxy module" off \
X               MAIL_IMAP_MODULE        "Enable IMAP4 proxy module" off \
X               MAIL_POP3_MODULE        "Enable POP3 proxy module" off \
X               MAIL_SMTP_MODULE        "Enable SMTP proxy module" off \
X               MAIL_SSL_MODULE         "Enable mail_ssl module" off \
X               WWW                     "Enable html sample files" on \
X               CACHE_PURGE_MODULE      "3rd party cache_purge module" off \
X               ECHO_MODULE             "3rd party echo module" off \
X               HEADERS_MORE_MODULE     "3rd party headers_more module" off \
X               HTTP_ACCEPT_LANGUAGE    "3rd party accept_language module" off \
X               HTTP_ACCESSKEY_MODULE   "3rd party http_accesskey module" off \
X               HTTP_AUTH_PAM_MODULE    "3rd party http_auth_pam module" off \
X               HTTP_AUTH_REQ_MODULE    "3rd party http_auth_request module" off \
X               HTTP_EVAL_MODULE        "3rd party eval module" off \
X               HTTP_FANCYINDEX_MODULE  "3rd party http_fancyindex module" off \
X               HTTP_GUNZIP_FILTER      "3rd party http_gunzip_filter module" off \
X               HTTP_MOGILEFS_MODULE    "3rd party mogilefs module" off \
X               HTTP_MP4_H264_MODULE    "3rd party mp4/h264 module" off \
X               HTTP_NOTICE_MODULE      "3rd party notice module" off \
X               HTTP_PUSH_MODULE        "3rd party push module" off \
X               HTTP_REDIS_MODULE       "3rd party http_redis module" off \
X               HTTP_RESPONSE_MODULE    "3rd party http_response module" off \
X               HTTP_UPLOAD_MODULE      "3rd party upload module" off \
X               HTTP_UPLOAD_PROGRESS    "3rd party uploadprogress module" off \
X               HTTP_UPSTREAM_FAIR      "3rd party upstream fair module" off \
X               HTTP_UPSTREAM_HASH      "3rd party upstream hash module" off \
X               HTTP_UPSTREAM_KEEPALIVE "3rd party upstream keepalive module" off \
X               HTTP_ZIP_MODULE         "3rd party http_zip module" off \
X               MEMC_MODULE             "3rd party memc (memcached) module" off \
X               PASSENGER_MODULE        "3rd party passenger module" off \
X               SLOWFS_CACHE_MODULE     "3rd party slowfs_cache module" off \
X               SUPERVISORD_MODULE      "3rd party supervisord module" off \
X               UDPLOG_MODULE           "3rd party updlog (syslog) module" off \
X               WSGI_MODULE             "3rd party wsgi module" off
X
XWANT_GNOME=    yes
XMAKE_JOBS_SAFE=        yes
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_PASSENGER_MODULE)
XCATEGORIES+=   ruby
XUSE_RUBY=      yes
XUSE_RAKE=      yes
X.endif
X
XNGINX_VARDIR?= /var
XNGINX_LOGDIR?= ${NGINX_VARDIR}/log
XNGINX_RUNDIR?= ${NGINX_VARDIR}/run
XNGINX_TMPDIR?= ${NGINX_VARDIR}/tmp/nginx
XHTTP_PORT?=    80
X
XNGINX_ACCESSLOG?=      ${NGINX_LOGDIR}/nginx-access.log
XNGINX_ERRORLOG?=       ${NGINX_LOGDIR}/nginx-error.log
X
XCONFLICTS?=    nginx-devel-0.*
XUSE_RC_SUBR=   nginx.sh
XSUB_LIST+=     WWWOWN=${WWWOWN}
X
XHAS_CONFIGURE= yes
XCONFIGURE_ARGS+=--prefix=${ETCDIR} \
X               --with-cc-opt="-I ${LOCALBASE}/include" \
X               --with-ld-opt="-L ${LOCALBASE}/lib" \
X               --conf-path=${ETCDIR}/nginx.conf \
X               --sbin-path=${PREFIX}/sbin/nginx \
X               --pid-path=${NGINX_RUNDIR}/nginx.pid \
X               --error-log-path=${NGINX_ERRORLOG} \
X               --user=${WWWOWN} --group=${WWWGRP}
X
X.if defined(WITHOUT_HTTP_MODULE) && defined(WITHOUT_MAIL_MODULE)
XIGNORE=                requires at least HTTP_MODULE or MAIL_MODULE to \
X               be defined.  Please 'make config' again
X.endif
X
X.if defined(WITH_DEBUG)
XCFLAGS+=       -g -DNGX_DEBUG_MALLOC
XSTRIP=         #do not strip if nginx with debug information
X.endif
X
X.if defined(WITH_DEBUGLOG)
XCONFIGURE_ARGS+=--with-debug
X.endif
X
X.if defined(WITH_IPV6)
XCONFIGURE_ARGS+=--with-ipv6
XCATEGORIES+=   ipv6
X.endif
X
X.if defined(WITH_GOOGLE_PERFTOOLS)
XLIB_DEPENDS+=  profiler.0:${PORTSDIR}/devel/google-perftools
XCONFIGURE_ARGS+=--with-google_perftools_module
X.endif
X
X.if defined(WITH_HTTP_MODULE)
XCONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
X               --http-proxy-temp-path=${NGINX_TMPDIR}/proxy_temp \
X               --http-fastcgi-temp-path=${NGINX_TMPDIR}/fastcgi_temp \
X               --http-log-path=${NGINX_ACCESSLOG}
X
X.if defined(WITH_HTTP_ACCEPT_LANGUAGE)
XMASTER_SITES+= ftp://inside01.p8.ru/nginx/:accept_language
XDISTFILES+=    nginx_accept_language_module.tar.gz:accept_language
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_accept_language_module
X.endif
X
X.if defined(WITH_HTTP_ACCESSKEY_MODULE)
XNGINX_ACCESSKEY_MODULE_VERSION=        2.0.3
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
XMASTER_SITE_SUBDIR+=   osa/:accesskey
XDISTFILES+=    nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}.tar.gz:accesskey
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_ADDITION_MODULE)
XCONFIGURE_ARGS+=--with-http_addition_module
X.endif
X
X.if defined(WITH_HTTP_AUTH_PAM_MODULE)
XNGINX_AUTH_PAM_MODULE_VERSION= 1.1
XMASTER_SITES+= http://web.iti.upv.es/~sto/nginx/:auth_pam
XDISTFILES+=    ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}.tar.gz:auth_pam
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_pam_module-${NGINX_AUTH_PAM_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_AUTH_REQ_MODULE)
XNGINX_AUTH_REQ_MODULE_VERSION= 0.2
XMASTER_SITES+= http://mdounin.ru/files/:auth_request
XDISTFILES+=    ngx_http_auth_request_module-${NGINX_AUTH_REQ_MODULE_VERSION}.tar.gz:auth_request
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_auth_request_module-${NGINX_AUTH_REQ_MODULE_VERSION}
X.endif
X
X.if defined(WITHOUT_HTTP_CACHE_MODULE)
XCONFIGURE_ARGS+=--without-http-cache
X.endif
X
X.if defined(WITH_CACHE_PURGE_MODULE)
XNGINX_CACHE_PURGE_MODULE_VERSION=      1.0
XMASTER_SITES+= http://labs.frickle.com/files/:cache_purge
XDISTFILES+=    ngx_cache_purge-${NGINX_CACHE_PURGE_MODULE_VERSION}.tar.gz:cache_purge
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_cache_purge-${NGINX_CACHE_PURGE_MODULE_VERSION}
X.endif
X
X.if defined(WITH_ECHO_MODULE)
XNGINX_ECHO_MODULE_VERSION=     0.26
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:echo/}
XMASTER_SITE_SUBDIR+=   osa/:echo
XDISTFILES+=    ngx_echo_module-${NGINX_ECHO_MODULE_VERSION}.tar.gz:echo
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_echo_module-${NGINX_ECHO_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HEADERS_MORE_MODULE)
XNGINX_HEADERS_MORE_MODULE_VERSION=     0.07
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:headers_more/}
XMASTER_SITE_SUBDIR+=   osa/:headers_more
XDISTFILES+=    ngx_headers_more_module-${NGINX_HEADERS_MORE_MODULE_VERSION}.tar.gz:headers_more
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_headers_more_module-${NGINX_HEADERS_MORE_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_DAV_MODULE)
XCONFIGURE_ARGS+=--with-http_dav_module
X.endif
X
X.if defined(WITH_HTTP_EVAL_MODULE)
XNGINX_EVAL_MODULE_VERSION=     1.0.1
XMASTER_SITES+= http://www.grid.net.ru/nginx/download/:eval
XDISTFILES+=    nginx_eval_module-${NGINX_EVAL_MODULE_VERSION}.tar.gz:eval
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_eval_module-${NGINX_EVAL_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_FANCYINDEX_MODULE)
XNGINX_FANCYINDEX_MODULE_VERSION=       0.2.2
XMASTER_SITES+= http://connectical.com/attachments/download/26/:fancyindex
XDISTFILES+=    ngx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION}.tar.bz2:fancyindex
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_GUNZIP_FILTER)
XNGINX_GUNZIP_FILTER_MODULE_VERSION=    0.3
XMASTER_SITES+= http://mdounin.ru/files/:gunzipfilter
XDISTFILES+=    ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_MODULE_VERSION}.tar.gz:gunzipfilter
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_gunzip_filter_module-${NGINX_GUNZIP_FILTER_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_FLV_MODULE)
XCONFIGURE_ARGS+=--with-http_flv_module
X.endif
X
X.if defined(WITH_HTTP_GZIP_STATIC_MODULE)
XCONFIGURE_ARGS+=--with-http_gzip_static_module
X.endif
X
X.if defined(WITH_HTTP_IMAGE_FILTER_MODULE)
XLIB_DEPENDS+=  gd.4:${PORTSDIR}/graphics/gd
XCONFIGURE_ARGS+=--with-http_image_filter_module
X.endif
X
X.if defined(WITH_HTTP_MOGILEFS_MODULE)
XNGINX_MOGILEFS_MODULE_VERSION= 1.0.3
XMASTER_SITES+= http://www.grid.net.ru/nginx/download/:mogilefs
XDISTFILES+=    nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}.tar.gz:mogilefs
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mogilefs_module-${NGINX_MOGILEFS_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_MP4_H264_MODULE)
XNGINX_H264_MODULE_VERSION=     2.2.7
XMASTER_SITES+= http://h264.code-shop.com/download/:mp4streaming
XDISTFILES+=    nginx_mod_h264_streaming-${NGINX_H264_MODULE_VERSION}.tar.gz:mp4streaming
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_mod_h264_streaming-${NGINX_H264_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_NOTICE_MODULE)
XMASTER_SITES+= http://xph.us/dist/nginx-notice/:notice2
XDISTFILES+=    nginx-notice-2.tar.gz:notice2
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-notice-2
X.endif
X
X.if defined(WITH_HTTP_PERL_MODULE)
XCATEGORIES+=   perl5
XCONFIGURE_ARGS+=--with-http_perl_module
XUSE_PERL5=     yes
X.endif
X
X.if defined(WITH_HTTP_PUSH_MODULE)
XNGINX_PUSH_MODULE_VERSION=     0.692
XMASTER_SITES+= http://pushmodule.slact.net/downloads/:push
XDISTFILES+=    nginx_http_push_module-${NGINX_PUSH_MODULE_VERSION}.tar.gz:push
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_http_push_module-${NGINX_PUSH_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_RANDOM_INDEX_MODULE)
XCONFIGURE_ARGS+=--with-http_random_index_module
X.endif
X
X.if defined(WITH_HTTP_REALIP_MODULE)
XCONFIGURE_ARGS+=--with-http_realip_module
X.endif
X
X.if defined(WITH_HTTP_REDIS_MODULE)
XNGINX_REDIS_MODULE_VERSION=    0.3.1
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/}
XMASTER_SITE_SUBDIR+=   osa/:redis
XDISTFILES+=    ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}.tar.gz:redis
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_RESPONSE_MODULE)
XNGINX_RESPONSE_MODULE_VERSION= 0.3
XMASTER_SITES+= http://catap.ru/downloads/nginx/:response
XDISTFILES+=    ngx_http_response-${NGINX_RESPONSE_MODULE_VERSION}.tar.gz:response
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_response-${NGINX_RESPONSE_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_SECURE_LINK_MODULE)
XCONFIGURE_ARGS+=--with-http_secure_link_module
X.endif
X
X.if defined(WITH_HTTP_SSL_MODULE)
XNGINX_OPENSSL= yes
XCONFIGURE_ARGS+=--with-http_ssl_module
X.endif
X
X.if defined(WITH_HTTP_STATUS_MODULE)
XCONFIGURE_ARGS+=--with-http_stub_status_module
X.endif
X
X.if defined(WITH_HTTP_SUB_MODULE)
XCONFIGURE_ARGS+=--with-http_sub_module
X.endif
X
X.if defined(WITH_HTTP_UPLOAD_MODULE)
XNGINX_UPLOAD_MODULE_VERSION=   2.0.12
XMASTER_SITES+= http://www.grid.net.ru/nginx/download/:upload
XDISTFILES+=    nginx_upload_module-${NGINX_UPLOAD_MODULE_VERSION}.tar.gz:upload
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upload_module-${NGINX_UPLOAD_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_UPLOAD_PROGRESS)
XNGINX_UPLOADPROGRESS_MODULE_VERSION=   0.8
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:uploadprogress/}
XMASTER_SITE_SUBDIR+=   osa/:uploadprogress
XDISTFILES+=    nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_MODULE_VERSION}.tar.gz:uploadprogress
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_MODULE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_UPSTREAM_FAIR) || defined(WITH_SUPERVISORD_MODULE)
XNGINX_UPSTREAM_FAIR_VERSION=   20090923
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
XMASTER_SITE_SUBDIR+=   osa/:upstreamfair
XDISTFILES+=    nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
X.endif
X
X.if defined(WITH_HTTP_UPSTREAM_HASH)
XNGINX_UPSTREAM_HASH_VERSION=   0.3.1
XMASTER_SITES+= http://wiki.nginx.org/images/1/11/:upstreamhash
XDISTFILES+=    Nginx_upstream_hash-${NGINX_UPSTREAM_HASH_VERSION}.tar.gz:upstreamhash
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_hash-${NGINX_UPSTREAM_HASH_VERSION}
X.endif
X
X.if defined(WITH_HTTP_UPSTREAM_KEEPALIVE)
XNGINX_UPSTREAM_KEEPALIVE_VERSION=      0.2
XMASTER_SITES+= http://mdounin.ru/files/:upstream
XDISTFILES+=    ngx_http_upstream_keepalive-${NGINX_UPSTREAM_KEEPALIVE_VERSION}.tar.gz:upstream
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_upstream_keepalive-${NGINX_UPSTREAM_KEEPALIVE_VERSION}
X.endif
X
X.if defined(WITH_HTTP_XSLT_MODULE)
XUSE_GNOME=     libxml2 libxslt
XCONFIGURE_ARGS+=--with-http_xslt_module
X.endif
X
X.if defined(WITH_HTTP_ZIP_MODULE)
XNGINX_ZIP_MODULE_VERSION=      1.1.5
XMASTER_SITES+= ${MASTER_SITE_GOOGLE_CODE}:zip
XPROJECTHOST=   mod-zip
XDISTFILES+=    mod_zip-${NGINX_ZIP_MODULE_VERSION}.tar.gz:zip
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/mod_zip-${NGINX_ZIP_MODULE_VERSION}
X.endif
X
X.if defined(WITH_MEMC_MODULE)
XNGINX_MEMC_MODULE_VERSION=     0.06
XMASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:memc/}
XMASTER_SITE_SUBDIR+=   osa/:memc
XDISTFILES+=    ngx_http_memc_module-${NGINX_MEMC_MODULE_VERSION}.tar.gz:memc
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_memc_module-${NGINX_MEMC_MODULE_VERSION}
X.endif
X
X.if defined(WITHOUT_HTTP_REWRITE_MODULE) || defined(WITHOUT_PCRE)
XPKGNAMESUFFIX:=        ${PKGNAMESUFFIX}-nopcre
XCONFIGURE_ARGS+=--without-http_rewrite_module \
X               --without-pcre
X.else
XLIB_DEPENDS+=  pcre.0:${PORTSDIR}/devel/pcre
XCONFIGURE_ARGS+=--with-pcre
X.endif
X
X.if defined(WITH_PASSENGER_MODULE)
XPASSENGER_VERSION=     2.2.11
XMASTER_SITES+= RF/passenger/:passenger
XDISTFILES+=    passenger-${PASSENGER_VERSION}.tar.gz:passenger
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/passenger-${PASSENGER_VERSION}/ext/nginx
X.endif
X
X.if defined(WITH_SLOWFS_CACHE_MODULE)
XNGINX_SLOWFS_CACHE_MODULE_VERSION=     1.3
XMASTER_SITES+= http://labs.frickle.com/files/:slowfs_cache
XDISTFILES+=    ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_MODULE_VERSION}.tar.gz:slowfs_cache
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_slowfs_cache-${NGINX_SLOWFS_CACHE_MODULE_VERSION}
X.endif
X
X.if defined(WITH_SUPERVISORD_MODULE)
XNGINX_SUPERVISORD_MODULE_VERSION=      1.3
XMASTER_SITES+= http://labs.frickle.com/files/:supervisord
XDISTFILES+=    ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}.tar.gz:supervisord
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}
X.endif
X
X.if defined(WITH_UDPLOG_MODULE)
XNGINX_UDPLOG_MODULE_VERSION=   1.0.0
XMASTER_SITES+= http://www.grid.net.ru/nginx/download/:udplog
XDISTFILES+=    nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}.tar.gz:udplog
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}
X.endif
X
X.if defined(WITH_WSGI_MODULE)
XNGINX_WSGI_MODULE_VERSION=     20100412
XMASTER_SITES+= http://www.khsing.net/downloads/:wsgi
XDISTFILES+=    ngx_mod_wsgi-patched-${NGINX_WSGI_MODULE_VERSION}.tar.gz:wsgi
XCONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_mod_wsgi-patched-${NGINX_WSGI_MODULE_VERSION}
X.endif
X
X.if defined(WITH_WWW)
XPLIST_SUB+=    WWWDATA=""
X.else
XPLIST_SUB+=    WWWDATA="@comment "
X.endif
X
X.else
XCONFIGURE_ARGS+=--without-http
XPLIST_SUB+=    WWWDATA="@comment "
X.endif         # WITH_HTTP_MODULE
X
X.if defined(WITH_MAIL_MODULE)
XCONFIGURE_ARGS+=--with-mail
X.if defined(WITHOUT_MAIL_IMAP_MODULE)
XCONFIGURE_ARGS+=--without-mail_imap_module
X.endif
X.if defined(WITHOUT_MAIL_POP3_MODULE)
XCONFIGURE_ARGS+=--without-mail_pop3_module
X.endif
X.if defined(WITHOUT_MAIL_SMTP_MODULE)
XCONFIGURE_ARGS+=--without-mail_smtp_module
X.endif
X.if defined(WITH_MAIL_SSL_MODULE)
XNGINX_OPENSSL= yes
XCONFIGURE_ARGS+=--with-mail_ssl_module
X.endif
X.endif         # WITH_MAIL_MODULE
X
X.if defined(NGINX_OPENSSL)
XUSE_OPENSSL=   yes
X.endif
X
XPLIST_SUB+=    NGINX_TMPDIR=${NGINX_TMPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
X
X.include <bsd.port.pre.mk>
X
Xpre-everything::
X       @${ECHO_MSG}
X.if defined(WITH_HTTP_UPSTREAM_FAIR)
X       @${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support"
X.endif
X.if defined(WITH_PASSENGER_MODULE)
X       @${ECHO_MSG} "This port install Passenger module only"
X.endif
X       @${ECHO_MSG}
X
Xpost-patch:
X       @${REINPLACE_CMD} 's!%%HTTP_PORT%%!${HTTP_PORT}!; \
X               s!%%PREFIX%%!${PREFIX}!' \
X               ${WRKSRC}/conf/nginx.conf
X.if defined(WITH_HTTP_ACCESSKEY_MODULE)
X       @${REINPLACE_CMD} \
X               's!$$HTTP_ACCESSKEY_MODULE!ngx_http_accesskey_module!' \
X               ${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}/config
X.endif
X.if defined(WITH_HTTP_NOTICE_MODULE)
X       @${PATCH} ${PATCH_ARGS} < \
X               ${PATCHDIR}/extra-patch-ngx_http_notice_module.c
X.endif
X.if defined(WITH_PASSENGER_MODULE)
X       @${REINPLACE_CMD} 's!g++!${CXX}!' \
X               ${WRKDIR}/passenger-${PASSENGER_VERSION}/Rakefile
X       @${REINPLACE_CMD} '377s!-g!${CXXFLAGS}!; \
X               s!-lpthread!${PTHREAD_LIBS}!g' \
X               ${WRKDIR}/passenger-${PASSENGER_VERSION}/lib/phusion_passenger/platform_info.rb
X.endif
X.if defined(WITH_HTTP_UPSTREAM_HASH)
X       @${PATCH} ${PATCH_ARGS} < \
X               ${PATCHDIR}/extra-patch-ngx_http_upstream.h
X.endif
X.if defined(WITH_SUPERVISORD_MODULE)
X       ( cd ${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION} && \
X               ${PATCH} -p0 < \
X                       ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}/patches/ngx_http_upstream_fair_module.patch )
X       ( cd ${WRKSRC} && \
X               ${PATCH} -p0 < \
X                       ${WRKDIR}/ngx_supervisord-${NGINX_SUPERVISORD_MODULE_VERSION}/patches/ngx_http_upstream_init_busy-0.8.0.patch )
X.endif
X
Xdo-build:
X       @cd ${WRKSRC} && ${MAKE}
X
Xdo-install:
X       ${MKDIR} ${ETCDIR} ${NGINX_TMPDIR}
X       ${CHOWN} ${WWWOWN}:${WWWGRP} ${NGINX_TMPDIR}
X       ${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${PREFIX}/sbin
X.for i in koi-win koi-utf win-utf fastcgi_params
X       ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}
X.endfor
X.for i in mime.types nginx.conf
X       [ -f ${ETCDIR}/${i} ] || \
X               ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}
X       ${INSTALL_DATA} ${WRKSRC}/conf/${i} ${ETCDIR}/${i}-dist
X.endfor
X.if defined(WITH_HTTP_MODULE) && defined(WITH_WWW)
X       ${MKDIR} ${PREFIX}/www/nginx-dist
X.for i in index.html 50x.html
X       ${INSTALL_DATA} ${WRKSRC}/html/${i} ${PREFIX}/www/nginx-dist
X.endfor
X       ${ECHO_CMD} "" >>${PREFIX}/www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
X       [ -e ${PREFIX}/www/nginx ] || \
X               ${LN} -sf ${PREFIX}/www/nginx-dist ${PREFIX}/www/nginx
X.endif
X
X.if defined(WITH_HTTP_MODULE) && defined(WITH_HTTP_PERL_MODULE)
X       ${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto/nginx
X       ${INSTALL_PROGRAM} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
X               ${SITE_PERL}/${PERL_ARCH}/auto/nginx
X       ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.bs \
X               ${SITE_PERL}/${PERL_ARCH}/auto/nginx
X       ${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
X               ${SITE_PERL}/${PERL_ARCH}/
X.endif
X
Xpost-install:
X.if defined(WITH_HTTP_MODULE) && defined(WITH_HTTP_PERL_MODULE)
X       ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.so >> ${TMPPLIST}
X       ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx/nginx.bs >> ${TMPPLIST}
X       ${ECHO_CMD} ${SITE_PERL_REL}/${PERL_ARCH}/nginx.pm >> ${TMPPLIST}
X       ${ECHO_CMD} @dirrm ${SITE_PERL_REL}/${PERL_ARCH}/auto/nginx >> ${TMPPLIST}
X.endif
X
X.include <bsd.port.post.mk>
b67911656ef5d18c4ae36cb6741b7965
echo x - distinfo
sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f'
XMD5 (nginx-0.7.65.tar.gz) = abc4f76af450eedeb063158bd963feaa
XSHA256 (nginx-0.7.65.tar.gz) = c9f0ccaf5a09b01edf991f3adde8fced9361965838c0982112fa5c92aa2ec33a
XSIZE (nginx-0.7.65.tar.gz) = 604451
XMD5 (ngx_mod_wsgi-patched-20100412.tar.gz) = b2b116b08bfbee20b62411ecb9d4c8c9
XSHA256 (ngx_mod_wsgi-patched-20100412.tar.gz) = baa2f631c4d068d53d796993c701863afbf9fb465ea33ed592e9ff333a30b4d8
XSIZE (ngx_mod_wsgi-patched-20100412.tar.gz) = 56599
57677d168a5ec21bdf22c9501f075a8f
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - pkg-descr
sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979'
XAnother one small and robust www server, supports
Xkqueue (EV_CLEAR, EV_DISABLE, NOTE_LOWAT, EV_EOF, etc.),
Xselect, poll, sendfile.
X
XWWW: http://sysoev.ru/nginx/
7f9555c3c1089940396b503dd37f3979
echo x - pkg-plist
sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742'
X@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.12 2008/10/15 07:36:38 osa Exp $
X%%ETCDIR%%/fastcgi_params
X%%ETCDIR%%/koi-utf
X%%ETCDIR%%/koi-win
X%%ETCDIR%%/win-utf
X@unexec if cmp -s %D/%%ETCDIR%%/mime.types-dist %D/%%ETCDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi
X%%ETCDIR%%/mime.types-dist
X@exec if [ ! -f %D/%%ETCDIR%%/mime.types ] ; then cp -p %D/%F %B/mime.types; fi
X@unexec if cmp -s %D/%%ETCDIR%%/nginx.conf-dist %D/%%ETCDIR%%/nginx.conf; then rm -f %D/%%ETCDIR%%/nginx.conf; fi
X%%ETCDIR%%/nginx.conf-dist
X@exec if [ ! -f %D/%%ETCDIR%%/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
X@dirrmtry %%ETCDIR%%
X%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
X%%WWWDATA%%@exec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi
X%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
X%%WWWDATA%%www/nginx-dist/index.html
X%%WWWDATA%%www/nginx-dist/50x.html
X%%WWWDATA%%@exec chmod a-w www/nginx-dist
X%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
X%%WWWDATA%%@dirrmtry www/nginx-dist
Xsbin/nginx
X@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
X@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%
X@unexec if [ -z ${UPGRADE_PORT} ] ; then rm -fr %%NGINX_TMPDIR%%; fi
842cde48cf18b70a11b15515ca566742
exit


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->osa 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 12 09:50:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145645 
State-Changed-From-To: open->analyzed 
State-Changed-By: osa 
State-Changed-When: Mon Apr 12 11:38:05 UTC 2010 
State-Changed-Why:  
Could you please submit changes against current version of www/nginx? 
Thank you. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145645 

From: khsing <khsing.cn@gmail.com>
To: bug-followup@freebsd.org, osa@freebsd.org
Cc:  
Subject: Re: ports/145645: Update port: www/nginx
Date: Wed, 14 Apr 2010 10:32:16 +0800

 --0016363b8f00f274d304842930e2
 Content-Type: text/plain; charset=UTF-8
 
 Yes, here is patch which against current version of www/nginx.
 
 host# diff -Bu Makefile.orgi Makefile
 --- Makefile.orig       2010-04-08 19:08:04.000000000 +0800
 +++ Makefile    2010-04-14 10:02:01.569136477 +0800
 @@ -68,7 +68,8 @@
                 PASSENGER_MODULE        "3rd party passenger module" off \
                 SLOWFS_CACHE_MODULE     "3rd party slowfs_cache module" off
 \
                 SUPERVISORD_MODULE      "3rd party supervisord module" off \
 -               UDPLOG_MODULE           "3rd party updlog (syslog) module"
 off
 +               UDPLOG_MODULE           "3rd party updlog (syslog) module"
 off \
 +               WSGI_MODULE             "3rd party wsgi module" off
 
  WANT_GNOME=    yes
  MAKE_JOBS_SAFE=        yes
 @@ -399,6 +400,13 @@
  CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}
  .endif
 
 +.if defined(WITH_WSGI_MODULE)
 +NGINX_WSGI_MODULE_VERSION=     20100412
 +MASTER_SITES+= http://www.khsing.net/downloads/:wsgi
 +DISTFILES+=
  ngx_mod_wsgi-patched-${NGINX_WSGI_MODULE_VERSION}.tar.gz:wsgi
 +CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_mod_wsgi-patched-${NGINX_WSGI_MODULE_VERSION}
 +.endif
 +
  .if defined(WITH_WWW)
  PLIST_SUB+=    WWWDATA=""
  .else
 
 
 -- 
 A man live in jail and want to break.
 http://blog.khsing.net
 
 --0016363b8f00f274d304842930e2
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 Yes, here is patch which against current version of www/nginx.<div><br></di=
 v><div><div>host# diff -Bu Makefile.orgi Makefile</div><div>--- Makefile.or=
 ig =C2=A0 =C2=A0 =C2=A0 2010-04-08 19:08:04.000000000 +0800</div><div>+++ M=
 akefile =C2=A0 =C2=A02010-04-14 10:02:01.569136477 +0800</div>
 
 <div>@@ -68,7 +68,8 @@</div><div>=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0PASSENGER_MODULE =C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;3rd p=
 arty passenger module&quot; off \</div><div>=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SLOWFS_CACHE_MODULE =C2=A0 =C2=A0 &quot;3rd =
 party slowfs_cache module&quot; off \</div>
 
 <div>=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0SUPERVISO=
 RD_MODULE =C2=A0 =C2=A0 =C2=A0&quot;3rd party supervisord module&quot; off =
 \</div><div>- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 UDPLOG_MODUL=
 E =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;3rd party updlog (syslog) module=
 &quot; off</div><div>+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 UDP=
 LOG_MODULE =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;3rd party updlog (syslo=
 g) module&quot; off \</div>
 
 <div>+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 WSGI_MODULE =C2=A0 =
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;3rd party wsgi module&quot; off=C2=
 =A0</div><div>=C2=A0</div><div>=C2=A0WANT_GNOME=3D =C2=A0 =C2=A0yes</div><d=
 iv>=C2=A0MAKE_JOBS_SAFE=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0yes</div><div>@@ -399=
 ,6 +400,13 @@</div><div>=C2=A0CONFIGURE_ARGS+=3D--add-module=3D${WRKDIR}/ng=
 inx_udplog_module-${NGINX_UDPLOG_MODULE_VERSION}</div>
 
 <div>=C2=A0.endif</div><div>=C2=A0</div><div>+.if defined(WITH_WSGI_MODULE)=
 </div><div>+NGINX_WSGI_MODULE_VERSION=3D =C2=A0 =C2=A0 20100412</div><div>+=
 MASTER_SITES+=3D <a href=3D"http://www.khsing.net/downloads/:wsgi">http://w=
 ww.khsing.net/downloads/:wsgi</a></div>
 
 <div>+DISTFILES+=3D =C2=A0 =C2=A0ngx_mod_wsgi-patched-${NGINX_WSGI_MODULE_V=
 ERSION}.tar.gz:wsgi</div><div>+CONFIGURE_ARGS+=3D--add-module=3D${WRKDIR}/n=
 gx_mod_wsgi-patched-${NGINX_WSGI_MODULE_VERSION}</div><div>+.endif</div><di=
 v>+</div><div>
 
 =C2=A0.if defined(WITH_WWW)</div><div>=C2=A0PLIST_SUB+=3D =C2=A0 =C2=A0WWWD=
 ATA=3D&quot;&quot;</div><div>=C2=A0.else</div><div><br></div><br>-- <br>A m=
 an live in jail and want to break.<br><a href=3D"http://blog.khsing.net">ht=
 tp://blog.khsing.net</a><br>
 
 
 </div>
 
 --0016363b8f00f274d304842930e2--

From: khsing <khsing.cn@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/145645: Update port: www/nginx
Date: Wed, 21 Apr 2010 10:09:28 +0800

 --00163628499a479a9b0484b5b017
 Content-Type: text/plain; charset=UTF-8
 
 May be the last followup of me is not correct or the format of mail is correct.
 
 So I submit it again.
 
 
 -- 
 A man live in jail and want to break.
 http://blog.khsing.net
 
 --00163628499a479a9b0484b5b017
 Content-Type: text/plain; charset=US-ASCII; name="Makefile.patch.txt"
 Content-Disposition: attachment; filename="Makefile.patch.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_g89i9hz80
 
 LS0tIE1ha2VmaWxlLm9yZ2kJMjAxMC0wNC0wOCAxOTowODowNC4wMDAwMDAwMDAgKzA4MDAKKysr
 IE1ha2VmaWxlCTIwMTAtMDQtMTQgMTA6MDI6MDEuNTY5MTM2NDc3ICswODAwCkBAIC02OCw3ICs2
 OCw4IEBACiAJCVBBU1NFTkdFUl9NT0RVTEUJIjNyZCBwYXJ0eSBwYXNzZW5nZXIgbW9kdWxlIiBv
 ZmYgXAogCQlTTE9XRlNfQ0FDSEVfTU9EVUxFCSIzcmQgcGFydHkgc2xvd2ZzX2NhY2hlIG1vZHVs
 ZSIgb2ZmIFwKIAkJU1VQRVJWSVNPUkRfTU9EVUxFCSIzcmQgcGFydHkgc3VwZXJ2aXNvcmQgbW9k
 dWxlIiBvZmYgXAotCQlVRFBMT0dfTU9EVUxFCQkiM3JkIHBhcnR5IHVwZGxvZyAoc3lzbG9nKSBt
 b2R1bGUiIG9mZgorCQlVRFBMT0dfTU9EVUxFCQkiM3JkIHBhcnR5IHVwZGxvZyAoc3lzbG9nKSBt
 b2R1bGUiIG9mZiBcCisJCVdTR0lfTU9EVUxFCQkiM3JkIHBhcnR5IHdzZ2kgbW9kdWxlIiBvZmYg
 CiAKIFdBTlRfR05PTUU9CXllcwogTUFLRV9KT0JTX1NBRkU9CXllcwpAQCAtMzk5LDYgKzQwMCwx
 MyBAQAogQ09ORklHVVJFX0FSR1MrPS0tYWRkLW1vZHVsZT0ke1dSS0RJUn0vbmdpbnhfdWRwbG9n
 X21vZHVsZS0ke05HSU5YX1VEUExPR19NT0RVTEVfVkVSU0lPTn0KIC5lbmRpZgogCisuaWYgZGVm
 aW5lZChXSVRIX1dTR0lfTU9EVUxFKQorTkdJTlhfV1NHSV9NT0RVTEVfVkVSU0lPTj0JMjAxMDA0
 MTIKK01BU1RFUl9TSVRFUys9CWh0dHA6Ly93d3cua2hzaW5nLm5ldC9kb3dubG9hZHMvOndzZ2kK
 K0RJU1RGSUxFUys9CW5neF9tb2Rfd3NnaS1wYXRjaGVkLSR7TkdJTlhfV1NHSV9NT0RVTEVfVkVS
 U0lPTn0udGFyLmd6OndzZ2kKK0NPTkZJR1VSRV9BUkdTKz0tLWFkZC1tb2R1bGU9JHtXUktESVJ9
 L25neF9tb2Rfd3NnaS1wYXRjaGVkLSR7TkdJTlhfV1NHSV9NT0RVTEVfVkVSU0lPTn0KKy5lbmRp
 ZgorCiAuaWYgZGVmaW5lZChXSVRIX1dXVykKIFBMSVNUX1NVQis9CVdXV0RBVEE9IiIKIC5lbHNl
 Cg==
 --00163628499a479a9b0484b5b017--
State-Changed-From-To: analyzed->feedback 
State-Changed-By: osa 
State-Changed-When: Fri Apr 30 04:26:41 UTC 2010 
State-Changed-Why:  
I'd like close this PR, because of answer from Manlio Perillo 
<manlio_perillo@libero.it>, module's author. 

<answer> 
If you are going to include the ngx_http_wsgi module in the main nginx 
port, then I think it is a bad idea. 

The reason is that the main Nginx port should not allow execution of 
custom application code, like Python scripts. 

They are still under development. 
Current (in my local repo) ngx_http_wsgi module now depends on 
ngx_python and a new ngx_http_gateway modules. 

</answer> 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145645 
State-Changed-From-To: feedback->closed 
State-Changed-By: osa 
State-Changed-When: Fri Apr 30 07:24:29 UTC 2010 
State-Changed-Why:  
Closed by originator request.  Thank you. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145645 
>Unformatted:
