selinux-python: add python-core as runtime dependency
PATCH 1/2 selinux-python: add python-core as runtime dependency
Fix QA issues:
QA Issue: /usr/lib64/python2.7/site-packages/seobject.py contained in package selinux-python requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python? [file-rdeps]
QA Issue: /usr/bin/audit2allow contained in package selinux-python-audit2allow requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python-audit2allow? [file-rdeps]
QA Issue: /usr/bin/chcat contained in package selinux-python-chcat requires /usr/bin/python,
but no providers found in RDEPENDS_selinux-python-chcat? [file-rdeps]
--- recipes-security/selinux/selinux-python.inc | 3 +++ 1 file changed, 3 insertions(+)
recipes-security/selinux/selinux-python.inc +3 -0
@@ -15,11 +15,13 @@ inherit python-dir DEPENDS += "python-native libsepol" RDEPENDS_${BPN}-audit2allow += "\ + python-core \ python-textutils \ libselinux-python \ ${BPN}-sepolgen \ " RDEPENDS_${BPN}-chcat += "\ + python-core \ python-codecs \ python-shell \ python-stringold \
@@ -28,6 +30,7 @@ RDEPENDS_${BPN}-chcat += "\ ${BPN} \ " RDEPENDS_${BPN} += "\ + python-core \ python-codecs \ python-io \ python-ipy \
Signature · 1 line
2.7.4
PATCH v2 2/2 setools: do not use unstable github archive tarballs
From: Hongxu Jia <[email protected]>
Since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs
SETools has moved from https://github.com/TresysTechnology/setools to
https://github.com/SELinuxProject/setools
See: https://github.com/TresysTechnology/setools/wiki
--- recipes-security/setools/setools_4.1.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-security/setools/setools_4.1.1.bb +3 -3
@@ -8,14 +8,14 @@ SETools." SECTION = "base" LICENSE = "GPLv2 & LGPLv2.1" -SRC_URI = "https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz;downloadfilename=setools-${PV}.tar.gz \ +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.1 \ file://setools4-fixes-for-cross-compiling.patch \ file://setools4-fix-cross-compiling-errors-for-powerpc-mips.patch \ file://Fix-build-failure-with-GCC-7-due-to-possible-truncat.patch \ " -SRC_URI[md5sum] = "54cf5c0ca2aa4ef7c6ac153981af34cd" -SRC_URI[sha256sum] = "46a927ea2b163cbe1d35cc35da43e45853e13720c7e02d4cf75a498783c19610" +SRCREV = "e03617eb7ab5a035633bff66500b95d25232e331" LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \ file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
Signature · 1 line
2.7.4