wok diff lynis/receipt @ rev 24622
updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:02:21 2022 +0100 (2022-03-07) |
parents | 4ad45787855e |
children | dec12284b033 |
line diff
1.1 --- a/lynis/receipt Tue Jan 25 09:41:30 2022 +0100 1.2 +++ b/lynis/receipt Mon Mar 07 16:02:21 2022 +0100 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="" 1.5 BUILD_DEPENDS="" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/CISOfy/lynis/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {