1 comment "policycoreutils needs a glibc toolchain w/ threads, dynamic library"
3 depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
4 depends on !BR2_TOOLCHAIN_USES_GLIBC || \
5 !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
7 config BR2_PACKAGE_POLICYCOREUTILS
9 select BR2_PACKAGE_LIBSEMANAGE
10 select BR2_PACKAGE_LIBCAP_NG
11 depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
12 depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage
13 depends on !BR2_STATIC_LIBS #libsemanage
14 depends on !BR2_arc # libsemanage
15 depends on BR2_TOOLCHAIN_USES_GLIBC # libsemanage
17 Policycoreutils is a collection of policy utilities (originally
18 the "core" set of utilities needed to use SELinux, although it
19 has grown a bit over time), which have different dependencies.
20 sestatus, secon, run_init, and newrole only use libselinux.
21 load_policy and setfiles only use libselinux and libsepol.
22 semodule and semanage use libsemanage (and thus bring in
23 dependencies on libsepol and libselinux as well). setsebool
24 uses libselinux to make non-persistent boolean changes (via
25 the kernel interface) and uses libsemanage to make persistent
28 The base package will install the following utilities:
44 http://selinuxproject.org/page/Main_Page
46 if BR2_PACKAGE_POLICYCOREUTILS
48 config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND
50 select BR2_PACKAGE_LIBGLIB2
51 depends on BR2_USE_WCHAR # glib2
52 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
53 depends on BR2_USE_MMU # glib2
55 Enable restorecond to be built
57 comment "restorecond needs a toolchain w/ wchar, threads"
58 depends on BR2_USE_MMU
59 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS