FreeRADIUS: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 13:01:47 -07:00 committed by classabbyamp
parent 8caab0684a
commit b0a603e89a
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'FreeRADIUS'
pkgname=FreeRADIUS
version=3.0.26
revision=3
revision=4
build_style=gnu-configure
makedepends="talloc-devel openssl-devel mit-krb5-devel pam-devel \
libmariadbclient-devel postgresql-libs-devel json-c-devel"
@ -15,6 +15,10 @@ nocross=yes # Not supported by upstream
system_accounts="_freeradius"
make_dirs="/etc/raddb 0750 _freeradius _freeradius"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_install() {
# FreeRADIUS uses 'R' instead of 'DESTDIR'
export R=${DESTDIR}