From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 2 14:00:22 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 757C01065672 for ; Mon, 2 Jul 2012 14:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4E31D8FC18 for ; Mon, 2 Jul 2012 14:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q62E0LrD044364 for ; Mon, 2 Jul 2012 14:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q62E0LXY044363; Mon, 2 Jul 2012 14:00:21 GMT (envelope-from gnats) Resent-Date: Mon, 2 Jul 2012 14:00:21 GMT Resent-Message-Id: <201207021400.q62E0LXY044363@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexey Markov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70EE41065676 for ; Mon, 2 Jul 2012 13:56:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB538FC0C for ; Mon, 2 Jul 2012 13:56:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q62DunlS024044 for ; Mon, 2 Jul 2012 13:56:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q62Dunnv024043; Mon, 2 Jul 2012 13:56:49 GMT (envelope-from nobody) Message-Id: <201207021356.q62Dunnv024043@red.freebsd.org> Date: Mon, 2 Jul 2012 13:56:49 GMT From: Alexey Markov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/169602: www/nginx port update for latest nginx-upload-progress module X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 14:00:22 -0000 >Number: 169602 >Category: ports >Synopsis: www/nginx port update for latest nginx-upload-progress module >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 02 14:00:21 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: 8.3-RELEASE-p3 >Organization: JSC Complitex >Environment: FreeBSD host.redrat.ru 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jul 2 09:31:41 MSK 2012 redrat@host.redrat.ru:/mnt/arc/obj/mnt/arc/src/sys/HOST i386 >Description: The new version 0.9.0 of nginx-upload-progress-module available on developer site, and a tarball of previous version 0.8.3. is gone. So, this patch updates www/nginx port to use the latest version of nginx-upload-progress module. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2012-06-30 01:01:03.000000000 +0400 +++ Makefile 2012-07-02 17:24:27.000000000 +0400 @@ -484,12 +484,12 @@ .endif .if ${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} -NGINX_UPLOADPROGRESS_VERSION= 0.8.3 -GIT_UPLOADPROGRESS_VERSION= 0-gc7c663f +NGINX_UPLOADPROGRESS_VERSION= 0.9.0 +GIT_UPLOADPROGRESS_VERSION= a788dea FETCH_ARGS= -pRr -MASTER_SITES+= https://github.com/masterzen/nginx-upload-progress-module/tarball/v${NGINX_UPLOADPROGRESS_VERSION}/:uploadprogress -DISTFILES+= masterzen-nginx-upload-progress-module-v${NGINX_UPLOADPROGRESS_VERSION}-${GIT_UPLOADPROGRESS_VERSION}.tar.gz:uploadprogress -CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${GIT_UPLOADPROGRESS_VERSION:S/^0-g//} +MASTER_SITES+= https://github.com/downloads/masterzen/nginx-upload-progress-module/nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_VERSION}.tar.gz:uploadprogress +DISTFILES+= nginx_uploadprogress_module-${NGINX_UPLOADPROGRESS_VERSION}.tar.gz:uploadprogress +CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${GIT_UPLOADPROGRESS_VERSION} EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_uploadprogress_module.c .endif --- distinfo.orig 2012-06-22 21:59:13.000000000 +0400 +++ distinfo 2012-07-02 17:23:58.000000000 +0400 @@ -40,8 +40,8 @@ SIZE (ngx_http_subs_filter_module-0.5.2.r59.tar.gz) = 95092 SHA256 (nginx_upload_module-2.2.0.tar.gz) = b1c26abe0427180602e257627b4ed21848c93cc20cefc33af084983767d65805 SIZE (nginx_upload_module-2.2.0.tar.gz) = 25796 -SHA256 (masterzen-nginx-upload-progress-module-v0.8.3-0-gc7c663f.tar.gz) = f391da7fd1a89bd65e852182b6cbc746289cd10c83b211be18e703ff3e3986ae -SIZE (masterzen-nginx-upload-progress-module-v0.8.3-0-gc7c663f.tar.gz) = 16694 +SHA256 (nginx_uploadprogress_module-0.9.0.tar.gz) = 3fb903dab595cf6656fa0fc5743a48daffbba2f6b5c554836be630800eaad4e2 +SIZE (nginx_uploadprogress_module-0.9.0.tar.gz) = 17020 SHA256 (nginx_upstream_fair-20090923.tar.gz) = ec9ed7f856263e17faadee3dc7209932364ded4e546b829841c2454aa432450b SIZE (nginx_upstream_fair-20090923.tar.gz) = 10024 SHA256 (Nginx_upstream_hash-0.3.1.tar.gz) = 51929c5352d4c2608b3f852987830be08b6946baf20da346fe520d9b12e39968 --- files/extra-patch-ngx_http_uploadprogress_module.c.orig 2012-04-23 18:01:35.000000000 +0400 +++ files/extra-patch-ngx_http_uploadprogress_module.c 2012-07-02 17:36:38.000000000 +0400 @@ -1,6 +1,6 @@ ---- ../masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c.orig 2012-02-15 19:50:03.000000000 +0400 -+++ ../masterzen-nginx-upload-progress-module-c7c663f/ngx_http_uploadprogress_module.c 2012-02-15 19:53:58.000000000 +0400 -@@ -1446,18 +1446,12 @@ +--- ../masterzen-nginx-upload-progress-module-a788dea/ngx_http_uploadprogress_module.c.orig 2012-04-06 22:20:22.000000000 +0400 ++++ ../masterzen-nginx-upload-progress-module-a788dea/ngx_http_uploadprogress_module.c 2012-07-02 17:31:28.000000000 +0400 +@@ -1444,7 +1444,7 @@ lzcf->timeout = ngx_parse_time(&value[2], 1); @@ -11,12 +11,6 @@ return NGX_CONF_ERROR; } -- if (lzcf->timeout == NGX_PARSE_LARGE_TIME) { -- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, -- "track_uploads \"%V\" timeout value must be less than 68 years", &value[1]); -- return NGX_CONF_ERROR; -- } -- clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); lzcf->handler = clcf->handler; if ( lzcf->handler == NULL ) >Release-Note: >Audit-Trail: >Unformatted: