wok diff grub2-efi/receipt @ rev 24643
updated hg-git (0.8.13 -> 0.10.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 17:41:22 2022 +0100 (2022-03-09) |
parents | 68cf96abc146 |
children | 72f2704d3ae0 |
line diff
1.1 --- a/grub2-efi/receipt Mon Jul 05 15:00:07 2021 +0000 1.2 +++ b/grub2-efi/receipt Wed Mar 09 17:41:22 2022 +0100 1.3 @@ -10,7 +10,7 @@ 1.4 1.5 SOURCE="grub" 1.6 TARBALL="$SOURCE-$VERSION.tar.xz" 1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" 1.8 +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL" 1.9 1.10 DEPENDS="freetype grep libdevmapper libusb-compat libusb ncurses zlib" 1.11 BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 1.12 @@ -18,6 +18,13 @@ 1.13 1.14 CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.20 + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q 1.21 +} 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 {