From 27ae7c8e8c058cf1640b9a3936c20326cbd0eb2907ddd13eb964cd062355464d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 26 Apr 2018 13:26:15 +0000 Subject: [PATCH] Accepting request 601560 from home:msmeissn:branches:security - openscap-new-suse.patch: handle SLE15 and openSUSE Leap 42.3 and 15.0 (bsc#1091040) OBS-URL: https://build.opensuse.org/request/show/601560 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=210 --- openscap-new-suse.patch | 204 ++++++++++++++++++++++++++++++++++++++++ openscap.changes | 6 ++ openscap.spec | 2 + 3 files changed, 212 insertions(+) create mode 100644 openscap-new-suse.patch diff --git a/openscap-new-suse.patch b/openscap-new-suse.patch new file mode 100644 index 0000000..45f7eb0 --- /dev/null +++ b/openscap-new-suse.patch @@ -0,0 +1,204 @@ +Index: openscap-1.2.16/cpe/openscap-cpe-dict.xml +=================================================================== +--- openscap-1.2.16.orig/cpe/openscap-cpe-dict.xml ++++ openscap-1.2.16/cpe/openscap-cpe-dict.xml +@@ -133,6 +133,14 @@ + SUSE Linux Enterprise Desktop 12 + oval:org.open-scap.cpe.sled:def:12 + ++ ++ SUSE Linux Enterprise Server 15 ++ oval:org.open-scap.cpe.sles:def:15 ++ ++ ++ SUSE Linux Enterprise Desktop 15 ++ oval:org.open-scap.cpe.sled:def:15 ++ + + openSUSE 11.4 + oval:org.open-scap.cpe.opensuse:def:114 +@@ -145,14 +153,22 @@ + openSUSE 13.2 + oval:org.open-scap.cpe.opensuse:def:132 + +- ++ + openSUSE 42.1 + oval:org.open-scap.cpe.opensuse:def:421 + +- ++ + openSUSE 42.2 + oval:org.open-scap.cpe.opensuse:def:422 + ++ ++ openSUSE Leap 42.3 ++ oval:org.open-scap.cpe.opensuse:def:423 ++ ++ ++ openSUSE Leap 15.0 ++ oval:org.open-scap.cpe.opensuse:def:150 ++ + + openSUSE All Versions + oval:org.open-scap.cpe.opensuse:def:1 +Index: openscap-1.2.16/cpe/openscap-cpe-oval.xml +=================================================================== +--- openscap-1.2.16.orig/cpe/openscap-cpe-oval.xml ++++ openscap-1.2.16/cpe/openscap-cpe-oval.xml +@@ -449,6 +449,34 @@ + + + ++ ++ ++ SUSE Linux Enterprise Server 15 ++ ++ SUSE Linux Enterprise Server 15 ++ ++ ++ The operating system installed on the system is SUSE Linux Enterprise Server 15 ++ ++ ++ ++ ++ ++ ++ ++ ++ SUSE Linux Enterprise Desktop 15 ++ ++ SUSE Linux Enterprise Desktop 15 ++ ++ ++ The operating system installed on the system is SUSE Linux Enterprise Desktop 15 ++ ++ ++ ++ ++ ++ + + + openSUSE All Versions +@@ -519,17 +547,43 @@ + + + +- openSUSE 42.2 ++ openSUSE Leap 42.2 + +- openSUSE 42.2 ++ openSUSE Leap 42.2 + + +- The operating system installed on the system is openSUSE 42.2 ++ The operating system installed on the system is openSUSE Leap 42.2 + + + + + ++ ++ ++ openSUSE Leap 42.3 ++ ++ openSUSE Leap 42.3 ++ ++ ++ The operating system installed on the system is openSUSE Leap 42.3 ++ ++ ++ ++ ++ ++ ++ ++ openSUSE Leap 15.0 ++ ++ openSUSE Leap 15.0 ++ ++ ++ The operating system installed on the system is openSUSE Leap 15.0 ++ ++ ++ ++ ++ + + + Wind River Linux +@@ -715,6 +769,11 @@ + + + ++ ++ ++ ++ + + +@@ -730,6 +789,11 @@ + + + ++ ++ ++ ++ + + +@@ -760,6 +824,16 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ + +@@ -955,6 +1029,9 @@ + + ^12($|[^\d]) + ++ ++ ^15($|[^\d]) ++ + + ^10($|[^\d]) + +@@ -964,6 +1041,9 @@ + + ^12($|[^\d]) + ++ ++ ^15($|[^\d]) ++ + + ^openSUSE-release + +@@ -982,6 +1062,12 @@ + + ^42.2$ + ++ ++ ^42.3$ ++ ++ ++ ^15.0$ ++ +