summaryrefslogtreecommitdiff
path: root/meta-security/meta-security-compliance/recipes-openscap/openscap/openscap_1.3.7.bb
blob: cfe93f0253d643536cb62b2e6aaa472ca151a8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMARRY = "NIST Certified SCAP 1.2 toolkit"

DEPENDS:append = " xmlsec1"

require openscap.inc

inherit systemd

SRCREV = "55efbfda0f617e05862ab6ed4862e10dbee52b03"
SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=maint-1.3;protocol=https"

SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} = "oscap-remediate.service"

do_install:append () {
    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
        install -D -m 0644 ${B}/oscap-remediate.service ${D}${systemd_system_unitdir}/oscap-remediate.service
    fi
}