haproxy: update to 1.8.12.

This commit is contained in:
maxice8 2018-07-02 23:27:28 -03:00
parent 0b7ec10b2b
commit ddd27fbdd7

View file

@ -1,26 +1,27 @@
# Template file for 'haproxy' # Template file for 'haproxy'
pkgname=haproxy pkgname=haproxy
version=1.8.11 version=1.8.12
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_build_args="TARGET=linux2628 USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1 make_build_args="TARGET=linux2628 USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1
USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1" USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1"
make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/$pkgname" make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
makedepends="libressl-devel lua-devel pcre-devel" makedepends="libressl-devel lua-devel pcre-devel"
short_desc="Reliable, high performance TCP/HTTP load balancer" short_desc="Reliable, high performance TCP/HTTP load balancer"
maintainer="Eivind Uggedal <eivind@uggedal.com>" maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.haproxy.org" homepage="https://www.haproxy.org"
distfiles="${homepage}/download/${version%.*}/src/${pkgname}-${version}.tar.gz" distfiles="${homepage}/download/${version%.*}/src/${pkgname}-${version}.tar.gz"
checksum=b4b403ceb5efe3c65c6d86e1a44fc0953189f12cdf0bd884e5df04bbabb27947 checksum=f438a98e657935fa8fad48b98d9029a399e0ad9105cf0e7e8e54365f93d83e9b
make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}" make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
conf_files="/etc/${pkgname}/${pkgname}.cfg" conf_files="/etc/${pkgname}/${pkgname}.cfg"
system_accounts="${pkgname}" system_accounts="$pkgname"
haproxy_homedir="/var/lib/${pkgname}" haproxy_homedir="/var/lib/${pkgname}"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-D__LINUX_NETFILTER_H";; *-musl) CFLAGS="-D__LINUX_NETFILTER_H";;
esac esac
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*) ADDLIB="-latomic"; makedepends+=" libatomic-devel";; armv[56]*|mips*) ADDLIB="-latomic"; makedepends+=" libatomic-devel";;
esac esac