Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 14:54:08 GMT
From:      Ross West <freebsd@linepoint.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144856: [Patch][Maintainer Update] net/haproxy: v1.4.1 -> v1.4.2
Message-ID:  <201003181454.o2IEs8qh015126@www.freebsd.org>
Resent-Message-ID: <201003181500.o2IF0Bn8038839@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144856
>Category:       ports
>Synopsis:       [Patch][Maintainer Update] net/haproxy: v1.4.1 -> v1.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 15:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ross West
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
FreeBSD x.y.z 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 21:11:58 UTC 2010     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Fixes critical signal related bug (MSG_NOSIGNAL) and a few others.

Info from the release notice:

Those running on 1.4 should really upgrade as there is a risk of
response truncation when using the chunked transfer encoding,
the anonymous ACLs don't work as expected, the on-error server
check speedup may be trigger by clients, the url_param hash may
return a dead server, and it's possible to sometimes keep an
erroneous connection forever when using keep-alive and pipelining.
That's a lot of issues, and there were other ones, please check
the changelog.
>How-To-Repeat:

>Fix:
See patch

Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/net/haproxy.1.4.1/Makefile /usr/ports/net/haproxy/Makefile
--- /usr/ports/net/haproxy.1.4.1/Makefile       2010-03-15 21:39:44.000000000 -0400
+++ /usr/ports/net/haproxy/Makefile     2010-03-18 09:48:45.000000000 -0400
@@ -6,7 +6,7 @@
 #

 PORTNAME=      haproxy
-PORTVERSION=   1.4.1
+PORTVERSION=   1.4.2
 CATEGORIES=    net www
 MASTER_SITES=  http://haproxy.1wt.eu/download/1.4/src/

diff -ruN --exclude=CVS /usr/ports/net/haproxy.1.4.1/distinfo /usr/ports/net/haproxy/distinfo
--- /usr/ports/net/haproxy.1.4.1/distinfo       2010-03-15 21:39:44.000000000 -0400
+++ /usr/ports/net/haproxy/distinfo     2010-03-18 09:48:51.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (haproxy-1.4.1.tar.gz) = 7f27c2dec3d67fce1b113be5fe878c33
-SHA256 (haproxy-1.4.1.tar.gz) = 7f13346d9790c07e64133d3c6eccf72817c627da29aaba67814b6defea6cf1b3
-SIZE (haproxy-1.4.1.tar.gz) = 757025
+MD5 (haproxy-1.4.2.tar.gz) = 825c2c77257f0a2099e193bc690ffd60
+SHA256 (haproxy-1.4.2.tar.gz) = 2a5c820f6088ddbe013427331363fe0ef07631096682da89cc8c4b0fff25b9b8
+SIZE (haproxy-1.4.2.tar.gz) = 759871
diff -ruN --exclude=CVS /usr/ports/net/haproxy.1.4.1/files/patch-src-dumpstats.c /usr/ports/net/haproxy/files/patch-src-dumpstats.c
--- /usr/ports/net/haproxy.1.4.1/files/patch-src-dumpstats.c    1969-12-31 19:00:00.000000000 -0500
+++ /usr/ports/net/haproxy/files/patch-src-dumpstats.c  2010-03-18 10:17:50.000000000 -0400
@@ -0,0 +1,20 @@
+--- src/dumpstats.c.orig       2010-03-18 10:14:55.000000000 -0400
++++ src/dumpstats.c    2010-03-18 10:15:22.000000000 -0400
+@@ -2458,7 +2458,7 @@
+
+               chunk_printf(&msg,
+                            " wex=%s\n"
+-                           "      data=%p r=%d w=%d lr=%d total=%lld\n",
++                           "      data=%p r=%ld w=%ld lr=%ld total=%lld\n",
+                            sess->req->wex ?
+                            human_time(TICKS_TO_MS(sess->req->wex - now_ms),
+                                       TICKS_TO_MS(1000)) : "<NEVER>",
+@@ -2488,7 +2488,7 @@
+
+               chunk_printf(&msg,
+                            " wex=%s\n"
+-                           "      data=%p r=%d w=%d lr=%d total=%lld\n",
++                           "      data=%p r=%ld w=%ld lr=%ld total=%lld\n",
+                            sess->rep->wex ?
+                            human_time(TICKS_TO_MS(sess->rep->wex - now_ms),
+                                       TICKS_TO_MS(1000)) : "<NEVER>",


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003181454.o2IEs8qh015126>