diff options
Diffstat (limited to 'recipes-security/selinux/checkpolicy_3.6.bb')
-rw-r--r-- | recipes-security/selinux/checkpolicy_3.6.bb | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "SELinux policy compiler" | ||
2 | DESCRIPTION = "\ | ||
3 | This package contains checkpolicy, the SELinux policy compiler. Only \ | ||
4 | required for building policies. It uses libsepol to generate the \ | ||
5 | binary policy. checkpolicy uses the static libsepol since it deals \ | ||
6 | with low level details of the policy that have not been \ | ||
7 | encapsulated/abstracted by a proper shared library interface." | ||
8 | SECTION = "base" | ||
9 | LICENSE = "GPL-2.0-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=393a5ca445f6965873eca0259a17f833" | ||
11 | |||
12 | require selinux_common.inc | ||
13 | |||
14 | DEPENDS = "libsepol bison-native" | ||
15 | |||
16 | S = "${WORKDIR}/git/checkpolicy" | ||
17 | |||
18 | do_install:append() { | ||
19 | install test/dismod ${D}/${bindir}/sedismod | ||
20 | install test/dispol ${D}/${bindir}/sedispol | ||
21 | } | ||
22 | |||
23 | BBCLASSEXTEND = "native" | ||