haproxy: update to 3.0.8

Closes: #54335 [via git-merge-pr]
This commit is contained in:
Roberto Ricci 2025-01-21 23:30:04 +01:00 committed by classabbyamp
parent 1a10ce1756
commit a1502af9cf
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 8 additions and 9 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'haproxy'
pkgname=haproxy
version=2.8.10
version=3.0.8
revision=1
build_style=gnu-makefile
make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
hostmakedepends="lua53-devel"
makedepends="openssl-devel lua53-devel pcre2-devel"
hostmakedepends="lua54-devel"
makedepends="openssl-devel lua54-devel pcre2-devel"
checkdepends="curl varnish"
short_desc="Reliable, high performance TCP/HTTP load balancer"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
@ -13,7 +13,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.haproxy.org"
changelog="https://www.haproxy.org/download/${version%.*}/src/CHANGELOG"
distfiles="https://www.haproxy.org/download/${version%.*}/src/haproxy-${version}.tar.gz"
checksum=0d63cd46d9d10ac7dbc02f3c6769c1908f221e0a5c5b655a194655f7528d612a
checksum=930ae2c33058e1f497fe62cdaacffab6cab6a91e31ba011a9a2f9fe6c5c4aebc
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
@ -24,13 +24,12 @@ make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
conf_files="/etc/${pkgname}/${pkgname}.cfg"
system_accounts="haproxy"
CFLAGS="-Wno-address-of-packed-member"
do_build() {
local target="linux-${XBPS_TARGET_LIBC}"
make ${makejobs} CC="$CC" DEBUG_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
TARGET=$target USE_PCRE2=1 USE_PCRE2_JIT=1 USE_ZLIB=1 \
USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1 \
USE_PROMEX=1
USE_PROMEX=1 USE_SYSTEMD=
}
do_check() {

View File

@ -1,2 +1,2 @@
# 2.8 is the current LTS
ignore="2\.[!8].*"
# 3.0 is the current LTS
ignore="3\.[!0].*"