Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/software-eol.db10
-rw-r--r--include/osdetection8
2 files changed, 14 insertions, 4 deletions
diff --git a/db/software-eol.db b/db/software-eol.db
index 2412a203..ea7d5888 100644
--- a/db/software-eol.db
+++ b/db/software-eol.db
@@ -68,6 +68,16 @@ os:Linux Mint 18:2021-04-01:1617228000:
os:Linux Mint 19:2023-04-01:1680300000:
os:Linux Mint 20:2025-04-01:1743458400:
#
+# Mageia - https://www.mageia.org/en/support/
+#
+os:Mageia 1:2012-12-01:1354316400
+os:Mageia 2:2013-11-22:1385074800
+os:Mageia 3:2014-11-26:1416956400
+os:Mageia 4:2015-09-19:1442613600
+os:Mageia 5:2017-12-31:1514674800
+os:Mageia 6:2019-09-30:1569794400
+os:Mageia 7:2020-12-30:1609282800
+#
# NetBSD - https://www.netbsd.org/support/security/release.html and
# https://www.netbsd.org/releases/formal.html
#
diff --git a/include/osdetection b/include/osdetection
index 5aa5878b..441ef6bd 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -396,11 +396,11 @@
LINUX_VERSION="Fedora"
fi
- # Mageia (has also /etc/megaia-release)
- FIND=$(grep "Mageia" /etc/redhat-release)
+ # Mageia (/etc/redhat-release -> /etc/mageia-release link)
+ FIND=$(grep "Mageia" /etc/mageia-release)
if [ ! "${FIND}" = "" ]; then
- OS_FULLNAME=$(grep "^Mageia" /etc/redhat-release)
- OS_VERSION=$(grep "^Mageia" /etc/redhat-release | awk '{ if ($2=="release") { print $3 } }')
+ OS_FULLNAME=$(grep "^Mageia" /etc/mageia-release)
+ OS_VERSION=$(grep "^Mageia" /etc/mageia-release | awk '{ if ($2=="release") { print $3 } }')
LINUX_VERSION="Mageia"
fi