1comment "policycoreutils needs a toolchain w/ threads, dynamic library, gcc >= 5"
2	depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
3	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
4		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
5
6config BR2_PACKAGE_POLICYCOREUTILS
7	bool "policycoreutils"
8	depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
9	depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage, libsepol
10	depends on !BR2_STATIC_LIBS # libsemanage, libsepol
11	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage -> libselinux -> libsepol
12	select BR2_PACKAGE_LIBSEMANAGE
13	select BR2_PACKAGE_LIBSEPOL
14	select BR2_PACKAGE_LIBCAP_NG
15	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
16	help
17	  Policycoreutils is a collection of policy utilities
18	  (originally the "core" set of utilities needed to use
19	  SELinux, although it has grown a bit over time), which have
20	  different dependencies.  sestatus, secon, run_init, and
21	  newrole only use libselinux.  load_policy and setfiles only
22	  use libselinux and libsepol.  semodule and semanage use
23	  libsemanage (and thus bring in dependencies on libsepol and
24	  libselinux as well). setsebool uses libselinux to make
25	  non-persistent boolean changes (via the kernel interface)
26	  and uses libsemanage to make persistent boolean changes.
27
28	  The base package will install the following utilities:
29	      load_policy
30	      newrole
31	      run_init
32	      secon
33	      semodule
34	      sestatus
35	      setfiles
36	      setsebool
37
38	  http://selinuxproject.org/page/Main_Page
39