1 config BR2_PACKAGE_LIBSEMANAGE
3 select BR2_PACKAGE_AUDIT
4 select BR2_PACKAGE_LIBSELINUX
5 select BR2_PACKAGE_USTR
6 select BR2_PACKAGE_BZIP2
7 depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
8 depends on BR2_TOOLCHAIN_HAS_THREADS
9 depends on !BR2_STATIC_LIBS
10 # - libselinux needs fts.h (not available in uClibc/musl)
11 # - libsemanage itself needs getpwent_r() not available in musl
12 # - audit is not available on musl
13 depends on BR2_TOOLCHAIN_USES_GLIBC
16 libsemanage is the policy management library. It uses
17 libsepol for binary policy manipulation and libselinux for
18 interacting with the SELinux system. It also exec's helper
19 programs for loading policy and for checking whether the
20 file_contexts configuration is valid (load_policy and
21 setfiles from policycoreutils) presently, although this may
22 change at least for the bootstrapping case (for rpm).
24 http://selinuxproject.org/page/Main_Page
26 comment "libsemanage needs a glibc toolchain w/ threads, dynamic library"
28 depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
29 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
30 !BR2_TOOLCHAIN_USES_GLIBC