summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Ouyang <Xin.Ouyang@windriver.com>2013-01-04 18:34:21 +0800
committerXin Ouyang <Xin.Ouyang@windriver.com>2013-01-05 14:00:29 +0800
commit44f43e02bd82c8a00c2f121bf7ca3062a46998c3 (patch)
treeea594f7bc7f0ec32f7e9dd1c03ba1d2f2997bb80
parentd95d951a0ef6fd46848269c3b76c77d85bf8f1a3 (diff)
downloadmeta-selinux-44f43e02bd82c8a00c2f121bf7ca3062a46998c3.tar.gz
packages: inherit selinux
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r--recipes-core/sysvinit/sysvinit_2.88dsf.bbappend8
-rw-r--r--recipes-extended/logrotate/logrotate_3.8.1.bbappend8
-rw-r--r--recipes-extended/lsof/lsof_4.86.bbappend8
-rw-r--r--recipes-extended/net-tools/net-tools_1.60-23.bbappend8
-rw-r--r--recipes-extended/sed/sed_4.2.1.bbappend6
5 files changed, 24 insertions, 14 deletions
diff --git a/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
index 95c2f76..636dc5e 100644
--- a/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
+++ b/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
@@ -4,9 +4,11 @@ B = "${S}"
4 4
5SRC_URI += "file://sysvinit-fix-is_selinux_enabled.patch" 5SRC_URI += "file://sysvinit-fix-is_selinux_enabled.patch"
6 6
7DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 7inherit selinux
8 8
9EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'WITH_SELINUX=\"yes\"', '', d)}" 9DEPENDS += "${LIBSELINUX}"
10 10
11PR .= ".1" 11EXTRA_OEMAKE += "${@target_selinux(d, 'WITH_SELINUX=\"yes\"')}"
12
13PR .= ".2"
12 14
diff --git a/recipes-extended/logrotate/logrotate_3.8.1.bbappend b/recipes-extended/logrotate/logrotate_3.8.1.bbappend
index 23d2ae4..208ea77 100644
--- a/recipes-extended/logrotate/logrotate_3.8.1.bbappend
+++ b/recipes-extended/logrotate/logrotate_3.8.1.bbappend
@@ -1,5 +1,7 @@
1PR .= ".1" 1PR .= ".2"
2 2
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 3inherit selinux
4 4
5EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'WITH_SELINUX=\"yes\"', '', d)}" 5DEPENDS += "${LIBSELINUX}"
6
7EXTRA_OEMAKE += "${@target_selinux(d, 'WITH_SELINUX=\"yes\"')}"
diff --git a/recipes-extended/lsof/lsof_4.86.bbappend b/recipes-extended/lsof/lsof_4.86.bbappend
index 5b12125..793b13f 100644
--- a/recipes-extended/lsof/lsof_4.86.bbappend
+++ b/recipes-extended/lsof/lsof_4.86.bbappend
@@ -1,9 +1,11 @@
1PR .= ".1" 1PR .= ".2"
2 2
3DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 3inherit selinux
4
5DEPENDS += "${LIBSELINUX}"
4 6
5do_configure_prepend () { 7do_configure_prepend () {
6 export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}" 8 export LINUX_HASSELINUX="${@target_selinux(d, 'Y', 'N')}"
7 export LSOF_CFGF="${CFLAGS}" 9 export LSOF_CFGF="${CFLAGS}"
8 export LSOF_CFGL="${LDFLAGS}" 10 export LSOF_CFGL="${LDFLAGS}"
9 export LSOF_CC="${BUILD_CC}" 11 export LSOF_CC="${BUILD_CC}"
diff --git a/recipes-extended/net-tools/net-tools_1.60-23.bbappend b/recipes-extended/net-tools/net-tools_1.60-23.bbappend
index 5d76214..e99a5bc 100644
--- a/recipes-extended/net-tools/net-tools_1.60-23.bbappend
+++ b/recipes-extended/net-tools/net-tools_1.60-23.bbappend
@@ -1,9 +1,11 @@
1PR .= ".1" 1PR .= ".2"
2 2
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
4 4
5SRC_URI += "file://netstat-selinux-support.patch" 5SRC_URI += "file://netstat-selinux-support.patch"
6 6
7DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 7inherit selinux
8 8
9EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'selinux', 'HAVE_SELINUX=1', 'HAVE_SELINUX=0', d)}" 9DEPENDS += "${LIBSELINUX}"
10
11EXTRA_OEMAKE += "${@target_selinux(d, 'HAVE_SELINUX=1', 'HAVE_SELINUX=0')}"
diff --git a/recipes-extended/sed/sed_4.2.1.bbappend b/recipes-extended/sed/sed_4.2.1.bbappend
index 52243c2..0607d44 100644
--- a/recipes-extended/sed/sed_4.2.1.bbappend
+++ b/recipes-extended/sed/sed_4.2.1.bbappend
@@ -1,7 +1,9 @@
1PR .= ".1" 1PR .= ".2"
2 2
3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" 3FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
4 4
5SRC_URI += "file://sed-selinux-fix.patch" 5SRC_URI += "file://sed-selinux-fix.patch"
6 6
7DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" 7inherit selinux
8
9DEPENDS += "${LIBSELINUX}"