wok-6.x diff squidclamav/receipt @ rev 24094
Add fasmg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 09 16:49:29 2021 +0000 (2021-08-09) |
parents | 40ad3dac47cb |
children | 28a7087bc745 |
line diff
1.1 --- a/squidclamav/receipt Thu Jun 25 19:42:45 2020 +0000 1.2 +++ b/squidclamav/receipt Mon Aug 09 16:49:29 2021 +0000 1.3 @@ -16,6 +16,12 @@ 1.4 1.5 CONFIG_FILES="/etc/squidclamav.conf" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://github.com/darold/squidclamav/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {