wok-6.x diff grub2/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 3260e959c015 |
children | 72f2704d3ae0 |
line diff
1.1 --- a/grub2/receipt Sun Jun 20 14:41:40 2021 +0100 1.2 +++ b/grub2/receipt Wed Feb 16 17:15:55 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 libusb-compat ncurses zlib" 1.11 BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 1.12 @@ -20,6 +20,13 @@ 1.13 1.14 SUGGESTED="os-prober" 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 {