wok-6.x diff easy-rsa/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 2ba7edb00cce |
children | 26ddfb7b3611 |
line diff
1.1 --- a/easy-rsa/receipt Sat Oct 05 11:36:18 2019 +0200 1.2 +++ b/easy-rsa/receipt Sat Jan 15 15:21:40 2022 +0000 1.3 @@ -12,6 +12,12 @@ 1.4 1.5 DEPENDS="openssl" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 {