wok-current diff lynis/receipt @ rev 24526
updated exempi and exempi-dev (2.5.1 -> 2.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 17:39:50 2022 +0100 (2022-02-22) |
parents | 4ad45787855e |
children | dec12284b033 |
line diff
1.1 --- a/lynis/receipt Tue Jan 25 09:41:30 2022 +0100 1.2 +++ b/lynis/receipt Tue Feb 22 17:39:50 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 {