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:
authorMichael Boelen <michael.boelen@cisofy.com>2017-08-19 11:55:40 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-08-19 11:55:40 +0300
commitde65787b3a2e2c20969e2efdc4eb0c7bf2e71b4d (patch)
tree0ca1ece48fbf5ac8989c91ad2d39993987ede956
parent81a54da6b8c920ed540935107979fac321fca7be (diff)
parent3512068a491aa3fb1952583dc2df54b197e2023a (diff)
Merge branch 'master' of https://github.com/CISOfy/lynis
-rw-r--r--include/osdetection7
-rw-r--r--include/tests_ports_packages2
2 files changed, 8 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index 44a0947d..0f4a7b24 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -46,6 +46,13 @@
OS_VERSION_NAME="unknown"
OS_FULLNAME="macOS (unknown version)"
case ${OS_VERSION} in
+ 10.0 | 10.0.[0-9]*) OS_FULLNAME="Mac OS X 10.0 (Cheetah)" ;;
+ 10.1 | 10.1.[0-9]*) OS_FULLNAME="Mac OS X 10.1 (Puma)" ;;
+ 10.2 | 10.2.[0-9]*) OS_FULLNAME="Mac OS X 10.2 (Jaguar)" ;;
+ 10.3 | 10.3.[0-9]*) OS_FULLNAME="Mac OS X 10.3 (Panther)" ;;
+ 10.4 | 10.4.[0-9]*) OS_FULLNAME="Mac OS X 10.4 (Tiger)" ;;
+ 10.5 | 10.5.[0-9]*) OS_FULLNAME="Mac OS X 10.5 (Leopard)" ;;
+ 10.6 | 10.6.[0-9]*) OS_FULLNAME="Mac OS X 10.6 (Snow Leopard)" ;;
10.7 | 10.7.[0-9]*) OS_FULLNAME="Mac OS X 10.7 (Lion)" ;;
10.8 | 10.8.[0-9]*) OS_FULLNAME="Mac OS X 10.8 (Mountain Lion)" ;;
10.9 | 10.9.[0-9]*) OS_FULLNAME="Mac OS X 10.9 (Mavericks)" ;;
diff --git a/include/tests_ports_packages b/include/tests_ports_packages
index a804113d..06fd1c4b 100644
--- a/include/tests_ports_packages
+++ b/include/tests_ports_packages
@@ -693,7 +693,7 @@
if [ -x ${ROOTDIR}usr/sbin/pkg_admin ]; then
PACKAGE_AUDIT_TOOL_FOUND=1
PACKAGE_AUDIT_TOOL="pkg_admin audit"
- if [ -f ${ROOTDIR}var/db/pkg/pkgs-vulnerabilities ]; then
+ if [ -f ${ROOTDIR}var/db/pkg/pkg-vulnerabilities ]; then
FIND=$(${ROOTDIR}usr/sbin/pkg_admin audit)
if [ -z "${FIND}" ]; then
LogText "Result: pkg_admin audit results are clean"