1 config BR2_PACKAGE_LIBSEMANAGE
3 select BR2_PACKAGE_LIBSELINUX
4 select BR2_PACKAGE_USTR
5 select BR2_PACKAGE_BZIP2
6 depends on BR2_TOOLCHAIN_HAS_THREADS
7 depends on !BR2_STATIC_LIBS
9 libsemanage is the policy management library. It uses
10 libsepol for binary policy manipulation and libselinux for
11 interacting with the SELinux system. It also exec's helper
12 programs for loading policy and for checking whether the
13 file_contexts configuration is valid (load_policy and
14 setfiles from policycoreutils) presently, although this may
15 change at least for the bootstrapping case (for rpm).
17 http://selinuxproject.org/page/Main_Page
19 if BR2_PACKAGE_LIBSEMANAGE
21 config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS
22 depends on BR2_PACKAGE_PYTHON
23 bool "python bindings"
25 Enable building python bindings
29 comment "libsemanage needs a toolchain w/ threads, dynamic library"
30 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS