From c1b205bf6866e83aa18dd985acfec247538f2c74 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Wed, 30 Aug 2023 14:20:08 -0700 Subject: [PATCH] proftpd: rebuild for libxcrypt --- srcpkgs/proftpd/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/proftpd/template b/srcpkgs/proftpd/template index 8e9985cc0b1..c2f62511649 100644 --- a/srcpkgs/proftpd/template +++ b/srcpkgs/proftpd/template @@ -1,7 +1,7 @@ # Template file for 'proftpd' pkgname=proftpd version=1.3.7e -revision=1 +revision=2 build_style=gnu-configure makedepends="libcap-devel" short_desc="Highly configurable GPL-licensed FTP server software" @@ -13,6 +13,10 @@ distfiles="https://github.com/proftpd/proftpd/archive/v${version}.tar.gz" checksum=6e716a3b53ee069290399fce6dccf4c229fafe6ec2cb14db3778b7aa3f9a8c92 conf_files="/etc/proftpd.conf" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + proftpd-devel_package() { short_desc+=" - development files" depends="proftpd>=${version}_${revision}"