Moving to 2.4.5 release

This commit is contained in:
Michael Boelen 2017-03-09 12:29:09 +01:00
parent bb83598ff1
commit 26d155e012
2 changed files with 18 additions and 13 deletions

View File

@ -1,7 +1,7 @@
Lynis Changelog Lynis Changelog
=============== ===============
Lynis 2.4.5 (2017-xx-xx, not released yet) Lynis 2.4.5 (2017-03-09)
Changes: Changes:
-------- --------
@ -13,7 +13,9 @@ Tests:
------ ------
* AUTH-9328 - Add missing 0027 and 0077 umasks * AUTH-9328 - Add missing 0027 and 0077 umasks
* BOOT-5104 - Add initsplash and minor code enhancements * BOOT-5104 - Add initsplash and minor code enhancements
* DBS-1882 - Include Redis configuration file
* FIRE-4502 - Improved detection for iptables modules when using OpenVZ * FIRE-4502 - Improved detection for iptables modules when using OpenVZ
* PKGS-7381 - Enhanced package audit for FreeBSD
--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------

19
lynis
View File

@ -1,10 +1,5 @@
#!/bin/sh #!/bin/sh
# In Solaris /bin/sh is not POSIX, but /usr/xpg4/bin/sh is.
# Switch to /usr/xpg4/bin/sh if it exists and we are not already running it.
test "$_" != "/usr/xpg4/bin/sh" && test -f /usr/xpg4/bin/sh && \
exec /usr/xpg4/bin/sh "$0" "$@"
################################################################################# #################################################################################
# #
# Lynis # Lynis
@ -26,6 +21,12 @@ exec /usr/xpg4/bin/sh "$0" "$@"
# Lynis is an automated auditing tool for Unix based operating systems. # Lynis is an automated auditing tool for Unix based operating systems.
# #
################################################################################# #################################################################################
#
# In Solaris /bin/sh is not POSIX, but /usr/xpg4/bin/sh is.
# Switch to /usr/xpg4/bin/sh if it exists and we are not already running it.
test "$_" != "/usr/xpg4/bin/sh" && test -f /usr/xpg4/bin/sh && exec /usr/xpg4/bin/sh "$0" "$@"
#
#################################################################################
# #
# Program information # Program information
PROGRAM_NAME="Lynis" PROGRAM_NAME="Lynis"
@ -33,9 +34,9 @@ exec /usr/xpg4/bin/sh "$0" "$@"
PROGRAM_AUTHOR_CONTACT="lynis-dev@cisofy.com" PROGRAM_AUTHOR_CONTACT="lynis-dev@cisofy.com"
# Version details # Version details
PROGRAM_RELEASE_DATE="2017-03-05" PROGRAM_RELEASE_DATE="2017-03-09"
PROGRAM_RELEASE_TIMESTAMP=1488378460 PROGRAM_RELEASE_TIMESTAMP=1489058902
PROGRAM_RELEASE_TYPE="dev" # dev or final PROGRAM_RELEASE_TYPE="final" # dev or final
PROGRAM_VERSION="2.4.5" PROGRAM_VERSION="2.4.5"
# Source, documentation and license # Source, documentation and license
@ -657,12 +658,14 @@ ${NORMAL}
# #
LogText "Test: Checking for program update..." LogText "Test: Checking for program update..."
UPDATE_AVAILABLE=0 UPDATE_AVAILABLE=0
if [ ${SKIP_UPGRADE_TEST} -eq 1 ]; then if [ ${SKIP_UPGRADE_TEST} -eq 1 ]; then
LogText "Upgrade test skipped due profile option set (skip_upgrade_test)" LogText "Upgrade test skipped due profile option set (skip_upgrade_test)"
PROGRAM_LV="${PROGRAM_AC}" PROGRAM_LV="${PROGRAM_AC}"
else else
CheckUpdates CheckUpdates
fi fi
if [ "${PROGRAM_AC}" = "" -o "${PROGRAM_LV}" = "" ]; then if [ "${PROGRAM_AC}" = "" -o "${PROGRAM_LV}" = "" ]; then
Display --indent 2 --text "- Program update status... " --result UNKNOWN --color YELLOW Display --indent 2 --text "- Program update status... " --result UNKNOWN --color YELLOW
LogText "Result: Update check failed. No network connection?" LogText "Result: Update check failed. No network connection?"