summaryrefslogtreecommitdiffstats
path: root/package/libselinux/Config.in
diff options
context:
space:
mode:
authorClayton Shotwell <clshotwe@rockwellcollins.com>2014-12-15 21:53:53 -0600
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-01 20:42:00 +0100
commit9d9f54ac654b15bcffd2a20fe57ad01a494cc4c7 (patch)
tree9cd4c821cdbb55a36b6e8db9a11fdf8e3f81ce97 /package/libselinux/Config.in
parentd09c27a8f8edaaf8e6f3e703355c455b0265002b (diff)
downloadbuildroot-9d9f54ac654b15bcffd2a20fe57ad01a494cc4c7.tar.gz
buildroot-9d9f54ac654b15bcffd2a20fe57ad01a494cc4c7.zip
libselinux: new package
[Thomas: - Add hash file. - Enable on all architectures, and enable on uClibc. The autobuilders will let us know if there are any problems. - Use "Public Domain" as the license instead of "PublicDomain" - Handle Python 2 vs. Python 3 for the host package. Either can be used by libselinux. - Change the trick used to get the library and programs installed in usr/lib/ and usr/sbin/ instead of lib/ and sbin/.] Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libselinux/Config.in')
-rw-r--r--package/libselinux/Config.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in
new file mode 100644
index 0000000000..c8a23b3e2c
--- /dev/null
+++ b/package/libselinux/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_LIBSELINUX
+ bool "libselinux"
+ select BR2_PACKAGE_LIBSEPOL
+ select BR2_PACKAGE_PCRE
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_LARGEFILE
+ help
+ libselinux is the runtime SELinux library that provides
+ interfaces (e.g. library functions for the SELinux kernel
+ APIs like getcon(), other support functions like
+ getseuserbyname()) to SELinux-aware applications. libselinux
+ may use the shared libsepol to manipulate the binary policy
+ if necessary (e.g. to downgrade the policy format to an
+ older version supported by the kernel) when loading policy.
+
+ http://selinuxproject.org/page/Main_Page
+
+comment "libselinux needs a toolchain w/ largefile, threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
OpenPOWER on IntegriCloud