From 5e5ccc1d1a9536c120572c01e70157908ca03704 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Fri, 3 Apr 2015 21:24:01 +0200 Subject: haproxy 1.5, bump version on 2.2 to 1.5.11, move advanced settings below forwardfor to avoid a (possible) warning --- config/haproxy-devel/pkg/haproxy.inc | 20 ++++++++++---------- pkg_config.10.xml | 8 ++++---- pkg_config.8.xml | 4 ++-- pkg_config.8.xml.amd64 | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config/haproxy-devel/pkg/haproxy.inc b/config/haproxy-devel/pkg/haproxy.inc index 495f59c0..135f2d4f 100644 --- a/config/haproxy-devel/pkg/haproxy.inc +++ b/config/haproxy-devel/pkg/haproxy.inc @@ -1087,16 +1087,6 @@ function haproxy_writeconf($configpath) { fwrite ($fd, "\tbind /tmp/haproxy_chroot/{$bind['name']}.socket name unixsocket accept-proxy {$ssl_info} {$advanced_bind}\n"); } - // Advanced pass thru - if($bind['advanced']) { - $advanced = explode("\n", base64_decode($bind['advanced'])); - foreach($advanced as $adv_line) { - if ($adv_line != "") { - fwrite($fd, "\t" . str_replace("\r", "", $adv_line) . "\n"); - } - } - } - // https is an alias for tcp for clarity purposes if($bind['type'] == "https") { $backend_type = "tcp"; @@ -1142,6 +1132,16 @@ function haproxy_writeconf($configpath) { fwrite ($fd, "\ttimeout client\t\t" . $bind['client_timeout'] . "\n"); + + // Advanced pass thru + if($bind['advanced']) { + $advanced = explode("\n", base64_decode($bind['advanced'])); + foreach($advanced as $adv_line) { + if ($adv_line != "") { + fwrite($fd, "\t" . str_replace("\r", "", $adv_line) . "\n"); + } + } + } // Combine the rest of the frontend configs $default_backend = ""; diff --git a/pkg_config.10.xml b/pkg_config.10.xml index b87c5c66..cafb381c 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -137,12 +137,12 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.9 pkg v 0.22 + 1.5.11 pkg v 0.23 Release 2.2 https://packages.pfsense.org/packages/config/haproxy1_5/haproxy.xml haproxy.xml - haproxy-devel-1.5.9-##ARCH##.pbi + haproxy-devel-1.5.11-##ARCH##.pbi security/openssl haproxy-devel @@ -158,12 +158,12 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.9 pkg v 0.22 + 1.5.11 pkg v 0.23 Release 2.2 https://packages.pfsense.org/packages/config/haproxy-devel/haproxy.xml haproxy.xml - haproxy-devel-1.5.9-##ARCH##.pbi + haproxy-devel-1.5.11-##ARCH##.pbi security/openssl haproxy-devel diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 718dfe9d..647049f7 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -166,7 +166,7 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.3 pkg v 0.22 + 1.5.3 pkg v 0.23 Release 2.1 https://packages.pfsense.org/packages/config/haproxy1_5/haproxy.xml @@ -190,7 +190,7 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.3 pkg v 0.22 + 1.5.3 pkg v 0.23 Release 2.1 https://packages.pfsense.org/packages/config/haproxy-devel/haproxy.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index cb62936d..a04e26e1 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -153,7 +153,7 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.3 pkg v 0.22 + 1.5.3 pkg v 0.23 Release 2.1 https://packages.pfsense.org/packages/config/haproxy1_5/haproxy.xml @@ -177,7 +177,7 @@ Supports ACLs for smart backend switching.]]> http://haproxy.1wt.eu/ Services - 1.5.3 pkg v 0.22 + 1.5.3 pkg v 0.23 Release 2.1 https://packages.pfsense.org/packages/config/haproxy-devel/haproxy.xml -- cgit v1.2.3