bdd8362a88
As recently reported on the mailing list: http://lists.busybox.net/pipermail/buildroot/2016-February/154130.html Our configuration options to use sha-256 / sha-512 password encoding do not work very well with uClibc-ng as our defconfig doesn't enable support for these encodings, breaking E.G. password login with dropbear. Notice that it doesn't break login with the busybox login applet, as we currently force the use of the internal busybox password handling routines when sha-256/512 encoding is used. This workaround can afaik now be removed. To fix this, enable support for these password encodings in our defconfig. Do it unconditionally and not based on BR2_TARGET_GENERIC_PASSWD_* so it also works when a Buildroot toolchain is reused as an external toolchain and as the support code is quite small (~8KB): -rwxr-xr-x 1 peko peko 13360 Mar 7 22:56 output/target/lib/libcrypt-1.0.12.so -rwxr-xr-x 1 peko peko 21552 Mar 7 23:47 output-sha/target/lib/libcrypt-1.0.12.so Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
DO_C99_MATH=y
|
|
KERNEL_HEADERS="/usr/src/linux/include"
|
|
# LDSO_CACHE_SUPPORT is not set
|
|
# UCLIBC_STATIC_LDCONFIG is not set
|
|
LDSO_RUNPATH=y
|
|
LDSO_RUNPATH_OF_EXECUTABLE=y
|
|
MALLOC_GLIBC_COMPAT=y
|
|
UCLIBC_HAS_OBSTACK=y
|
|
UCLIBC_HAS_UTMPX=y
|
|
UCLIBC_HAS_UTMP=y
|
|
UCLIBC_SUSV2_LEGACY=y
|
|
UCLIBC_SUSV3_LEGACY=y
|
|
UCLIBC_HAS_CONTEXT_FUNCS=y
|
|
UCLIBC_SUSV4_LEGACY=y
|
|
UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
|
|
UCLIBC_HAS_GETPT=y
|
|
UCLIBC_HAS_LIBUTIL=y
|
|
UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
|
|
UCLIBC_HAS_SHA256_CRYPT_IMPL=y
|
|
UCLIBC_HAS_SHA512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