summaryrefslogtreecommitdiffstats
path: root/package/libselinux
Commit message (Collapse)AuthorAgeFilesLines
* libselinux: use correct definition of ARCHVicente Olivert Riera2015-09-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The Makefile of libselinux performs the following check: ARCH := $(patsubst i%86,i386,$(shell uname -m)) ifneq (,$(filter i386,$(ARCH))) TLSFLAGS += -mno-tls-direct-seg-refs endif Which means that if the host machine is an x86, then TLSFLAGS will contain -mno-tls-direct-seg-refs. That command line option causes libselinux to fail when building it for target architectures where the compiler doesn't support that option, i.e. MIPS: mips-img-linux-gnu-gcc: error: unrecognized command line option ‘-mno-tls-direct-seg-refs’ So to fix that problem we can set the ARCH variable to $(KERNEL_ARCH), and then append it to the LIBSELINUX_MAKE_OPTS. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libselinux: mark as not available on ARCThomas Petazzoni2015-08-191-0/+3
| | | | | | | | | | | | | | | libselinux causes some build problems due to the toolchain on ARC, which haven't been solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC. Fixes: http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libselinux: fix build with muslYann E. MORIN2015-07-271-0/+30
| | | | | | | | | | | | | | | | | | | musl does not define glibcisms, so we are missing some macros. Define what we need in case the macro is missing. We're using a dumb implementation, which is rather slow, to avoid copying from glibc, to avoid propagating the LGPL to libselinux, which is Public Domain. Fixes a bunch of autobuild failures: http://autobuild.buildroot.org/results/d4d/d4d209719d1ce5219f84719ad72fcb6a0c684007/ http://autobuild.buildroot.org/results/1a6/1a65cc3d2c23a3c17c605788be62dbd18cbdaf76/ http://autobuild.buildroot.org/results/0d0/0d0e4713833182d0f634b9b39b2c56f2bc0adcac/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Clayton Shotwell <clshotwe@rockwellcollins.com> Reviewed-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libselinux: add patch to fix Blackfin build issueThomas Petazzoni2015-02-081-0/+24
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/165/165a227a0a8ecd4cb3f96761aacdf90ae974fea7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libselinux: needs shared library supportThomas Petazzoni2015-01-021-2/+3
| | | | | | | | | | | | | Even though technically libselinux could make its <dlfcn.h> include optional, the build system isn't really suited to build and install only the static variant of libselinux, so let's make libselinux and its reverse dependency not available in pure-static environments. Fixes: http://autobuild.buildroot.org/results/90d/90dc73980a45b9b0441be3d493b22e3afea3cd6e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libselinux: change to github locationPeter Korsgaard2015-01-021-1/+1
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/4a7/4a7b71f1471b889abf278882a7735475dd95451b/ http://autobuild.buildroot.net/results/bdf/bdf621c5a893bce51db95f4a8f2814c14d2f6d49/ http://autobuild.buildroot.net/results/7a8/7a8426f60a7377e3b08e6502f4e0b2c738002a79/ http://autobuild.buildroot.net/results/d90/d90e40f7fb6e1a7d429454d04b9f5f69826a842e/ And many more. The old location doesn't seem active any more. Even though this github URL looks a bit odd, it is linked from https://github.com/SELinuxProject/selinux/wiki/Releases Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libselinux: new packageClayton Shotwell2015-01-013-0/+100
[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>
OpenPOWER on IntegriCloud