mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-20 17:17:14 +00:00
openscape: fix ptest compile errors and update
update to 1.2.15 plus ERROR: openscap-1.2.14-r0 do_package_qa: QA Issue: /usr/lib/openscap/ptest/tests/probes/process58/all.sh contained in package openscap-ptest requires /bin/bash, but no providers found in RDEPENDS_openscap-ptest? [file-rdeps] ERROR: openscap-1.2.14-r0 do_package_qa: QA Issue: /usr/lib/openscap/ptest/tests/xmldiff.pl contained in package openscap-ptest requires /usr/bin/perl, but no providers found in RDEPENDS_openscap-ptest? [file-rdeps] ERROR: openscap-1.2.14-r0 do_package_qa: QA Issue: /usr/lib/openscap/ptest/tests/nist/test_worker.py contained in package openscap-ptest requires /usr/bin/python2, but no providers found in RDEPENDS_openscap-ptest? [file-rdeps] Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
+3
-1
@@ -11,7 +11,7 @@ DEPENDS = "autoconf-archive pkgconfig gconf procps curl libxml2 rpm \
|
|||||||
|
|
||||||
DEPENDS_class-native = "autoconf-archive-native pkgconfig-native swig-native curl-native libxml2-native libxslt-native dpkg-native libgcrypt-native nss-native"
|
DEPENDS_class-native = "autoconf-archive-native pkgconfig-native swig-native curl-native libxml2-native libxslt-native dpkg-native libgcrypt-native nss-native"
|
||||||
|
|
||||||
SRCREV = "7a924c0eea10d05f512660192c8c4aef447801a6"
|
SRCREV = "240930d42611983c65ecae16dbca3248ce130921"
|
||||||
SRC_URI = "git://github.com/akuster/openscap.git;branch=oe \
|
SRC_URI = "git://github.com/akuster/openscap.git;branch=oe \
|
||||||
file://crypto_pkgconfig.patch \
|
file://crypto_pkgconfig.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
@@ -66,6 +66,7 @@ do_install_append_class-native () {
|
|||||||
TESTDIR = "tests"
|
TESTDIR = "tests"
|
||||||
|
|
||||||
do_compile_ptest() {
|
do_compile_ptest() {
|
||||||
|
sed -i 's:python2:python:' ${S}/${TESTDIR}/nist/test_worker.py
|
||||||
echo 'buildtest-TESTS: $(check)' >> ${TESTDIR}/Makefile
|
echo 'buildtest-TESTS: $(check)' >> ${TESTDIR}/Makefile
|
||||||
oe_runmake -C ${TESTDIR} buildtest-TESTS
|
oe_runmake -C ${TESTDIR} buildtest-TESTS
|
||||||
}
|
}
|
||||||
@@ -78,5 +79,6 @@ do_install_ptest() {
|
|||||||
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
|
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
|
||||||
|
|
||||||
RDEPENDS_${PN} += "libxml2 python libgcc"
|
RDEPENDS_${PN} += "libxml2 python libgcc"
|
||||||
|
RDEPENDS_${PN}-ptest = "bash perl python"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
Reference in New Issue
Block a user