summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/libsepol_3.2.bb
blob: 192f1b3ea0180cecf767ebfeb3a713995b19d434 (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
25
26
SUMMARY = "SELinux binary policy manipulation library"
DESCRIPTION = "libsepol provides an API for the manipulation of SELinux binary policies. \
It is used by checkpolicy (the policy compiler) and similar tools, as well \
as by programs like load_policy that need to perform specific transformations \
on binary policies such as customizing policy boolean settings."
SECTION = "base"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"

require selinux_common.inc

SRC_URI += "file://CVE-2021-36084.patch \
            file://CVE-2021-36085.patch \
            file://CVE-2021-36086.patch "

inherit lib_package

S = "${WORKDIR}/git/libsepol"

# Change RANLIB for cross compiling, use host-tools $(AR) rather than
# local ranlib.
EXTRA_OEMAKE += "RANLIB='$(AR) s'"

DEPENDS += "flex-native"

BBCLASSEXTEND = "native"