wok-current diff iptables-template/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | ba1e68274f76 |
children |
line diff
1.1 --- a/iptables-template/receipt Fri Nov 15 18:28:42 2019 +0100 1.2 +++ b/iptables-template/receipt Mon May 16 10:46:30 2022 +0100 1.3 @@ -13,6 +13,13 @@ 1.4 1.5 BUILD_DEPENDS="wget" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/archive/!d;s|.*archive/||;s|.zip.*||;q' | cut -c1-7 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {