summaryrefslogtreecommitdiff
path: root/package/restorecond/Config.in
blob: 54a5545a12a0d1cafe517839824dd367adb303d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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