Commit 122f833a authored by Łukasz Nowak's avatar Łukasz Nowak

component/haproxy: Add haproxy version 2

parent a605dd2e
...@@ -10,6 +10,13 @@ extends = ...@@ -10,6 +10,13 @@ extends =
parts = haproxy parts = haproxy
[haproxy2]
<= haproxy
# haproxy 2.0 is used, as it is LTS
url = http://www.haproxy.org/download/2.0/src/haproxy-2.0.14.tar.gz
md5sum = 62fe30b1394ef2c0221061679e30d7fa
target = linux-glibc
[haproxy] [haproxy]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true shared = true
...@@ -19,8 +26,9 @@ configure-command = true ...@@ -19,8 +26,9 @@ configure-command = true
# If the system is running on Linux 2.6, we use "linux26" as the TARGET, # If the system is running on Linux 2.6, we use "linux26" as the TARGET,
# otherwise use "generic". # otherwise use "generic".
# For ARCH value, x86_64 and i[3456]86 are supported. # For ARCH value, x86_64 and i[3456]86 are supported.
target = linux2628
make-options = make-options =
TARGET="$(uname -sr 2>/dev/null|grep -Eq '^Linux (2\.6\.2[89]|2\.6\.[3-9]|[3-9])' && echo linux2628 || echo generic)" TARGET="$(uname -sr 2>/dev/null|grep -Eq '^Linux (2\.6\.2[89]|2\.6\.[3-9]|[3-9])' && echo ${:target} || echo generic)"
ARCH="$(uname -m 2>/dev/null|grep -E '^(x86_64|i[3456]86)$')" ARCH="$(uname -m 2>/dev/null|grep -E '^(x86_64|i[3456]86)$')"
PREFIX=@@LOCATION@@ PREFIX=@@LOCATION@@
USE_DL=1 USE_DL=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment