policycoreutils: fix check-package warnings

- 'depends on' before 'select'
 - rewrap Config.in help text

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2017-04-09 15:33:11 +02:00
parent 005a5f33f2
commit fb38b44289

View file

@ -6,24 +6,24 @@ comment "policycoreutils needs a glibc toolchain w/ threads, dynamic library"
config BR2_PACKAGE_POLICYCOREUTILS config BR2_PACKAGE_POLICYCOREUTILS
bool "policycoreutils" bool "policycoreutils"
select BR2_PACKAGE_LIBSEMANAGE
select BR2_PACKAGE_LIBCAP_NG
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage
depends on !BR2_STATIC_LIBS #libsemanage depends on !BR2_STATIC_LIBS #libsemanage
depends on !BR2_arc # libsemanage depends on !BR2_arc # libsemanage
depends on BR2_TOOLCHAIN_USES_GLIBC # libsemanage depends on BR2_TOOLCHAIN_USES_GLIBC # libsemanage
select BR2_PACKAGE_LIBSEMANAGE
select BR2_PACKAGE_LIBCAP_NG
help help
Policycoreutils is a collection of policy utilities (originally Policycoreutils is a collection of policy utilities
the "core" set of utilities needed to use SELinux, although it (originally the "core" set of utilities needed to use
has grown a bit over time), which have different dependencies. SELinux, although it has grown a bit over time), which have
sestatus, secon, run_init, and newrole only use libselinux. different dependencies. sestatus, secon, run_init, and
load_policy and setfiles only use libselinux and libsepol. newrole only use libselinux. load_policy and setfiles only
semodule and semanage use libsemanage (and thus bring in use libselinux and libsepol. semodule and semanage use
dependencies on libsepol and libselinux as well). setsebool libsemanage (and thus bring in dependencies on libsepol and
uses libselinux to make non-persistent boolean changes (via libselinux as well). setsebool uses libselinux to make
the kernel interface) and uses libsemanage to make persistent non-persistent boolean changes (via the kernel interface)
boolean changes. and uses libsemanage to make persistent boolean changes.
The base package will install the following utilities: The base package will install the following utilities:
load_policy load_policy
@ -67,10 +67,10 @@ comment "audit2allow needs a glibc toolchain w/ wchar, threads, dynamic library"
config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND
bool "restorecond" bool "restorecond"
select BR2_PACKAGE_LIBGLIB2
depends on BR2_USE_WCHAR # glib2 depends on BR2_USE_WCHAR # glib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_USE_MMU # glib2 depends on BR2_USE_MMU # glib2
select BR2_PACKAGE_LIBGLIB2
help help
Enable restorecond to be built Enable restorecond to be built