ebcca24c95
In addition, if a user is using glibc 2.22, the default CFLAG D_FILE_OFFSET_BITS=64 will cause a compile error. This flag is now removed from the CFLAGS in the make file to ensure that toolchains compiled against glibc 2.22 will build the new version of the package properly. In addition, libselinux now uses fts(), which is not available on musl, and not provided by our default uClibc configuration. Therefore, libselinux now depends on glibc, as well as all its reverse dependencies. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add glibc dependency for fts().] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_SETOOLS
|
|
bool "setools"
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_SQLITE
|
|
select BR2_PACKAGE_LIBXML2
|
|
select BR2_PACKAGE_BZIP2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_WCHAR
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
|
|
# bfin: infamous _ symbol prefix issue
|
|
# nios2: triggers some toolchain issue "No symbol version
|
|
# section for versioned symbol"
|
|
# arc: libselinux not available
|
|
depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
|
|
help
|
|
SETools is an open source project designed to facilitate
|
|
SELinux policy analysis. The primary tools are:
|
|
* apol - analyze a SELinux policy.
|
|
* seaudit - analyze audit messages from SELinux.
|
|
* seaudit-report - generate highly-customized audit log
|
|
reports.
|
|
* sechecker - command line tool for performing modular
|
|
checks on an SELinux policy.
|
|
* sediff - semantic policy difference tool for SELinux.
|
|
* secmds - command-line tools to analyze and search SELinux
|
|
policy.
|
|
|
|
https://github.com/TresysTechnology/setools3/wiki
|
|
|
|
comment "setools needs a glibc toolchain w/ threads, C++, wchar, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
|
|| !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
|
|
|| !BR2_TOOLCHAIN_USES_GLIBC
|
|
depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
|