diff --git a/srcpkgs/vsftpd/template b/srcpkgs/vsftpd/template index 599b25bf6d2..83c5b9a01da 100644 --- a/srcpkgs/vsftpd/template +++ b/srcpkgs/vsftpd/template @@ -1,7 +1,7 @@ # Template file for 'vsftpd' pkgname=vsftpd version=3.0.5 -revision=2 +revision=3 build_style=gnu-makefile makedepends="pam-devel libcap-devel libnsl-devel openssl-devel" short_desc="FTP daemon with focus on security" @@ -11,6 +11,10 @@ homepage="https://security.appspot.com/vsftpd.html" distfiles="https://security.appspot.com/downloads/${pkgname}-${version}.tar.gz" checksum=26b602ae454b0ba6d99ef44a09b6b9e0dfa7f67228106736df1f278c70bc91d3 +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + system_accounts="ftp" ftp_pgroup=nogroup CFLAGS="-Wno-error"