From 8b9c7748ad58e0e403040ba2d585c31136e6aebe Mon Sep 17 00:00:00 2001 From: heil Date: Mon, 21 May 2012 21:43:44 +0000 Subject: [PATCH] package: haproxy - refresh patches - bump to version 1.4.21 git-svn-id: svn://svn.openwrt.org/openwrt/packages@31839 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/haproxy/Makefile | 4 ++-- net/haproxy/patches/001-haproxy-1.4.x-sendproxy.patch | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index e7c0ef564..233e1587c 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=haproxy -PKG_VERSION:=1.4.20 +PKG_VERSION:=1.4.21 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://haproxy.1wt.eu/download/1.4/src -PKG_MD5SUM:=0cd3b91812ff31ae09ec4ace6355e29e +PKG_MD5SUM:=f36d5d13fd4a44ab454eee5d06cb38a2 include $(INCLUDE_DIR)/package.mk diff --git a/net/haproxy/patches/001-haproxy-1.4.x-sendproxy.patch b/net/haproxy/patches/001-haproxy-1.4.x-sendproxy.patch index cbad68360..26906d41d 100644 --- a/net/haproxy/patches/001-haproxy-1.4.x-sendproxy.patch +++ b/net/haproxy/patches/001-haproxy-1.4.x-sendproxy.patch @@ -152,7 +152,7 @@ * socket. The listener provides the protocol-specific accept() function to --- a/src/cfgparse.c +++ b/src/cfgparse.c -@@ -1464,6 +1464,16 @@ int cfg_parse_listen(const char *file, i +@@ -1466,6 +1466,16 @@ int cfg_parse_listen(const char *file, i #endif } @@ -169,7 +169,7 @@ if (!strcmp(args[cur_arg], "name")) { struct listener *l; -@@ -1516,7 +1526,7 @@ int cfg_parse_listen(const char *file, i +@@ -1518,7 +1528,7 @@ int cfg_parse_listen(const char *file, i continue; } @@ -178,7 +178,7 @@ file, linenum, args[0]); err_code |= ERR_ALERT | ERR_FATAL; goto out; -@@ -5710,6 +5720,9 @@ out_uri_auth_compat: +@@ -5731,6 +5741,9 @@ out_uri_auth_compat: listener->handler = process_session; listener->analysers |= curproxy->fe_req_ana; @@ -392,7 +392,7 @@ */ --- a/src/proto_http.c +++ b/src/proto_http.c -@@ -4029,7 +4029,8 @@ void http_end_txn_clean_session(struct s +@@ -4087,7 +4087,8 @@ void http_end_txn_clean_session(struct s if (s->rep->lr >= s->rep->data + s->rep->size) s->rep->lr -= s->req->size; @@ -402,7 +402,7 @@ s->rep->analysers = 0; http_silent_debug(__LINE__, s); -@@ -7562,7 +7563,6 @@ void http_reset_txn(struct session *s) +@@ -7624,7 +7625,6 @@ void http_reset_txn(struct session *s) http_init_txn(s); s->be = s->fe;