wok diff bozohttpd/receipt @ rev 24373
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 16:12:08 2022 +0000 (2022-02-05) |
parents | 4fe7e5039acf |
children | d31ff044ad9c |
line diff
1.1 --- a/bozohttpd/receipt Sun Jan 05 14:11:46 2020 +0100 1.2 +++ b/bozohttpd/receipt Sat Feb 05 16:12:08 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 DEPENDS="openssl" 1.5 BUILD_DEPENDS="openssl-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - http://www.eterna.com.au/bozohttpd/CHANGES 2>/dev/null | \ 1.11 + sed '/changes in/!d;s|.*bozohttpd ||;s|:||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {