wok diff keyutils/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | a4f828dcc860 |
children |
line diff
1.1 --- a/keyutils/receipt Thu Apr 14 08:53:05 2022 +0000 1.2 +++ b/keyutils/receipt Mon Mar 18 18:46:02 2024 +0100 1.3 @@ -16,10 +16,11 @@ 1.4 1.5 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.12 + wget -O - $WEB_SITE 2>/dev/null | \ 1.13 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.14 } 1.15 1.16 # Rules to configure and make the package.