haproxy: update to 2.2.4.
This commit is contained in:
parent
b8d3562fc8
commit
d775494bd6
1 changed files with 7 additions and 5 deletions
|
@ -1,23 +1,25 @@
|
||||||
# Template file for 'haproxy'
|
# Template file for 'haproxy'
|
||||||
pkgname=haproxy
|
pkgname=haproxy
|
||||||
version=2.1.7
|
version=2.2.4
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
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}"
|
||||||
|
hostmakedepends="lua53-devel"
|
||||||
makedepends="libatomic-devel libressl-devel lua53-devel pcre-devel"
|
makedepends="libatomic-devel libressl-devel lua53-devel pcre-devel"
|
||||||
checkdepends="varnish"
|
checkdepends="varnish"
|
||||||
short_desc="Reliable, high performance TCP/HTTP load balancer"
|
short_desc="Reliable, high performance TCP/HTTP load balancer"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Zach Dykstra <dykstra.zachary@gmail.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=392e6cf18e75fe7e166102e8c4512942890a0b5ae738f6064faab4687f60a339
|
checksum=87a4d9d4ff8dc3094cb61bbed4a8eed2c40b5ac47b9604daebaf036d7b541be2
|
||||||
|
|
||||||
haproxy_homedir="/var/lib/${pkgname}"
|
haproxy_homedir="/var/lib/${pkgname}"
|
||||||
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"
|
||||||
|
|
||||||
|
CFLAGS="-Wno-address-of-packed-member"
|
||||||
do_build() {
|
do_build() {
|
||||||
local target="linux-${XBPS_TARGET_LIBC}"
|
local target="linux-${XBPS_TARGET_LIBC}"
|
||||||
local atomic
|
local atomic
|
||||||
|
@ -27,7 +29,7 @@ do_build() {
|
||||||
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
|
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
|
||||||
TARGET=$target USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1 \
|
TARGET=$target 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 \
|
||||||
ADDLIB="$atomic"
|
ADDLIB="$atomic" EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
|
|
Loading…
Reference in a new issue