diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-09-25 13:26:01 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-10-18 11:33:50 +0800 |
commit | d49dc4eea865c4174337a99cae4fe9a2343b7455 (patch) | |
tree | d5dedd254dd96ce7b5addf9be1930a5a224c225a | |
parent | f4a4f5f183b4bdca8d260bc35307df722cfa9928 (diff) | |
download | meta-selinux-d49dc4eea865c4174337a99cae4fe9a2343b7455.tar.gz |
change python-native back for denzil branch.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-security/audit/audit_2.1.3.bb | 4 | ||||
-rw-r--r-- | recipes-security/audit/audit_2.2.1.bb | 4 | ||||
-rw-r--r-- | recipes-security/libcap-ng/libcap-ng_0.6.5.bb | 4 | ||||
-rw-r--r-- | recipes-security/libcap-ng/libcap-ng_0.6.6.bb | 4 | ||||
-rw-r--r-- | recipes-security/refpolicy/refpolicy_common.inc | 4 | ||||
-rw-r--r-- | recipes-security/selinux/libselinux_2.1.9.bb | 4 | ||||
-rw-r--r-- | recipes-security/selinux/libselinux_git.bb | 4 | ||||
-rw-r--r-- | recipes-security/selinux/policycoreutils_2.1.10.bb | 4 | ||||
-rw-r--r-- | recipes-security/selinux/policycoreutils_git.bb | 4 | ||||
-rw-r--r-- | recipes-security/setools/setools_3.3.7.bb | 4 |
10 files changed, 18 insertions, 22 deletions
diff --git a/recipes-security/audit/audit_2.1.3.bb b/recipes-security/audit/audit_2.1.3.bb index 8c82918..1e595f2 100644 --- a/recipes-security/audit/audit_2.1.3.bb +++ b/recipes-security/audit/audit_2.1.3.bb | |||
@@ -14,12 +14,12 @@ SRC_URI = "http://people.redhat.com/sgrubb/audit/audit-2.1.3.tar.gz \ | |||
14 | 14 | ||
15 | SRC_URI += "file://audit-for-cross-compiling.patch" | 15 | SRC_URI += "file://audit-for-cross-compiling.patch" |
16 | 16 | ||
17 | inherit autotools pythonnative | 17 | inherit autotools |
18 | 18 | ||
19 | SRC_URI[md5sum] = "abf26e3ac09f666905c5636dd24611fa" | 19 | SRC_URI[md5sum] = "abf26e3ac09f666905c5636dd24611fa" |
20 | SRC_URI[sha256sum] = "1c61858d8ed299128aa6bd8e85bac758bfe33e61358d259e52acb7d961fee90e" | 20 | SRC_URI[sha256sum] = "1c61858d8ed299128aa6bd8e85bac758bfe33e61358d259e52acb7d961fee90e" |
21 | 21 | ||
22 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)" | 22 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30) python-native" |
23 | 23 | ||
24 | EXTRA_OECONF += "--without-prelude --with-libwrap --enable-gssapi-krb5=no --disable-ldap --with-libcap-ng=yes" | 24 | EXTRA_OECONF += "--without-prelude --with-libwrap --enable-gssapi-krb5=no --disable-ldap --with-libcap-ng=yes" |
25 | 25 | ||
diff --git a/recipes-security/audit/audit_2.2.1.bb b/recipes-security/audit/audit_2.2.1.bb index 5dabf0d..cc1e419 100644 --- a/recipes-security/audit/audit_2.2.1.bb +++ b/recipes-security/audit/audit_2.2.1.bb | |||
@@ -17,12 +17,12 @@ SRC_URI += "file://2.2.1-audit-for-cross-compiling.patch \ | |||
17 | file://sbin-in-usr.patch \ | 17 | file://sbin-in-usr.patch \ |
18 | file://auditd" | 18 | file://auditd" |
19 | 19 | ||
20 | inherit autotools pythonnative | 20 | inherit autotools |
21 | 21 | ||
22 | SRC_URI[md5sum] = "dc099fcb2f9242d47ecc35b46d71dfd1" | 22 | SRC_URI[md5sum] = "dc099fcb2f9242d47ecc35b46d71dfd1" |
23 | SRC_URI[sha256sum] = "9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148713a63" | 23 | SRC_URI[sha256sum] = "9865ca89f5b975ccf25441ddf45a874448f2bba944005aa8cd5e3c3148713a63" |
24 | 24 | ||
25 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30)" | 25 | DEPENDS += "python tcp-wrappers libcap-ng linux-libc-headers (>= 2.6.30) python-native" |
26 | 26 | ||
27 | EXTRA_OECONF += "--without-prelude \ | 27 | EXTRA_OECONF += "--without-prelude \ |
28 | --with-libwrap \ | 28 | --with-libwrap \ |
diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb index a38bef3..cd755a6 100644 --- a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb +++ b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb | |||
@@ -13,12 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ |
14 | file://python.patch" | 14 | file://python.patch" |
15 | 15 | ||
16 | inherit lib_package autotools pythonnative | 16 | inherit lib_package autotools |
17 | 17 | ||
18 | SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" | 18 | SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" |
19 | SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" | 19 | SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" |
20 | 20 | ||
21 | DEPENDS += "swig-native python" | 21 | DEPENDS += "swig-native python-native python" |
22 | 22 | ||
23 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | 23 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" |
24 | 24 | ||
diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb index 4b0aaa1..807ae41 100644 --- a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb +++ b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb | |||
@@ -13,12 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ | 13 | SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ |
14 | file://python.patch" | 14 | file://python.patch" |
15 | 15 | ||
16 | inherit lib_package autotools pythonnative | 16 | inherit lib_package autotools |
17 | 17 | ||
18 | SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" | 18 | SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" |
19 | SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" | 19 | SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" |
20 | 20 | ||
21 | DEPENDS += "swig-native python" | 21 | DEPENDS += "swig-native python-native python" |
22 | 22 | ||
23 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" | 23 | EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" |
24 | 24 | ||
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc index e47b754..ba56a8e 100644 --- a/recipes-security/refpolicy/refpolicy_common.inc +++ b/recipes-security/refpolicy/refpolicy_common.inc | |||
@@ -8,12 +8,12 @@ S = "${WORKDIR}/refpolicy" | |||
8 | FILES_${PN} = "${sysconfdir}/selinux/${POLICY_NAME}/ \ | 8 | FILES_${PN} = "${sysconfdir}/selinux/${POLICY_NAME}/ \ |
9 | ${datadir}/selinux/${POLICY_NAME}/" | 9 | ${datadir}/selinux/${POLICY_NAME}/" |
10 | 10 | ||
11 | DEPENDS += "checkpolicy-native policycoreutils-native m4-native" | 11 | DEPENDS += "checkpolicy-native policycoreutils-native m4-native python-native" |
12 | RDEPENDS_${PN} += "policycoreutils" | 12 | RDEPENDS_${PN} += "policycoreutils" |
13 | 13 | ||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
15 | 15 | ||
16 | inherit autotools pythonnative | 16 | inherit autotools |
17 | 17 | ||
18 | PARALLEL_MAKE = "" | 18 | PARALLEL_MAKE = "" |
19 | 19 | ||
diff --git a/recipes-security/selinux/libselinux_2.1.9.bb b/recipes-security/selinux/libselinux_2.1.9.bb index 40fbf10..90a009a 100644 --- a/recipes-security/selinux/libselinux_2.1.9.bb +++ b/recipes-security/selinux/libselinux_2.1.9.bb | |||
@@ -8,14 +8,14 @@ LICENSE = "PD" | |||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" |
9 | 9 | ||
10 | include selinux_20120216.inc | 10 | include selinux_20120216.inc |
11 | inherit lib_package pythonnative | 11 | inherit lib_package |
12 | 12 | ||
13 | SRC_URI[md5sum] = "8ea0548dd65e9479b357ba1447f89221" | 13 | SRC_URI[md5sum] = "8ea0548dd65e9479b357ba1447f89221" |
14 | SRC_URI[sha256sum] = "749d4b39c80aa9df8247b8b3187ab72442c0dbad6e70bf312e25052bd4e7063f" | 14 | SRC_URI[sha256sum] = "749d4b39c80aa9df8247b8b3187ab72442c0dbad6e70bf312e25052bd4e7063f" |
15 | 15 | ||
16 | SRC_URI += "file://libselinux-fix-init-load-policy.patch" | 16 | SRC_URI += "file://libselinux-fix-init-load-policy.patch" |
17 | 17 | ||
18 | DEPENDS += "libsepol python swig-native" | 18 | DEPENDS += "libsepol python swig-native python-native" |
19 | 19 | ||
20 | PACKAGES += "${PN}-python" | 20 | PACKAGES += "${PN}-python" |
21 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" | 21 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" |
diff --git a/recipes-security/selinux/libselinux_git.bb b/recipes-security/selinux/libselinux_git.bb index 893fac5..39f12ea 100644 --- a/recipes-security/selinux/libselinux_git.bb +++ b/recipes-security/selinux/libselinux_git.bb | |||
@@ -9,12 +9,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0" | |||
9 | DEFAULT_PREFERENCE = "-1" | 9 | DEFAULT_PREFERENCE = "-1" |
10 | 10 | ||
11 | include selinux_git.inc | 11 | include selinux_git.inc |
12 | inherit lib_package pythonnative | 12 | inherit lib_package |
13 | 13 | ||
14 | SRCREV = "339f8079d7b9dd1e0b0138e2d096dc7c60b2092e" | 14 | SRCREV = "339f8079d7b9dd1e0b0138e2d096dc7c60b2092e" |
15 | PV = "2.1.9+git${SRCPV}" | 15 | PV = "2.1.9+git${SRCPV}" |
16 | 16 | ||
17 | DEPENDS += "libsepol python swig-native" | 17 | DEPENDS += "libsepol python swig-native python-native" |
18 | 18 | ||
19 | PACKAGES += "${PN}-python" | 19 | PACKAGES += "${PN}-python" |
20 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" | 20 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/selinux/*" |
diff --git a/recipes-security/selinux/policycoreutils_2.1.10.bb b/recipes-security/selinux/policycoreutils_2.1.10.bb index f6e998d..5901011 100644 --- a/recipes-security/selinux/policycoreutils_2.1.10.bb +++ b/recipes-security/selinux/policycoreutils_2.1.10.bb | |||
@@ -22,7 +22,7 @@ PAM_SRC_URI = "file://pam.d/newrole \ | |||
22 | file://pam.d/run_init \ | 22 | file://pam.d/run_init \ |
23 | " | 23 | " |
24 | 24 | ||
25 | DEPENDS += "libsepol libselinux libsemanage" | 25 | DEPENDS += "libsepol libselinux libsemanage python-native" |
26 | DEPENDS += "${@['', '${EXTRA_DEPENDS}']['${PN}' != '${BPN}-native']}" | 26 | DEPENDS += "${@['', '${EXTRA_DEPENDS}']['${PN}' != '${BPN}-native']}" |
27 | EXTRA_DEPENDS = "libcap-ng libcgroup" | 27 | EXTRA_DEPENDS = "libcap-ng libcgroup" |
28 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" | 28 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" |
@@ -54,8 +54,6 @@ FILES_${PN}-sandbox = "${datadir}/sandbox/*" | |||
54 | FILES_${PN}-sandbox += "${bindir}/sandbox" | 54 | FILES_${PN}-sandbox += "${bindir}/sandbox" |
55 | FILES_${PN}-sandbox += "${sbindir}/seunshare" | 55 | FILES_${PN}-sandbox += "${sbindir}/seunshare" |
56 | 56 | ||
57 | inherit pythonnative | ||
58 | |||
59 | AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/libaudit.h `" | 57 | AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/libaudit.h `" |
60 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" | 58 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" |
61 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" | 59 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" |
diff --git a/recipes-security/selinux/policycoreutils_git.bb b/recipes-security/selinux/policycoreutils_git.bb index 2736476..c16c7e4 100644 --- a/recipes-security/selinux/policycoreutils_git.bb +++ b/recipes-security/selinux/policycoreutils_git.bb | |||
@@ -23,7 +23,7 @@ PAM_SRC_URI = "file://pam.d/newrole \ | |||
23 | file://pam.d/run_init \ | 23 | file://pam.d/run_init \ |
24 | " | 24 | " |
25 | 25 | ||
26 | DEPENDS += "libsepol libselinux libsemanage" | 26 | DEPENDS += "libsepol libselinux libsemanage python-native" |
27 | DEPENDS += "${@['', '${EXTRA_DEPENDS}']['${PN}' != '${BPN}-native']}" | 27 | DEPENDS += "${@['', '${EXTRA_DEPENDS}']['${PN}' != '${BPN}-native']}" |
28 | EXTRA_DEPENDS = "libcap-ng libcgroup" | 28 | EXTRA_DEPENDS = "libcap-ng libcgroup" |
29 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" | 29 | EXTRA_DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam audit', '', d)}" |
@@ -54,8 +54,6 @@ FILES_${PN}-sandbox = "${datadir}/sandbox/*" | |||
54 | FILES_${PN}-sandbox += "${bindir}/sandbox" | 54 | FILES_${PN}-sandbox += "${bindir}/sandbox" |
55 | FILES_${PN}-sandbox += "${sbindir}/seunshare" | 55 | FILES_${PN}-sandbox += "${sbindir}/seunshare" |
56 | 56 | ||
57 | inherit pythonnative | ||
58 | |||
59 | AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/libaudit.h `" | 57 | AUDITH="`ls ${STAGING_INCDIR}/libaudit.h >/dev/null 2>&1 && echo /usr/include/libaudit.h `" |
60 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" | 58 | PAMH="`ls ${STAGING_INCDIR}/security/pam_appl.h >/dev/null 2>&1 && echo /usr/include/security/pam_appl.h `" |
61 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" | 59 | EXTRA_OEMAKE += "${@base_contains('DISTRO_FEATURES', 'pam', 'PAMH=${PAMH} AUDITH=${AUDITH}', 'PAMH= AUDITH= ', d)} INOTIFYH=n" |
diff --git a/recipes-security/setools/setools_3.3.7.bb b/recipes-security/setools/setools_3.3.7.bb index 2c0f19f..6b05aa0 100644 --- a/recipes-security/setools/setools_3.3.7.bb +++ b/recipes-security/setools/setools_3.3.7.bb | |||
@@ -33,7 +33,7 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \ | |||
33 | file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ | 33 | file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ |
34 | file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24" | 34 | file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24" |
35 | 35 | ||
36 | DEPENDS += "python libsepol libselinux libxml2" | 36 | DEPENDS += "python libsepol libselinux libxml2 python-native" |
37 | 37 | ||
38 | PACKAGES += "${PN}-libs ${PN}-console" | 38 | PACKAGES += "${PN}-libs ${PN}-console" |
39 | 39 | ||
@@ -73,7 +73,7 @@ FILES_${PN}-console = "\ | |||
73 | ${mandir}/man1/sesearch.1.gz \ | 73 | ${mandir}/man1/sesearch.1.gz \ |
74 | " | 74 | " |
75 | 75 | ||
76 | inherit autotools pythonnative | 76 | inherit autotools |
77 | 77 | ||
78 | # need to export these variables for python-config to work | 78 | # need to export these variables for python-config to work |
79 | export BUILD_SYS | 79 | export BUILD_SYS |