diff --git a/net-proxy/haproxy/haproxy-1.6.9.ebuild b/net-proxy/haproxy/haproxy-1.6.9.ebuild index a0703717fcd7b..c9a98ed4d849f 100644 --- a/net-proxy/haproxy/haproxy-1.6.9.ebuild +++ b/net-proxy/haproxy/haproxy-1.6.9.ebuild @@ -15,8 +15,9 @@ SRC_URI="http://haproxy.1wt.eu/download/$(get_version_component_range 1-2)/src/$ LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="+crypt doc examples libressl net_ns +pcre pcre-jit ssl tools vim-syntax +zlib" # lua -REQUIRED_USE="pcre-jit? ( pcre )" +IUSE="+crypt doc examples libressl slz net_ns +pcre pcre-jit ssl tools vim-syntax +zlib" # lua +REQUIRED_USE="pcre-jit? ( pcre ) + ?? ( slz zlib )" DEPEND=" pcre? ( @@ -27,6 +28,7 @@ DEPEND=" !libressl? ( dev-libs/openssl:0=[zlib?] ) libressl? ( dev-libs/libressl:0= ) ) + slz? ( dev-libs/libslz:= ) zlib? ( sys-libs/zlib )" # lua? ( dev-lang/lua:5.3 ) RDEPEND="${DEPEND}" @@ -79,6 +81,7 @@ src_compile() { # args+=( $(haproxy_use kernel_linux LINUX_TPROXY) ) args+=( $(haproxy_use ssl OPENSSL) ) + args+=( $(haproxy_use slz SLZ) ) args+=( $(haproxy_use zlib ZLIB) ) # For now, until the strict-aliasing breakage will be fixed diff --git a/net-proxy/haproxy/haproxy-9999.ebuild b/net-proxy/haproxy/haproxy-9999.ebuild index 9499a51177907..4100bfa773873 100644 --- a/net-proxy/haproxy/haproxy-9999.ebuild +++ b/net-proxy/haproxy/haproxy-9999.ebuild @@ -15,8 +15,9 @@ EGIT_REPO_URI="http://master.formilux.org/git/people/willy/haproxy.git" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="" -IUSE="+crypt doc examples libressl net_ns +pcre pcre-jit ssl tools vim-syntax +zlib" # lua -REQUIRED_USE="pcre-jit? ( pcre )" +IUSE="+crypt doc examples libressl slz net_ns +pcre pcre-jit ssl tools vim-syntax +zlib" # lua +REQUIRED_USE="pcre-jit? ( pcre ) + ?? ( slz zlib )" DEPEND=" pcre? ( @@ -27,6 +28,7 @@ DEPEND=" !libressl? ( dev-libs/openssl:0=[zlib?] ) libressl? ( dev-libs/libressl:0= ) ) + slz? ( dev-libs/libslz:= ) zlib? ( sys-libs/zlib )" # lua? ( dev-lang/lua:5.3 ) RDEPEND="${DEPEND}" @@ -79,6 +81,7 @@ src_compile() { # args+=( $(haproxy_use kernel_linux LINUX_TPROXY) ) args+=( $(haproxy_use ssl OPENSSL) ) + args+=( $(haproxy_use slz SLZ) ) args+=( $(haproxy_use zlib ZLIB) ) # For now, until the strict-aliasing breakage will be fixed diff --git a/net-proxy/haproxy/metadata.xml b/net-proxy/haproxy/metadata.xml index 56529589cf4ce..2aaccf14afe72 100644 --- a/net-proxy/haproxy/metadata.xml +++ b/net-proxy/haproxy/metadata.xml @@ -21,6 +21,7 @@ Its event-driven architecture allows it to easily handle thousands of simultaneo Enable network namespace support (CONFIG_NET_NS) Use JIT support for PCRE + Use dev-libs/libslz compression library Install additional tools (halog, iprange)