9d6da7a264
Policycoreutils was broken up into several packages, as such several changes needed to happen for this patch to work: - Remove patches 3, 4, and 5 as they no longer apply. - Refresh patches 1 and 2 to work with version 2.7 - Remove semodule_${deps,expand,link,package} and sestatus from the makedirs in the mk file. - Remove restorecond from the make and config file. (Seperate package) - Remove Audit2allow from the make and config file. (In a different package) - Remove the package sepolgen - Add the package selinux-python - Add the package restorecond - Add the package semodule-utils - Add the relevant Config.in.legacy options into the menu. Because these are utilities that work on top of python, the older versions of these utilites still work, and as such this should be a single patch. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
848 B
Plaintext
25 lines
848 B
Plaintext
config BR2_PACKAGE_RESTORECOND
|
|
bool "restorecond"
|
|
depends on !BR2_arc
|
|
depends on BR2_USE_MMU # libglib2
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on !BR2_STATIC_LIBS # libselinux
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
|
|
select BR2_PACKAGE_DBUS
|
|
select BR2_PACKAGE_DBUS_GLIB
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_LIBSEPOL
|
|
help
|
|
restorecond is a daemon that watches for file creation and
|
|
then sets the default SELinux file context for that file.
|
|
|
|
https://github.com/SELinuxProject/selinux/wiki/Releases
|
|
|
|
comment "restorecond needs a toolchain w/ wchar, threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_arc
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
|
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_USES_GLIBC
|