From 1cde56165071293605d043288d5ba9e95066ae89 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 16 Dec 2023 16:21:32 +0800 Subject: checkpolicy: upgrade 3.5 -> 3.6 Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- recipes-security/selinux/checkpolicy_3.5.bb | 23 ----------------------- recipes-security/selinux/checkpolicy_3.6.bb | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_3.5.bb create mode 100644 recipes-security/selinux/checkpolicy_3.6.bb diff --git a/recipes-security/selinux/checkpolicy_3.5.bb b/recipes-security/selinux/checkpolicy_3.5.bb deleted file mode 100644 index 60f506d..0000000 --- a/recipes-security/selinux/checkpolicy_3.5.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "SELinux policy compiler" -DESCRIPTION = "\ -This package contains checkpolicy, the SELinux policy compiler. Only \ -required for building policies. It uses libsepol to generate the \ -binary policy. checkpolicy uses the static libsepol since it deals \ -with low level details of the policy that have not been \ -encapsulated/abstracted by a proper shared library interface." -SECTION = "base" -LICENSE = "GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" - -require selinux_common.inc - -DEPENDS = "libsepol bison-native" - -S = "${WORKDIR}/git/checkpolicy" - -do_install:append() { - install test/dismod ${D}/${bindir}/sedismod - install test/dispol ${D}/${bindir}/sedispol -} - -BBCLASSEXTEND = "native" diff --git a/recipes-security/selinux/checkpolicy_3.6.bb b/recipes-security/selinux/checkpolicy_3.6.bb new file mode 100644 index 0000000..60f506d --- /dev/null +++ b/recipes-security/selinux/checkpolicy_3.6.bb @@ -0,0 +1,23 @@ +SUMMARY = "SELinux policy compiler" +DESCRIPTION = "\ +This package contains checkpolicy, the SELinux policy compiler. Only \ +required for building policies. It uses libsepol to generate the \ +binary policy. checkpolicy uses the static libsepol since it deals \ +with low level details of the policy that have not been \ +encapsulated/abstracted by a proper shared library interface." +SECTION = "base" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +require selinux_common.inc + +DEPENDS = "libsepol bison-native" + +S = "${WORKDIR}/git/checkpolicy" + +do_install:append() { + install test/dismod ${D}/${bindir}/sedismod + install test/dispol ${D}/${bindir}/sedispol +} + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf