wok diff defragfs/receipt @ rev 24905

updated metasploit (5.0.91 -> 6.1.36)
author Hans-G?nter Theisgen
date Sat Apr 09 13:21:57 2022 +0100 (2022-04-09)
parents 8809751bb68d
children 00e3b45c063b
line diff
     1.1 --- a/defragfs/receipt	Thu Jun 18 16:35:21 2015 +0200
     1.2 +++ b/defragfs/receipt	Sat Apr 09 13:21:57 2022 +0100
     1.3 @@ -12,6 +12,14 @@
     1.4  
     1.5  DEPENDS="perl"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/defragfs/files/defragfs/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/defragfs-.*/defragfs-||;s|.gz.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {