lynis: Update to version 3.0.6

Message ID 20210731190634.2899487-1-adolf.belka@ipfire.org
State Superseded
Commit d78fd31bb39b767537868c3bb1f8884732f2c09e
Headers
Series lynis: Update to version 3.0.6 |

Commit Message

Adolf Belka July 31, 2021, 7:06 p.m. UTC
  - Update from 3.0.3 to 3.0.6
- Update of rootfile carried out
- Changelog
   ## Lynis 3.0.6 (2021-07-22)
     ### Added
       - OS detection: Artix Linux, macOS Monterey, NethServer, openSUSE MicroOS
       - Check for outdated translation files
     ### Changed
       - DBS-1826 - Check if PostgreSQL is being used
       - DBS-1828 - Test multiple PostgreSQL configuration file(s)
       - KRNL-5830 - Sort kernels by version instead of modification date
       - PKGS-7410 - Don't show exception for systems using LXC
       - GetHostID function: fallback options added for Linux systems
       - Fix: macOS Big Sur detection
       - Fix: show correct text when egrep is missing
       - Fix: variable name for PostgreSQL
       - German and Spanish translations extended
   ## Lynis 3.0.5 (2021-07-02)
     ### Added
       - OS detection of Arch Linux 32, BunsenLabs Linux, and Rocky Linux
       - CRYP-8006 - Check MemoryOverwriteRequest bit to protect against cold-boot attacks (Linux)
     ### Changed
       - ACCT-9622 - Corrected typo
       - HRDN-7231 - When calling wc, use the short -l flag instead of --lines (Busybox compatibility)
       - PKGS-7320 - extended to Arch Linux 32
       - Generation of host identifiers (hostid/hostid2) extended
       - Linux host identifiers are now using ip as preferred input source
       - Improved logging in several areas
   ## Lynis 3.0.4 (2021-05-11)
     ### Added
       - ACCT-9670 - Detection of cmd tooling
       - ACCT-9672 - Test cmd configuration file
       - BOOT-5140 - Check for ELILO boot loader presence
       - OS detection of AlmaLinux, Garuda Linux, Manjaro (ARM), and others
     ### Changed
       - BOOT-5104 - Add service manager detection support for runit
       - FILE-6430 - Report suggestion only when at least one kernel module is not in the blacklist
       - FIRE-4540 - Corrected nftables empy ruleset test
       - LOGG-2138 - Do not check for klogd when metalog is being used
       - TIME-3185 - Improved support for Debian stretch
       - Corrected issue when Lynis is not executed directly from lynis directory

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/lynis |  3 ---
 lfs/lynis                       | 14 +++++++-------
 2 files changed, 7 insertions(+), 10 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/lynis b/config/rootfiles/packages/lynis
index 357f9cb3a..bd81000d7 100644
--- a/config/rootfiles/packages/lynis
+++ b/config/rootfiles/packages/lynis
@@ -1,5 +1,4 @@ 
 var/ipfire/lynis
-#var/ipfire/lynis/LICENSE
 #var/ipfire/lynis/db
 var/ipfire/lynis/db/fileperms.db
 var/ipfire/lynis/db/hints.db
@@ -117,5 +116,3 @@  var/ipfire/lynis/lynis
 #var/ipfire/lynis/plugins
 #var/ipfire/lynis/plugins/README
 var/ipfire/lynis/plugins/custom_plugin.template
-var/ipfire/lynis/plugins/plugin_pam_phase1
-var/ipfire/lynis/plugins/plugin_systemd_phase1
diff --git a/lfs/lynis b/lfs/lynis
index 1ae501603..c85e2a280 100644
--- a/lfs/lynis
+++ b/lfs/lynis
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 3.0.3
+VER        = 3.0.6
 
 THISAPP    = lynis-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,7 +33,7 @@  DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
 PROG       = lynis
-PAK_VER    = 9
+PAK_VER    = 10
 DEPS       =
 
 ###############################################################################
@@ -44,7 +44,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d5c7cdbab15029449fe5ef4b59ee941d
+$(DL_FILE)_MD5 = 23cc369984d564e4a8232473b1ace137
 
 install : $(TARGET)
 
@@ -76,8 +76,8 @@  dist:
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
-	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && rm -rf .git* .travis.yml *.md FAQ INSTALL LICENCE lynis.8 README
-	cp -vrf $(DIR_APP) /var/ipfire/lynis
-	@rm -rf $(DIR_APP)
+	@rm -rf $(DIR_SRC)/$(PROG) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_SRC)/$(PROG) && rm -rf *.md FAQ INSTALL LICENSE lynis.8 README
+	cp -vrf $(DIR_SRC)/$(PROG) /var/ipfire/lynis
+	@rm -rf $(DIR_SRC)/$(PROG)
 	@$(POSTBUILD)