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