openssh: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-08 16:21:28 -07:00 committed by classabbyamp
parent 8ed13901a8
commit 88cc3e59a5
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openssh'
pkgname=openssh
version=9.6p1
revision=1
revision=2
build_style=gnu-configure
configure_args="--datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@ -31,6 +31,10 @@ make_dirs="
/var/chroot/ssh 0755 root root
/etc/ssh/sshd_config.d 0755 root root"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
# Package build options
build_options="fido2 gssapi ldns ssl"
build_options_default="fido2 gssapi ldns ssl"
@ -44,7 +48,7 @@ if [ "$build_option_ldns" -a -z "$build_option_ssl" ]; then
broken="option 'ldns' requires option 'ssl'"
fi
CFLAGS="-Wno-format-truncation -Wno-stringop-truncation -Wno-maybe-uninitialized -Wno-deprecated-declarations"
CFLAGS="-Wno-format-truncation -Wno-stringop-truncation -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-error=use-after-free"
case $XBPS_TARGET_MACHINE in
i686-musl)