package/linux-pam: add libxcrypt optional dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 22 Aug 2021 09:34:28 +0000 (11:34 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 25 Aug 2021 19:34:56 +0000 (21:34 +0200)
commitfc16e06f28025a36992c9c1a39a36e72b7a19df1
treeae0b9bab330e79bde1805bfd6166a29b8d568461
parentcf0fdbbd2a572cb018557bd6ab68fde59e746fb3
package/linux-pam: add libxcrypt optional dependency

Add libxcrypt optional dependency and fix the following build failure
with libxcrypt and uclibc-ng raised since the addition of libxcrypt in
commit 464bbe26ff5fb9e5bfe26a26ea65c700b90598f5:

/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: unix_chkpwd-passverify.o: in function `verify_pwd_hash':
passverify.c:(.text+0xab4): undefined reference to `crypt_checksalt'

Fixes:
 - http://autobuild.buildroot.org/results/65d68b7c9c7de1c7cb0f941ff9982f93a49a56f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/linux-pam/0001-configure-test-a-o-is-not-POSIX.patch [new file with mode: 0644]
package/linux-pam/0002-Remove-support-for-legacy-xcrypt.patch [new file with mode: 0644]
package/linux-pam/0003-configure.ac-fix-build-with-libxcrypt-and-uclibc-ng.patch [new file with mode: 0644]
package/linux-pam/linux-pam.mk