diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2017-09-04 22:59:50 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@windriver.com> | 2017-09-13 19:48:51 -0500 |
commit | 17cda5af69a4bab61b79d14f59676bbe40c0a4e9 (patch) | |
tree | bf23b521d95daaf4dd404bb5e19095f130e3b15b | |
parent | 1d3df562b781c7c9f9c54e65f2ac5972d2a0b022 (diff) | |
download | meta-selinux-17cda5af69a4bab61b79d14f59676bbe40c0a4e9.tar.gz |
semodule-utils: add package 2.7 (20170804)
Move policycoreutils/semodule_* to semodule-utils/*:
- policycoreutils/semodule_deps -> semodule-utils/semodule_deps
- policycoreutils/semodule_expand -> semodule-utils/semodule_expand
- policycoreutils/semodule_link -> semodule-utils/semodule_link
- policycoreutils/semodule_package -> semodule-utils/semodule_package
* Cleanup policycoreutils.inc
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r-- | recipes-security/selinux/policycoreutils.inc | 13 | ||||
-rw-r--r-- | recipes-security/selinux/semodule-utils.inc | 27 | ||||
-rw-r--r-- | recipes-security/selinux/semodule-utils_2.7.bb | 7 |
3 files changed, 35 insertions, 12 deletions
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 05fd43d..8a9027b 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc | |||
@@ -75,10 +75,6 @@ PACKAGES =+ "\ | |||
75 | ${PN}-runinit \ | 75 | ${PN}-runinit \ |
76 | ${PN}-secon \ | 76 | ${PN}-secon \ |
77 | ${PN}-semodule \ | 77 | ${PN}-semodule \ |
78 | ${PN}-semodule-deps \ | ||
79 | ${PN}-semodule-expand \ | ||
80 | ${PN}-semodule-link \ | ||
81 | ${PN}-semodule-package \ | ||
82 | ${PN}-sestatus \ | 78 | ${PN}-sestatus \ |
83 | ${PN}-setfiles \ | 79 | ${PN}-setfiles \ |
84 | ${PN}-setsebool \ | 80 | ${PN}-setsebool \ |
@@ -102,13 +98,6 @@ FILES_${PN}-runinit += "\ | |||
102 | FILES_${PN}-dbg += "${prefix}/libexec/selinux/hll/.debug" | 98 | FILES_${PN}-dbg += "${prefix}/libexec/selinux/hll/.debug" |
103 | FILES_${PN}-secon += "${bindir}/secon" | 99 | FILES_${PN}-secon += "${bindir}/secon" |
104 | FILES_${PN}-semodule += "${sbindir}/semodule" | 100 | FILES_${PN}-semodule += "${sbindir}/semodule" |
105 | FILES_${PN}-semodule-deps += "${bindir}/semodule_deps" | ||
106 | FILES_${PN}-semodule-expand += "${bindir}/semodule_expand" | ||
107 | FILES_${PN}-semodule-link += "${bindir}/semodule_link" | ||
108 | FILES_${PN}-semodule-package += "\ | ||
109 | ${bindir}/semodule_package \ | ||
110 | ${bindir}/semodule_unpackage \ | ||
111 | " | ||
112 | FILES_${PN}-hll += "${prefix}/libexec/selinux/hll/*" | 101 | FILES_${PN}-hll += "${prefix}/libexec/selinux/hll/*" |
113 | FILES_${PN}-sestatus += "\ | 102 | FILES_${PN}-sestatus += "\ |
114 | ${sbindir}/sestatus \ | 103 | ${sbindir}/sestatus \ |
@@ -142,7 +131,7 @@ EXTRA_OEMAKE += "INITDIR=${D}/etc/init.d" | |||
142 | 131 | ||
143 | BBCLASSEXTEND = "native" | 132 | BBCLASSEXTEND = "native" |
144 | 133 | ||
145 | PCU_NATIVE_CMDS = "setfiles semodule_package semodule semodule_link semodule_expand semodule_deps hll" | 134 | PCU_NATIVE_CMDS = "setfiles semodule hll" |
146 | 135 | ||
147 | do_compile_virtclass-native() { | 136 | do_compile_virtclass-native() { |
148 | for PCU_CMD in ${PCU_NATIVE_CMDS} ; do | 137 | for PCU_CMD in ${PCU_NATIVE_CMDS} ; do |
diff --git a/recipes-security/selinux/semodule-utils.inc b/recipes-security/selinux/semodule-utils.inc new file mode 100644 index 0000000..1e92745 --- /dev/null +++ b/recipes-security/selinux/semodule-utils.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Utilities to manipulate SELinux policy module package" | ||
2 | DESCRIPTION = "\ | ||
3 | The utilities to create, expand, link and show the dependencies between \ | ||
4 | the SELinux policy module packages." | ||
5 | |||
6 | SECTION = "base" | ||
7 | LICENSE = "GPLv2+" | ||
8 | |||
9 | DEPENDS += "libsepol" | ||
10 | |||
11 | EXTRA_OEMAKE += "LIBSEPOLA=${STAGING_LIBDIR}/libsepol.a" | ||
12 | |||
13 | PACKAGES =+ "\ | ||
14 | ${PN}-semodule-deps \ | ||
15 | ${PN}-semodule-expand \ | ||
16 | ${PN}-semodule-link \ | ||
17 | ${PN}-semodule-package \ | ||
18 | " | ||
19 | FILES_${PN}-semodule-deps += "${bindir}/semodule_deps" | ||
20 | FILES_${PN}-semodule-expand += "${bindir}/semodule_expand" | ||
21 | FILES_${PN}-semodule-link += "${bindir}/semodule_link" | ||
22 | FILES_${PN}-semodule-package += "\ | ||
23 | ${bindir}/semodule_package \ | ||
24 | ${bindir}/semodule_unpackage \ | ||
25 | " | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-security/selinux/semodule-utils_2.7.bb b/recipes-security/selinux/semodule-utils_2.7.bb new file mode 100644 index 0000000..fbb88bf --- /dev/null +++ b/recipes-security/selinux/semodule-utils_2.7.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | include selinux_20170804.inc | ||
2 | include ${BPN}.inc | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
5 | |||
6 | SRC_URI[md5sum] = "678e3a5225f9645d40fd9d13bbaa156f" | ||
7 | SRC_URI[sha256sum] = "90c98b3362a43b4da2a51a9176820a56f3e615225e23e3395bc566c4490786ba" | ||