From c80bd19178fb8e5b3f46e5aca35c486a4656b507 Mon Sep 17 00:00:00 2001 From: Sofia Boldyreva Date: Mon, 27 Jan 2025 20:48:51 +0100 Subject: [PATCH] Initial commit --- config.yaml | 16 ++ ...0001-Add-AlmaLinux-to-CPE-dictionary.patch | 137 ++++++++++++++++++ 2 files changed, 153 insertions(+) create mode 100644 config.yaml create mode 100644 files/0001-Add-AlmaLinux-to-CPE-dictionary.patch diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..7880fbc --- /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: "0001-Add-AlmaLinux-to-CPE-dictionary.patch" + number: 1000 diff --git a/files/0001-Add-AlmaLinux-to-CPE-dictionary.patch b/files/0001-Add-AlmaLinux-to-CPE-dictionary.patch new file mode 100644 index 0000000..0057cc4 --- /dev/null +++ b/files/0001-Add-AlmaLinux-to-CPE-dictionary.patch @@ -0,0 +1,137 @@ +From 8052b221a046c479c2cbb44c297191eb0d701e89 Mon Sep 17 00:00:00 2001 +From: Andrew Lukoshko +Date: Thu, 26 Sep 2024 11:42:20 +0000 +Subject: [PATCH] Add AlmaLinux to CPE dictionary + +--- + cpe/openscap-cpe-dict.xml | 14 +++++-- + cpe/openscap-cpe-oval.xml | 78 +++++++++++++++++++++++++++++++-------- + 2 files changed, 73 insertions(+), 19 deletions(-) + +diff --git a/cpe/openscap-cpe-dict.xml b/cpe/openscap-cpe-dict.xml +index 6c93b79..93a90c8 100644 +--- a/cpe/openscap-cpe-dict.xml ++++ b/cpe/openscap-cpe-dict.xml +@@ -1,7 +1,15 @@ + + +- +- Linux +- oval:org.open-scap.cpe.linux:def:1 ++ ++ AlmaLinux 8 ++ oval:org.open-scap.cpe.almalinux:def:8 ++ ++ ++ AlmaLinux 9 ++ oval:org.open-scap.cpe.almalinux:def:9 ++ ++ ++ AlmaLinux 10 ++ oval:org.open-scap.cpe.almalinux:def:10 + + +diff --git a/cpe/openscap-cpe-oval.xml b/cpe/openscap-cpe-oval.xml +index 99bed4a..3935c38 100644 +--- a/cpe/openscap-cpe-oval.xml ++++ b/cpe/openscap-cpe-oval.xml +@@ -12,34 +12,80 @@ + 2012-11-22T15:00:00+01:00 + + +- ++ + +- Red Hat Enterprise Linux ++ AlmaLinux 8 + +- Linux ++ AlmaLinux 8 + +- +- The operating system installed is Linux ++ ++ The operating system installed on the system is AlmaLinux 8 + + +- ++ ++ ++ ++ ++ ++ AlmaLinux 9 ++ ++ AlmaLinux 9 ++ ++ ++ The operating system installed on the system is AlmaLinux 9 ++ ++ ++ ++ ++ ++ ++ ++ AlmaLinux 10 ++ ++ AlmaLinux 10 ++ ++ ++ The operating system installed on the system is AlmaLinux 10 ++ ++ ++ + + + + +- +- +- +- ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + +- ++ ++ almalinux-release ++ + + +- +- unix +- ++ ++ ^almalinux-release ++ ^8 ++ ++ ++ ^almalinux-release ++ ^9 ++ ++ ++ ^almalinux.*-release ++ ^10 ++ + + +-- +2.43.5 +