linux-pam raises the following build failure with gcc 4.8 since bump to version 1.5.3 in commitf8147e27cd
and8f9816b57e
: pam_access.c: In function 'pam_sm_authenticate': pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; filename_list[i] != NULL; i++) { ^ Those build failures could be fixed by adding -std=c99 but then the build will fails because stdadtomic.h is mandatory sincea35e092e24
Fixes: - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
menuconfig BR2_PACKAGE_SHADOW
|
|
bool "shadow"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
|
|
help
|
|
Utilities to deal with user accounts.
|
|
|
|
https://github.com/shadow-maint/shadow
|
|
|
|
if BR2_PACKAGE_SHADOW
|
|
|
|
config BR2_PACKAGE_SHADOW_SHADOWGRP
|
|
bool "shadowgrp"
|
|
help
|
|
Enable shadow group support.
|
|
|
|
config BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID
|
|
bool "account-tools-setuid"
|
|
depends on BR2_USE_MMU # linux-pam
|
|
depends on BR2_ENABLE_LOCALE # linux-pam
|
|
depends on BR2_USE_WCHAR # linux-pam
|
|
depends on !BR2_STATIC_LIBS # linux-pam
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
|
|
select BR2_PACKAGE_LINUX_PAM
|
|
help
|
|
Install the user and group management tools (e.g. groupadd)
|
|
with setuid and authenticate the callers via PAM.
|
|
|
|
comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale, gcc >= 4.9"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
|
|
!BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
|
|
|
config BR2_PACKAGE_SHADOW_UTMPX
|
|
bool "utmpx"
|
|
help
|
|
Enable loggin in utmpx / wtmpx.
|
|
|
|
config BR2_PACKAGE_SHADOW_SUBORDINATE_IDS
|
|
bool "subordinate-ids"
|
|
help
|
|
Support subordinate ids. Helpful to use container solution
|
|
like podman without root.
|
|
|
|
config BR2_PACKAGE_SHADOW_SHA_CRYPT
|
|
bool "sha-crypt"
|
|
default y
|
|
help
|
|
Allow the SHA256 and SHA512 password encryption algorithms.
|
|
|
|
config BR2_PACKAGE_SHADOW_BCRYPT
|
|
bool "bcrypt"
|
|
help
|
|
Allow the bcrypt password encryption algorithm.
|
|
|
|
config BR2_PACKAGE_SHADOW_YESCRYPT
|
|
bool "yescrypt"
|
|
help
|
|
Allow the yescrypt password encryption algorithm.
|
|
|
|
endif # BR2_PACKAGE_SHADOW
|
|
|
|
comment "shadow needs a toolchain w/ headers >= 4.14, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 || BR2_STATIC_LIBS
|