wok diff atftp/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents ecfd56157396
children b56b38cfd475
line diff
     1.1 --- a/atftp/receipt	Thu Jan 27 15:48:06 2022 +0100
     1.2 +++ b/atftp/receipt	Sat Apr 02 17:34:21 2022 +0100
     1.3 @@ -16,7 +16,12 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -# @maintainer:	Please update also atftpd
     1.8 +# What is the latest version available today?
     1.9 +current_version()
    1.10 +{
    1.11 +	wget -O - https://sourceforge.net/projects/atftp/files/ 2>/dev/null | \
    1.12 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    1.13 +}
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()