From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 24 15:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0862D25 for ; Thu, 24 Apr 2014 15:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFCF118CD for ; Thu, 24 Apr 2014 15:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3OFU0M1008640 for ; Thu, 24 Apr 2014 15:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3OFU061008629; Thu, 24 Apr 2014 15:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 24 Apr 2014 15:30:00 GMT Resent-Message-Id: <201404241530.s3OFU061008629@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, Nikolai Lifanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53124B17 for ; Thu, 24 Apr 2014 15:25:34 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FD8C186D for ; Thu, 24 Apr 2014 15:25:34 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 1001) id 08F141AFDF5; Thu, 24 Apr 2014 11:25:34 -0400 (EDT) Message-Id: <20140424152534.08F141AFDF5@mail.lifanov.com> Date: Thu, 24 Apr 2014 11:25:34 -0400 (EDT) From: Nikolai Lifanov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/188967: [update] [patch] [fix] www/nginx-devel tcp_proxy module X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Nikolai Lifanov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 15:30:01 -0000 >Number: 188967 >Category: ports >Synopsis: [update] [patch] [fix] www/nginx-devel tcp_proxy module >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 24 15:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Nikolai Lifanov >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD mail.lifanov.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: As indicated by the IGNORE line (which is honest: this module does not work), tcp_proxy module needs to be updated to work with this version of nginx. Please apply the attached patch to update it to a working version. >How-To-Repeat: Try installing www/nginx-devel with TCP_PROXY option. >Fix: Apply this patch. --- nginx-devel.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 352011) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.5.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= ${MASTER_SITE_LOCAL} @@ -746,12 +746,11 @@ .endif .if ${PORT_OPTIONS:MTCP_PROXY} -IGNORE= TCP_PROXY: update require -NGINX_TCP_PROXY_VERSION= 0.26 -GIT_TCP_PROXY_VERSION= 0-gb83e5a6 +NGINX_TCP_PROXY_VERSION= 0.4.5 +GIT_TCP_PROXY_VERSION= 0-d22f52b MASTER_SITES+= https://github.com/yaoweibin/nginx_tcp_proxy_module/tarball/v${NGINX_TCP_PROXY_VERSION}/:tcp_proxy DISTFILES+= yaoweibin-nginx_tcp_proxy_module-v${NGINX_TCP_PROXY_VERSION}-${GIT_TCP_PROXY_VERSION}.tar.gz:tcp_proxy -CONFIGURE_ARGS+=--add-module=${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//} +CONFIGURE_ARGS+=--add-module=${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-//} .endif .if ${PORT_OPTIONS:MUDPLOG} @@ -947,7 +946,7 @@ .if ${PORT_OPTIONS:MTCP_PROXY} ( cd ${WRKSRC} && \ ${PATCH} -p1 < \ - ${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-g//}/tcp.patch ) + ${WRKDIR}/yaoweibin-nginx_tcp_proxy_module-${GIT_TCP_PROXY_VERSION:S/^0-//}/tcp.patch ) .endif .if ${PORT_OPTIONS:MICONV} @${REINPLACE_CMD} \ Index: distinfo =================================================================== --- distinfo (revision 352011) +++ distinfo (working copy) @@ -96,8 +96,8 @@ SIZE (agentzh-srcache-nginx-module-v0.25-0-gf25fe90.tar.gz) = 57291 SHA256 (ngx_supervisord-1.4.tar.gz) = 0954a4efb1b955692acf523e169221146d6aa93ad1643c9f2482f75a1fbf9e3b SIZE (ngx_supervisord-1.4.tar.gz) = 19351 -SHA256 (yaoweibin-nginx_tcp_proxy_module-v0.26-0-gb83e5a6.tar.gz) = 4d843b8d0511b269382938ba5546f902ec24dbfa76c12f6bd6961d7aaaf3866a -SIZE (yaoweibin-nginx_tcp_proxy_module-v0.26-0-gb83e5a6.tar.gz) = 127346 +SHA256 (yaoweibin-nginx_tcp_proxy_module-v0.4.5-0-d22f52b.tar.gz) = 1bf75f75e2c9c2c03a7cf88b7d37cb0180fbe60c80d9d26b46c9847089e96f26 +SIZE (yaoweibin-nginx_tcp_proxy_module-v0.4.5-0-d22f52b.tar.gz) = 155317 SHA256 (nginx_udplog_module-1.0.0.tar.gz) = e0c0bfa524c3a675ad6c08b916d08e57ef45f9818cb8a0d848c2c83785c6e659 SIZE (nginx_udplog_module-1.0.0.tar.gz) = 6284 SHA256 (gabor-nginx-x-rid-header-0daa3cc.tar.gz) = 136239b8f9ab2fbefb2aabc6897d3f12cc8063ce817901f9b8a624e12fbc6035 --- nginx-devel.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: