diff options
Diffstat (limited to 'recipes-security/selinux/libselinux_3.5.bb')
-rw-r--r-- | recipes-security/selinux/libselinux_3.5.bb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-security/selinux/libselinux_3.5.bb b/recipes-security/selinux/libselinux_3.5.bb deleted file mode 100644 index 37383eb..0000000 --- a/recipes-security/selinux/libselinux_3.5.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | SUMMARY = "SELinux library and simple utilities" | ||
2 | DESCRIPTION = "libselinux provides an API for SELinux applications to get and set \ | ||
3 | process and file security contexts and to obtain security policy \ | ||
4 | decisions. Required for any applications that use the SELinux API." | ||
5 | SECTION = "base" | ||
6 | LICENSE = "PD" | ||
7 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" | ||
8 | |||
9 | require selinux_common.inc | ||
10 | |||
11 | inherit lib_package pkgconfig | ||
12 | |||
13 | FILESEXTRAPATHS:prepend := "${THISDIR}/libselinux:" | ||
14 | SRC_URI += "\ | ||
15 | file://0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch \ | ||
16 | " | ||
17 | |||
18 | DEPENDS = "libsepol libpcre2" | ||
19 | DEPENDS:append:libc-musl = " fts" | ||
20 | |||
21 | S = "${WORKDIR}/git/libselinux" | ||
22 | |||
23 | def get_policyconfigarch(d): | ||
24 | import re | ||
25 | target = d.getVar('TARGET_ARCH') | ||
26 | p = re.compile('i.86') | ||
27 | target = p.sub('i386',target) | ||
28 | return "ARCH=%s" % (target) | ||
29 | |||
30 | EXTRA_OEMAKE = "${@get_policyconfigarch(d)}" | ||
31 | EXTRA_OEMAKE:append:libc-musl = " FTS_LDLIBS=-lfts" | ||
32 | |||
33 | BBCLASSEXTEND = "native" | ||