wok diff daloradius/receipt @ rev 24385
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 07 11:38:23 2022 +0000 (2022-02-07) |
parents | 8c864718b7b3 |
children | 8bed0ad1f0db |
line diff
1.1 --- a/daloradius/receipt Wed Oct 17 05:16:53 2018 +0300 1.2 +++ b/daloradius/receipt Mon Feb 07 11:38:23 2022 +0000 1.3 @@ -12,6 +12,13 @@ 1.4 1.5 DEPENDS="php-gd php-mysql freeradius" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://sourceforge.net/projects/daloradius/files/daloradius/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;/daloradius\/daloradius/!d;s|.*/daloradius/daloradius-*||;s|/.*||;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {