haproxy: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 13:37:15 -07:00 committed by classabbyamp
parent 98f9005300
commit c952e5f5f8

View file

@ -1,7 +1,7 @@
# Template file for 'haproxy'
pkgname=haproxy
version=2.6.15
revision=1
revision=2
build_style=gnu-makefile
make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
hostmakedepends="lua53-devel"
@ -15,6 +15,10 @@ changelog="https://www.haproxy.org/download/${version%.*}/src/CHANGELOG"
distfiles="https://www.haproxy.org/download/${version%.*}/src/haproxy-${version}.tar.gz"
checksum=41f8e1695e92fafdffe39690a68993f1a0f5f7f06931a99e9a153f749ea39cfd
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
haproxy_homedir="/var/lib/${pkgname}"
make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
conf_files="/etc/${pkgname}/${pkgname}.cfg"