###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# 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 = 1.2.1
+VER = 3.0.3
THISAPP = lynis-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
+PROG = lynis
+PAK_VER = 9
+DEPS =
+
###############################################################################
# Top-level Rules
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 4f8db3c524c1014db5842ca2dbd575aa
+$(DL_FILE)_MD5 = d5c7cdbab15029449fe5ef4b59ee941d
install : $(TARGET)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
+dist:
+ @$(PAK)
+
###############################################################################
# Installation Details
###############################################################################
$(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/
+ 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)
@$(POSTBUILD)