From 4184abc2a62d847c9612cc712913676d37ef139d Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sat, 11 Mar 2023 21:12:59 +0800 Subject: checkpolicy: upgrade 3.4 -> 3.5 License-Update: Rename COPYING to LICENSE. No content changes. Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- recipes-security/selinux/checkpolicy_3.4.bb | 23 ----------------------- recipes-security/selinux/checkpolicy_3.5.bb | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_3.4.bb create mode 100644 recipes-security/selinux/checkpolicy_3.5.bb diff --git a/recipes-security/selinux/checkpolicy_3.4.bb b/recipes-security/selinux/checkpolicy_3.4.bb deleted file mode 100644 index 3df1bbb..0000000 --- a/recipes-security/selinux/checkpolicy_3.4.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}/COPYING;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.5.bb b/recipes-security/selinux/checkpolicy_3.5.bb new file mode 100644 index 0000000..60f506d --- /dev/null +++ b/recipes-security/selinux/checkpolicy_3.5.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