Config.in 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. menuconfig BR2_PACKAGE_SHADOW
  2. bool "shadow"
  3. depends on !BR2_STATIC_LIBS
  4. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
  5. depends on !BR2_TOOLCHAIN_USES_UCLIBC # reallocarray, explicit_bzero
  6. help
  7. Utilities to deal with user accounts.
  8. https://github.com/shadow-maint/shadow
  9. if BR2_PACKAGE_SHADOW
  10. config BR2_PACKAGE_SHADOW_SHADOWGRP
  11. bool "shadowgrp"
  12. help
  13. Enable shadow group support.
  14. config BR2_PACKAGE_SHADOW_ACCOUNT_TOOLS_SETUID
  15. bool "account-tools-setuid"
  16. depends on BR2_USE_MMU # linux-pam
  17. depends on BR2_ENABLE_LOCALE # linux-pam
  18. depends on BR2_USE_WCHAR # linux-pam
  19. depends on !BR2_STATIC_LIBS # linux-pam
  20. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
  21. select BR2_PACKAGE_LINUX_PAM
  22. help
  23. Install the user and group management tools (e.g. groupadd)
  24. with setuid and authenticate the callers via PAM.
  25. comment "account-tools-setuid needs a toolchain w/ dynamic library, wchar, locale, gcc >= 4.9"
  26. depends on BR2_USE_MMU
  27. depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
  28. !BR2_ENABLE_LOCALE || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  29. config BR2_PACKAGE_SHADOW_SUBORDINATE_IDS
  30. bool "subordinate-ids"
  31. help
  32. Support subordinate ids. Helpful to use container solution
  33. like podman without root.
  34. config BR2_PACKAGE_SHADOW_SHA_CRYPT
  35. bool "sha-crypt"
  36. default y
  37. help
  38. Allow the SHA256 and SHA512 password encryption algorithms.
  39. config BR2_PACKAGE_SHADOW_BCRYPT
  40. bool "bcrypt"
  41. help
  42. Allow the bcrypt password encryption algorithm.
  43. config BR2_PACKAGE_SHADOW_YESCRYPT
  44. bool "yescrypt"
  45. help
  46. Allow the yescrypt password encryption algorithm.
  47. endif # BR2_PACKAGE_SHADOW
  48. comment "shadow needs a glibc or musl toolchain w/ headers >= 4.14, dynamic library"
  49. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 || \
  50. BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_UCLIBC