similarity index 87%
rename from recipes-compliance/openscap/openscap_1.4.1.bb
rename to recipes-compliance/openscap/openscap_1.4.2.bb
@@ -1,7 +1,7 @@
# Copyright (C) 2017 - 2023 Armin Kuster <akuster808@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
-SUMARRY = "NIST Certified SCAP 1.2 toolkit"
+SUMMARY = "NIST Certified SCAP 1.2 toolkit"
HOME_URL = "https://www.open-scap.org/tools/openscap-base/"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
LICENSE = "LGPL-2.1-only"
@@ -9,11 +9,12 @@ LICENSE = "LGPL-2.1-only"
DEPENDS = "dbus acl bzip2 pkgconfig gconf procps curl libxml2 libxslt libcap swig libpcre xmlsec1"
DEPENDS:class-native = "pkgconfig-native swig-native curl-native libxml2-native libxslt-native libcap-native libpcre-native xmlsec1-native"
-SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=main;protocol=https \
- file://0001-CMakeLists.txt-fix-installation-directory-for-system.patch \
- "
+SRC_URI = " \
+ https://github.com/OpenSCAP/openscap/releases/download/1.4.2/openscap-${PV}.tar.gz \
+ file://0001-CMakeLists.txt-fix-installation-directory-for-system.patch \
+"
-SRCREV = "23a8ea3de3c4fd6017db4067675a81287177166e"
+SRC_URI[sha512sum] = "126b88d028fafe9c2af882ae7b90ad59a7a429899b45cfa0f4fea188f32b0f9c51615d69a172e9bd4c0a6663aaf40e8fd85c8563575fce00099f3d58d572cbda"
inherit cmake pkgconfig python3native python3targetconfig perlnative systemd
@@ -64,5 +65,5 @@ FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
RDEPENDS:${PN} = "libxml2 python3-core libgcc bash"
-RDEPENDS:${PN}-class-target = "libxml2 python3-core libgcc bash os-release"
+RDEPENDS:${PN}:class-target = "libxml2 python3-core libgcc bash os-release"
BBCLASSEXTEND = "native"