ports/167494: www/nginx - Feature Request - Add Upstream Sticky module to Nginx
Michael Carlson
mike at bayphoto.com
Tue May 1 17:30:12 UTC 2012
>Number: 167494
>Category: ports
>Synopsis: www/nginx - Feature Request - Add Upstream Sticky module to Nginx
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 01 17:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Michael Carlson
>Release: 9.0-RELEASE
>Organization:
Bay Photo Lab
>Environment:
FreeBSD www-lb-01.bayphoto.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I would like to see the upstream sticky module added to www/nginx
See nginx_patch.txt
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- /usr/ports/www/nginx/Makefile 2012-04-26 01:11:11.000000000 -0700
+++ /root/nginx/Makefile 2012-05-01 09:07:03.704835898 -0700
@@ -72,6 +72,7 @@
HTTP_UPLOAD_PROGRESS "3rd party uploadprogress module" off \
HTTP_UPSTREAM_FAIR "3rd party upstream fair module" off \
HTTP_UPSTREAM_HASH "3rd party upstream hash module" off \
+ HTTP_UPSTREAM_STICKY "3rd party upstream sticky module" off \
HTTP_ZIP_MODULE "3rd party http_zip module" off \
ARRAYVAR_MODULE "3rd party array_var module" off \
CHUNKIN_MODULE "3rd party chunkin module" off \
@@ -423,6 +424,14 @@
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_upstream.h
.endif
+.if defined(WITH_HTTP_UPSTREAM_STICKY)
+NGINX_UPSTREAM_STICKY_VERSION= 1.0
+MASTER_SITES+= http://nginx-sticky-module.googlecode.com/files/:upstreamsticky
+DISTFILES+= nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}.tar.gz:upstreamsticky
+CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-sticky-module-${NGINX_UPSTREAM_STICKY_VERSION}
+.endif
+
+
.if defined(WITH_HTTP_XSLT_MODULE)
USE_GNOME= libxml2 libxslt
CONFIGURE_ARGS+=--with-http_xslt_module
diff -u /usr/ports/www/nginx/distinfo /root/nginx/distinfo
--- /usr/ports/www/nginx/distinfo 2012-04-26 01:11:11.000000000 -0700
+++ /root/nginx/distinfo 2012-05-01 09:17:54.438836199 -0700
@@ -46,6 +46,8 @@
SIZE (nginx_upstream_fair-20090923.tar.gz) = 10024
SHA256 (Nginx_upstream_hash-0.3.1.tar.gz) = 51929c5352d4c2608b3f852987830be08b6946baf20da346fe520d9b12e39968
SIZE (Nginx_upstream_hash-0.3.1.tar.gz) = 5049
+SHA256 (nginx-sticky-module-1.0.tar.gz) = 415beaac0dd229c271128b461f6059601f4889714b548b20a4720fc5f0a86b60
+SIZE (nginx-sticky-module-1.0.tar.gz) = 114184
SHA256 (mod_zip-1.1.6.tar.gz) = d30546b4be8308c721df0240ebc38c474c6b577381a110321eded6dbed5104b1
SIZE (mod_zip-1.1.6.tar.gz) = 21991
SHA256 (agentzh-chunkin-nginx-module-v0.22rc1-0-gb0a3ee3.tar.gz) = 23c41a6743803f8521c55b9c76d5c35b20e9870576478ce9152d2ecddffbf2ca
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list