uclibc-ng-test: fix build with glibc 2.28
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 14 Nov 2018 20:42:24 +0000 (21:42 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 18 Nov 2018 19:15:37 +0000 (20:15 +0100)
commit2c0c354a34e238a56ce57116329c79b7df236b06
treed1e46123e0a4ca159b707629b536dca629fca103
parent632e164a19fc3d1ce419c60eb85214d42a673b28
uclibc-ng-test: fix build with glibc 2.28

Since glibc 2.28
(https://savannah.gnu.org/forum/forum.php?forum_id=9205), the obsolete
functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt, ecb_crypt,
and des_setparity are no longer available to newly linked binaries, and
the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no longer
installed. These functions encrypted and decrypted data with the DES
block cipher, which is no longer considered secure. Software that still
uses these functions should switch to a modern cryptography library,
such as libgcrypt.

So add a NO_CRYPT variable to disable test/crypt

Fixes:
 - http://autobuild.buildroot.org/results/158438debb0ce313b012b871e199bed42ba38294

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc-ng-test/0002-Add-NO_CRYPT-to-fix-build-with-glibc-2.28.patch [new file with mode: 0644]
package/uclibc-ng-test/uclibc-ng-test.mk