d6d6a9d2b3
The 0001-execption-lib-path-fix.patch is also no longer needed, as the new version of libsemanage includes the fix provided by the patch. As such, the patch was removed, and 0002 was renamed to 0001. Audit was added as a dependency as the new version of libsemanage will fail to compile searching for audit.h Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add the select on audit + propagate the dependencies.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_LIBSEMANAGE
|
|
bool "libsemanage"
|
|
select BR2_PACKAGE_AUDIT
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_USTR
|
|
select BR2_PACKAGE_BZIP2
|
|
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
# - libselinux needs fts.h (not available in uClibc/musl)
|
|
# - libsemanage itself needs getpwent_r() not available in musl
|
|
# - audit is not available on musl
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
depends on !BR2_arc
|
|
help
|
|
libsemanage is the policy management library. It uses
|
|
libsepol for binary policy manipulation and libselinux for
|
|
interacting with the SELinux system. It also exec's helper
|
|
programs for loading policy and for checking whether the
|
|
file_contexts configuration is valid (load_policy and
|
|
setfiles from policycoreutils) presently, although this may
|
|
change at least for the bootstrapping case (for rpm).
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
comment "libsemanage needs a glibc toolchain w/ threads, dynamic library"
|
|
depends on !BR2_arc
|
|
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_USES_GLIBC
|