Config.in 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. config BR2_PACKAGE_SELINUX_PYTHON
  2. bool "selinux-python"
  3. depends on BR2_USE_MMU
  4. depends on BR2_USE_WCHAR
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on !BR2_STATIC_LIBS
  7. select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
  8. help
  9. A set of SELinux tools written in python that help with
  10. managing a system with SELinux enabled. If no packages are
  11. selected nothing will actually be built.
  12. https://github.com/SELinuxProject/selinux/wiki
  13. if BR2_PACKAGE_SELINUX_PYTHON
  14. config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW
  15. bool "audit2allow"
  16. select BR2_PACKAGE_CHECKPOLICY
  17. select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
  18. select BR2_PACKAGE_SEMODULE_UTILS
  19. help
  20. This module installs two programs:
  21. audit2allow - Generate SELinux policy allow/dontaudit rules
  22. from logs of denied operations.
  23. audit2why - translates SELinux audit messages into a
  24. description of why the access was denied (audit2allow -w)
  25. config BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
  26. bool "sepolgen"
  27. select BR2_PACKAGE_SEMODULE_UTILS
  28. help
  29. This package contains a Python module that allows you to
  30. generate an initial SELinux policy module template.
  31. endif
  32. comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library"
  33. depends on BR2_USE_MMU
  34. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  35. BR2_STATIC_LIBS