| config BR2_PACKAGE_SETOOLS | |
| bool "setools" | |
| depends on !BR2_STATIC_LIBS | |
| depends on BR2_TOOLCHAIN_HAS_THREADS | |
| depends on BR2_USE_WCHAR | |
| depends on BR2_USE_MMU | |
| depends on BR2_PACKAGE_PYTHON3 | |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol | |
| select BR2_PACKAGE_PYTHON_NETWORKX # runtime | |
| select BR2_PACKAGE_PYTHON_SETUPTOOLS | |
| select BR2_PACKAGE_LIBSELINUX | |
| help | |
| SETools is an open source project designed to facilitate | |
| SELinux policy analysis. The primary tools are: | |
| * apol - analyze a SELinux policy. (requires python-qt5) | |
| * sediff - semantic policy difference tool for SELinux. | |
| * sedta - Perform domain transition analyses | |
| * seinfoflow - information flow analysis for SELinux | |
| * sesearch - Search rules (allow, type_transition, etc.) | |
| https://github.com/SELinuxProject/setools/ | |
| comment "setools needs a toolchain w/ threads, wchar, dynamic library, gcc >= 5" | |
| depends on BR2_USE_MMU | |
| depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ | |
| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 | |
| comment "setools needs python3" | |
| depends on BR2_USE_MMU | |
| depends on !BR2_PACKAGE_PYTHON3 |