Commit 07fb9dbb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

version up : HAProxy 1.5.1.

build with linux2628 target.
enable OPENSSL, enable ZLIB.
parent c7f4c81a
......@@ -3,23 +3,31 @@
[buildout]
extends =
../openssl/buildout.cfg
../pcre/buildout.cfg
../zlib/buildout.cfg
parts = haproxy
[haproxy]
recipe = slapos.recipe.cmmi
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.25.tar.gz
md5sum = 74b5ec1f0f9b4d148c8083bcfb512ccd
url = http://haproxy.1wt.eu/download/1.4/src/haproxy-1.5.1.tar.gz
md5sum = 49640cf3ddd793a05fbd3394481a1ed4
configure-command = true
# If the system is running on Linux 2.6, we use "linux26" as the TARGET,
# otherwise use "generic".
# For ARCH value, x86_64 and i[3456]86 are supported.
make-options =
TARGET="$(uname -sr 2>/dev/null|grep -Eq '^Linux (2\.6|3)' && echo linux26 || echo generic)"
TARGET="$(uname -sr 2>/dev/null|grep -Eq '^Linux (2\.6\.2[89]|2\.6\.[3-9]|3)' && echo linux2628 || echo generic)"
ARCH="$(uname -m 2>/dev/null|grep -E '^(x86_64|i[3456]86)$')"
PREFIX=${buildout:parts-directory}/${:_buildout_section_name_}
USE_OPENSSL=1
SSL_INC=${openssl:location}/include
SSL_LIB=${openssl:location}/lib
USE_PCRE=1
ADDLIB=-Wl,-rpath=${pcre:location}/lib
USE_ZLIB=1
ZLIB_INC=${zlib:location}/include
ZLIB_LIB=${zlib:location}/lib
ADDLIB="-Wl,-rpath=${openssl:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib"
environment =
PATH=${pcre:location}/bin:%(PATH)s
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