ports/188967: [update] [patch] [fix] www/nginx-devel tcp_proxy module
Nikolai Lifanov
lifanov at mail.lifanov.com
Thu Apr 24 15:30:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list