# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers {gmail.com:jeremy.mcmillan @aphor} openmaintainer
license {GPL-2+ OpenSSLException}
description The Reliable, High Performance TCP/HTTP Load Balancer
long_description HAproxy is a high-performance and highly-robust TCP/HTTP \
load balancer which provides cookie-based persistence, \
automatic failover, header insertion, deletion, \
modification on the fly, advanced logging contents to \
help trouble-shooting buggy applications and/or networks, \
and a few other features. It uses its own state machine \
to achieve up to ten thousands hits per second on modern \
hardware, even with thousands simultaneous connections.
homepage https://www.haproxy.org/
master_sites ${homepage}download/${branch}/src/
checksums rmd160 e6e3e94fcf26055adf111948fee92c357e435030 \
sha256 0837c35e2914d40f685740487886e86b1b16132b81ecb60a3be66cf9a6f19bef \
depends_lib path:lib/libssl.dylib:openssl \
patchfiles patch-Makefile.diff
build.args CC="${configure.cc} [get_canonical_archflags]" \
if {${os.platform} eq "darwin" && ${os.major} < 11} {
build.args-delete USE_THREAD=1
destroot.args DOCDIR=${prefix}/share/doc/${name} \
build.args-append USE_REGPARM=1
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}