Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haproxy: update to 2.2.4. #25947

Merged
merged 1 commit into from
Oct 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions srcpkgs/haproxy/template
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# Template file for 'haproxy'
pkgname=haproxy
version=2.1.7
revision=3
version=2.2.4
revision=1
build_style=gnu-makefile
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"
checkdepends="varnish"
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"
homepage="https://www.haproxy.org"
distfiles="${homepage}/download/${version%.*}/src/${pkgname}-${version}.tar.gz"
checksum=392e6cf18e75fe7e166102e8c4512942890a0b5ae738f6064faab4687f60a339
checksum=87a4d9d4ff8dc3094cb61bbed4a8eed2c40b5ac47b9604daebaf036d7b541be2

haproxy_homedir="/var/lib/${pkgname}"
make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
conf_files="/etc/${pkgname}/${pkgname}.cfg"
system_accounts="$pkgname"

CFLAGS="-Wno-address-of-packed-member"
do_build() {
local target="linux-${XBPS_TARGET_LIBC}"
local atomic
Expand All @@ -27,7 +29,7 @@ do_build() {
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
TARGET=$target USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=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() {
Expand Down