Name libselinux-python
Version 3.0
Summary SELinux library and simple utilities
Description libselinux provides an API for SELinux applications to get and set process and file security contexts and to obtain security policy decisions. Required for any applications that use the SELinux API.
Section base
License PD
Homepage
Recipe file recipes-security/selinux/libselinux-python_3.0.bb
recipes-security/selinux/libselinux-python.inc
Layer meta-selinux (dunfell branch)
Inherits
  • python3-dir
  • python3native
  • python3targetconfig
Dependencies
  • libpcre
  • libsepol
  • python3
  • python3-native
  • swig-native
  • virtual/i686-oe-linux-compilerlibs
  • virtual/i686-oe-linux-gcc
  • virtual/libc
PACKAGECONFIG options

Sources

https://github.com/SELinuxProject/selinux/releases/download/20191204/libselinux-3.0.tar.gz

Patches

Patch Status
libselinux/libselinux-drop-Wno-unused-but-set-variable.patch Inappropriate [older compilers only]
libselinux/libselinux-make-O_CLOEXEC-optional.patch Inappropriate [O_CLOEXEC has been in Linux since 2007 and POSIX since 2008]
libselinux/libselinux-make-SOCK_CLOEXEC-optional.patch Inappropriate
libselinux/libselinux-define-FD_CLOEXEC-as-necessary.patch Inappropriate
libselinux/0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch Backport
libselinux/0001-Makefile-fix-python-modules-install-path-for-multili.patch Inappropriate [embedded specific]
libselinux/0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch Denied [https://patchwork.kernel.org/patch/11212405/]

bbappends

This recipe is appended by:

meta-mentor-staging libselinux-python_3.0.bbappend

Other branches

This recipe in other branches of meta-selinux:

Branch Recipe
master libselinux-python 3.7
styhead (Yocto Project 5.1) libselinux-python 3.7
scarthgap (Yocto Project 5.0) libselinux-python 3.6
nanbield (Yocto Project 4.3) libselinux-python 3.5
mickledore (Yocto Project 4.2) libselinux-python 3.5
langdale (Yocto Project 4.1) libselinux-python 3.4
kirkstone (Yocto Project 4.0) libselinux-python 3.3
honister (Yocto Project 3.4) libselinux-python 3.2
hardknott (Yocto Project 3.3) libselinux-python 3.2
gatesgarth (Yocto Project 3.2) libselinux-python 3.0
dunfell (Yocto Project 3.1) libselinux-python 3.0 (this recipe)