diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-03-13 13:50:34 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-03-17 09:39:50 -0400 |
commit | 756f4f97a180bf076ead2b44ac660101fb81c7ca (patch) | |
tree | 85427ead79578cde656ec80801276b13b444d16e | |
parent | bb2473e6d724de6b662f4c45302e7af7b1f87dd2 (diff) | |
download | meta-selinux-756f4f97a180bf076ead2b44ac660101fb81c7ca.tar.gz |
checkpolicy: update to 3.2
Merge inc file into bb file.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | recipes-security/selinux/checkpolicy_3.1.bb | 7 | ||||
-rw-r--r-- | recipes-security/selinux/checkpolicy_3.2.bb (renamed from recipes-security/selinux/checkpolicy.inc) | 10 |
2 files changed, 7 insertions, 10 deletions
diff --git a/recipes-security/selinux/checkpolicy_3.1.bb b/recipes-security/selinux/checkpolicy_3.1.bb deleted file mode 100644 index 71045b8..0000000 --- a/recipes-security/selinux/checkpolicy_3.1.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | require selinux_20200710.inc | ||
2 | require ${BPN}.inc | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
5 | |||
6 | SRC_URI[md5sum] = "1302676cd8853f740a963fd6d5bb4172" | ||
7 | SRC_URI[sha256sum] = "dfc7707070520c93b14fbbdfdbe081364d806bf28e3e79e10318c2594c77bbb2" | ||
diff --git a/recipes-security/selinux/checkpolicy.inc b/recipes-security/selinux/checkpolicy_3.2.bb index 1d84ebb..552dc26 100644 --- a/recipes-security/selinux/checkpolicy.inc +++ b/recipes-security/selinux/checkpolicy_3.2.bb | |||
@@ -5,18 +5,22 @@ required for building policies. It uses libsepol to generate the \ | |||
5 | binary policy. checkpolicy uses the static libsepol since it deals \ | 5 | binary policy. checkpolicy uses the static libsepol since it deals \ |
6 | with low level details of the policy that have not been \ | 6 | with low level details of the policy that have not been \ |
7 | encapsulated/abstracted by a proper shared library interface." | 7 | encapsulated/abstracted by a proper shared library interface." |
8 | |||
9 | SECTION = "base" | 8 | SECTION = "base" |
10 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
10 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
11 | |||
12 | require selinux_common.inc | ||
11 | 13 | ||
12 | DEPENDS += "libsepol bison-native flex-native" | 14 | DEPENDS += "libsepol bison-native flex-native" |
13 | 15 | ||
14 | EXTRA_OEMAKE += "LEX='flex'" | 16 | EXTRA_OEMAKE += "LEX='flex'" |
15 | EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a" | 17 | EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a" |
16 | 18 | ||
19 | S = "${WORKDIR}/git/checkpolicy" | ||
20 | |||
17 | do_install_append() { | 21 | do_install_append() { |
18 | install test/dismod ${D}/${bindir}/sedismod | 22 | install test/dismod ${D}/${bindir}/sedismod |
19 | install test/dispol ${D}/${bindir}/sedispol | 23 | install test/dispol ${D}/${bindir}/sedispol |
20 | } | 24 | } |
21 | 25 | ||
22 | BBCLASSEXTEND = "native" | 26 | BBCLASSEXTEND = "native" |