From ef0e3b7c8b3b68925c7aeccf73bdfaac5502c22b Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Mon, 27 Jan 2025 20:40:37 +0100 Subject: [PATCH] Initial commit --- config.yaml | 16 +++++++ files/openscap-1.3.5-almalinux.patch | 70 ++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 config.yaml create mode 100644 files/openscap-1.3.5-almalinux.patch diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..1a36341 --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +actions: + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Add AlmaLinux definitions" + + - add_files: + - type: "patch" + name: "openscap-1.3.5-almalinux.patch" + number: 100 diff --git a/files/openscap-1.3.5-almalinux.patch b/files/openscap-1.3.5-almalinux.patch new file mode 100644 index 0000000..93bd510 --- /dev/null +++ b/files/openscap-1.3.5-almalinux.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 @@ + + + ++ ++ ++ AlmaLinux 8 ++ ++ AlmaLinux 8 ++ ++ ++ The operating system installed on the system is AlmaLinux 8 ++ ++ ++ ++ ++ + + + Community Enterprise Operating System 5 +@@ -828,6 +841,11 @@ + + + ++ ++ ++ ++ + + +@@ -1165,6 +1183,9 @@ + + oraclelinux-release + ++ ++ almalinux-release ++ + + HKEY_LOCAL_MACHINE + SOFTWARE\Microsoft\Windows NT\CurrentVersion +@@ -1233,6 +1254,10 @@ + ^oraclelinux-release + ^8 + ++ ++ ^almalinux-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 + ++ ++ AlmaLinux 8 ++ oval:org.open-scap.cpe.almalinux:def:8 ++ + + Fedora 32 + oval:org.open-scap.cpe.fedora:def:32