Files
buildroot/package/policycoreutils/Config.in
Bernd Kuhls d966da3581 package/libcap-ng: bump version to 0.9.3
https://github.com/stevegrubb/libcap-ng/blob/v0.9.3/ChangeLog

The source tarball is not distributed on the project site anymore so we
switch to the github helper and need to enable autoreconf.

Added dependency to BR2_TOOLCHAIN_HAS_SYNC_4 to fix a build error:

/home/bernd/buildroot/test-libcap/bootlin-sparc-uclibc/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld:
 ../src/.libs/libcap-ng.so: undefined reference to `__sync_bool_compare_and_swap_4'

due to this upstream commit added in version 0.9.2:
ba2e9e0319

Added _POST_EXTRACT_HOOKS and dependency to host-pkgconf to fix
autoreconf errors.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-04-23 22:04:31 +02:00

42 lines
1.6 KiB
Plaintext

comment "policycoreutils needs a toolchain w/ threads, dynamic library, gcc >= 5"
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
config BR2_PACKAGE_POLICYCOREUTILS
bool "policycoreutils"
depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage
depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux, libsemanage, libsepol
depends on !BR2_STATIC_LIBS # libselinux, libsemanage, libsepol
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage -> libselinux -> libsepol
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libcap-ng
select BR2_PACKAGE_LIBSELINUX
select BR2_PACKAGE_LIBSEMANAGE
select BR2_PACKAGE_LIBSEPOL
select BR2_PACKAGE_LIBCAP_NG
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
help
Policycoreutils is a collection of policy utilities
(originally the "core" set of utilities needed to use
SELinux, although it has grown a bit over time), which have
different dependencies. sestatus, secon, run_init, and
newrole only use libselinux. load_policy and setfiles only
use libselinux and libsepol. semodule and semanage use
libsemanage (and thus bring in dependencies on libsepol and
libselinux as well). setsebool uses libselinux to make
non-persistent boolean changes (via the kernel interface)
and uses libsemanage to make persistent boolean changes.
The base package will install the following utilities:
load_policy
newrole
run_init
secon
semodule
sestatus
setfiles
setsebool
http://selinuxproject.org/page/Main_Page