diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /meta-security/meta-security-compliance/recipes-openscap/scap-security-guide | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-security/meta-security-compliance/recipes-openscap/scap-security-guide')
-rw-r--r-- | meta-security/meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_0.1.33.bb | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/meta-security/meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_0.1.33.bb b/meta-security/meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_0.1.33.bb new file mode 100644 index 0000000000..7fa417de43 --- /dev/null +++ b/meta-security/meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_0.1.33.bb @@ -0,0 +1,57 @@ +# Copyright (C) 2017 Armin Kuster <akuster808@gmail.com> +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMARRY = "SCAP content for various platforms" +HOME_URL = "https://www.open-scap.org/security-policies/scap-security-guide/" +LIC_FILES_CHKSUM = "file://LICENSE;md5=236e81befc8154d18c93c848185d7e52" +LICENSE = "LGPL-2.1" + +DEPENDS = "openscap-native" + +SRCREV = "423d9f40021a03abd018bef7818a3a9fe91a083c" +SRC_URI = "git://github.com/akuster/scap-security-guide.git;branch=oe;" + +inherit cmake + +PARALLEL_MAKE = "" + +S = "${WORKDIR}/git" + +STAGING_OSCAP_BUILDDIR = "${TMPDIR}/work-shared/openscap/oscap-build-artifacts" + +EXTRA_OECMAKE += "-DSSG_PRODUCT_CHROMIUM:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_DEBIAN8:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_FEDORA:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_FIREFOX:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_JBOSS_EAP5:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_JBOSS_FUSE6:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_JRE:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_OPENSUSE:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_OSP7:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_RHEL5:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_RHEL6:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_RHEL7:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_RHEV3:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_SUSE11:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_SUSE12:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_UBUNTU1404:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_UBUNTU1604:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_WRLINUX:BOOL=OFF" +EXTRA_OECMAKE += "-DSSG_PRODUCT_WEBMIN:BOOL=OFF" + +do_configure_prepend () { + sed -i -e 's:NAMES\ sed:NAMES\ ${HOSTTOOLS_DIR}/sed:g' ${S}/CMakeLists.txt + sed -i 's:/usr/share/openscap/:${STAGING_OSCAP_BUILDDIR}${datadir_native}/openscap/:g' ${S}/cmake/SSGCommon.cmake +} + +do_compile () { + cd ${B} + make openembedded +} + +do_install () { + cd ${B} + make DESTDIR=${D} install +} +FILES_${PN} += "${datadir}/xml" +RDEPNEDS_${PN} = "openscap" |