diff options
author | Armin Kuster <akuster808@gmail.com> | 2017-10-12 20:42:04 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-10-15 16:35:15 -0700 |
commit | d9145660cc9fedb4bea17c28d0b69831a6fb4f6e (patch) | |
tree | 59e30fc563be582540b471c3511341a49676268e /meta-security-compliance/recipes-openscap/openscap | |
parent | 4b67ec826350409916feb60af622a67518eb0a51 (diff) | |
download | meta-security-d9145660cc9fedb4bea17c28d0b69831a6fb4f6e.tar.gz |
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>
Diffstat (limited to 'meta-security-compliance/recipes-openscap/openscap')
-rw-r--r-- | meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb (renamed from meta-security-compliance/recipes-openscap/openscap/openscap_1.2.14.bb) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.14.bb b/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb index 0d26959..4dacfa2 100644 --- a/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.14.bb +++ b/meta-security-compliance/recipes-openscap/openscap/openscap_1.2.15.bb | |||
@@ -11,7 +11,7 @@ DEPENDS = "autoconf-archive pkgconfig gconf procps curl libxml2 rpm \ | |||
11 | 11 | ||
12 | DEPENDS_class-native = "autoconf-archive-native pkgconfig-native swig-native curl-native libxml2-native libxslt-native dpkg-native libgcrypt-native nss-native" | 12 | DEPENDS_class-native = "autoconf-archive-native pkgconfig-native swig-native curl-native libxml2-native libxslt-native dpkg-native libgcrypt-native nss-native" |
13 | 13 | ||
14 | SRCREV = "7a924c0eea10d05f512660192c8c4aef447801a6" | 14 | SRCREV = "240930d42611983c65ecae16dbca3248ce130921" |
15 | SRC_URI = "git://github.com/akuster/openscap.git;branch=oe \ | 15 | SRC_URI = "git://github.com/akuster/openscap.git;branch=oe \ |
16 | file://crypto_pkgconfig.patch \ | 16 | file://crypto_pkgconfig.patch \ |
17 | file://run-ptest \ | 17 | file://run-ptest \ |
@@ -66,6 +66,7 @@ do_install_append_class-native () { | |||
66 | TESTDIR = "tests" | 66 | TESTDIR = "tests" |
67 | 67 | ||
68 | do_compile_ptest() { | 68 | do_compile_ptest() { |
69 | sed -i 's:python2:python:' ${S}/${TESTDIR}/nist/test_worker.py | ||
69 | echo 'buildtest-TESTS: $(check)' >> ${TESTDIR}/Makefile | 70 | echo 'buildtest-TESTS: $(check)' >> ${TESTDIR}/Makefile |
70 | oe_runmake -C ${TESTDIR} buildtest-TESTS | 71 | oe_runmake -C ${TESTDIR} buildtest-TESTS |
71 | } | 72 | } |
@@ -78,5 +79,6 @@ do_install_ptest() { | |||
78 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" | 79 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" |
79 | 80 | ||
80 | RDEPENDS_${PN} += "libxml2 python libgcc" | 81 | RDEPENDS_${PN} += "libxml2 python libgcc" |
82 | RDEPENDS_${PN}-ptest = "bash perl python" | ||
81 | 83 | ||
82 | BBCLASSEXTEND = "native" | 84 | BBCLASSEXTEND = "native" |