From d10900fc87b7ac7758b15b275659b8a6e1042397 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 13 Mar 2021 13:50:30 +0800 Subject: libsepol: update to 3.2 Merge inc file into bb file. Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- recipes-security/selinux/libsepol.inc | 17 ----------------- recipes-security/selinux/libsepol_3.1.bb | 8 -------- recipes-security/selinux/libsepol_3.2.bb | 22 ++++++++++++++++++++++ 3 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 recipes-security/selinux/libsepol.inc delete mode 100644 recipes-security/selinux/libsepol_3.1.bb create mode 100644 recipes-security/selinux/libsepol_3.2.bb diff --git a/recipes-security/selinux/libsepol.inc b/recipes-security/selinux/libsepol.inc deleted file mode 100644 index a8ee749..0000000 --- a/recipes-security/selinux/libsepol.inc +++ /dev/null @@ -1,17 +0,0 @@ -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+" - -inherit lib_package - -# Change RANLIB for cross compiling, use host-tools $(AR) rather than -# local ranlib. -EXTRA_OEMAKE += "RANLIB='$(AR) s'" - -DEPENDS += "flex-native" - -BBCLASSEXTEND = "native" diff --git a/recipes-security/selinux/libsepol_3.1.bb b/recipes-security/selinux/libsepol_3.1.bb deleted file mode 100644 index 1568025..0000000 --- a/recipes-security/selinux/libsepol_3.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -require selinux_20200710.inc -require ${BPN}.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI[md5sum] = "b56dc01b76b97dcb730ab4e2fd1c9dea" -SRC_URI[sha256sum] = "ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc" - diff --git a/recipes-security/selinux/libsepol_3.2.bb b/recipes-security/selinux/libsepol_3.2.bb new file mode 100644 index 0000000..48d5f49 --- /dev/null +++ b/recipes-security/selinux/libsepol_3.2.bb @@ -0,0 +1,22 @@ +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 + +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" -- cgit v1.2.3-54-g00ecf