From 3ddc814ca3e4d6fd35d4cea71181c6426f191225 Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Fri, 31 Mar 2023 12:08:17 +0300 Subject: [PATCH] MSVSphere 9.1 changes --- SOURCES/openscap-1.3.5-msvsphere.patch | 70 ++++++++++++++++++++++++++ SPECS/openscap.spec | 8 ++- 2 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 SOURCES/openscap-1.3.5-msvsphere.patch diff --git a/SOURCES/openscap-1.3.5-msvsphere.patch b/SOURCES/openscap-1.3.5-msvsphere.patch new file mode 100644 index 0000000..26dd36a --- /dev/null +++ b/SOURCES/openscap-1.3.5-msvsphere.patch @@ -0,0 +1,70 @@ +diff -Naur openscap-1.3.3.orig/cpe/openscap-cpe-oval.xml openscap-1.3.3.alma/cpe/openscap-cpe-oval.xml +--- openscap-1.3.3.orig/cpe/openscap-cpe-oval.xml 2020-04-30 11:50:09.000000000 +0300 ++++ openscap-1.3.3.alma/cpe/openscap-cpe-oval.xml 2021-03-22 13:12:12.069413537 +0300 +@@ -133,6 +133,19 @@ + + + ++ ++ ++ MSVSphere 8 ++ ++ MSVSphere 8 ++ ++ ++ The operating system installed on the system is MSVSphere 8 ++ ++ ++ ++ ++ + + + Community Enterprise Operating System 5 +@@ -828,6 +841,11 @@ + + + ++ ++ ++ ++ + + +@@ -1165,6 +1183,9 @@ + + oraclelinux-release + ++ ++ msvsphere-release ++ + + HKEY_LOCAL_MACHINE + SOFTWARE\Microsoft\Windows NT\CurrentVersion +@@ -1233,6 +1254,10 @@ + ^oraclelinux-release + ^8 + ++ ++ ^msvsphere-release ++ ^8 ++ + + ^16$ + +diff -Naur openscap-1.3.5/cpe/openscap-cpe-dict.xml openscap-1.3.5.alma/cpe/openscap-cpe-dict.xml +--- openscap-1.3.5/cpe/openscap-cpe-dict.xml 2021-04-23 13:39:58.000000000 +0300 ++++ openscap-1.3.5.alma/cpe/openscap-cpe-dict.xml 2021-10-10 10:02:27.000000000 +0300 +@@ -37,6 +37,10 @@ + Community Enterprise Operating System 8 + oval:org.open-scap.cpe.centos:def:8 + ++ ++ MSVSphere 8 ++ oval:org.open-scap.cpe.msvsphere:def:8 ++ + + Fedora 32 + oval:org.open-scap.cpe.fedora:def:32 diff --git a/SPECS/openscap.spec b/SPECS/openscap.spec index dc3ff46..2578d2a 100644 --- a/SPECS/openscap.spec +++ b/SPECS/openscap.spec @@ -1,6 +1,6 @@ Name: openscap Version: 1.3.6 -Release: 4%{?dist} +Release: 4%{?dist}.inferit Epoch: 1 Summary: Set of open source libraries enabling integration of the SCAP line of standards License: LGPLv2+ @@ -14,6 +14,9 @@ Patch5: openscap-1.3.7-PR-1861-failed-to-check-available-memory.patch Patch6: openscap-1.3.7-PR-1874-unit-test-read-common-sizet.patch Patch7: openscap-1.3.7-PR-1875-reset-errno-strtol.patch Patch8: openscap-1.3.7-PR-1876-disable-oscap-remediate.patch +# Add MSVSphere definitions +Patch100: openscap-1.3.5-msvsphere.patch + BuildRequires: make BuildRequires: cmake >= 2.6 BuildRequires: gcc @@ -205,6 +208,9 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_bindir}/oscap-run-sce-script %changelog +* Fri Mar 31 2023 Alexey Lyubimov - 1:1.3.6-4.inferit +- MSVSphere 9.1 changes + * Wed Mar 15 2023 MSVSphere Packaging Team - 1.3.6-4 - Rebuilt for MSVSphere 9.1.