]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/lynis
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / lynis
index 7dc8077819f8d49c1363679d816e484e0874b5c0..f4b693489fce38f47f3e55ba09ba7552451a2449 100644 (file)
--- a/lfs/lynis
+++ b/lfs/lynis
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2020  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = 3.0.1
+SUMMARY    = Security and System auditing tool
+
+VER        = 3.0.6
 
 THISAPP    = lynis-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
-DIR_APP    = $(DIR_SRC)/lynis
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
 PROG       = lynis
-PAK_VER    = 8
+PAK_VER    = 10
+
 DEPS       =
 
+SERVICES   =
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -44,7 +49,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = ac984258e89b88c86e8c1c5395de8a15
+$(DL_FILE)_MD5 = 23cc369984d564e4a8232473b1ace137
 
 install : $(TARGET)
 
@@ -76,8 +81,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 {dev,CHANGELOG,README,INSTALL,TODO,FAQ,LICENSE}
-       cp -vrf $(DIR_APP) /var/ipfire/
-       @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 LICENCE lynis.8 README
+       cp -vrf $(DIR_SRC)/$(PROG) /var/ipfire/lynis
+       @rm -rf $(DIR_SRC)/$(PROG)
        @$(POSTBUILD)