wok diff tcpreplay/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents 20661c276bcf
children 29df00e1e19d
line diff
     1.1 --- a/tcpreplay/receipt	Sun Jan 27 17:42:10 2019 +0100
     1.2 +++ b/tcpreplay/receipt	Wed May 11 08:28:28 2022 -0400
     1.3 @@ -13,6 +13,15 @@
     1.4  DEPENDS="libdnet"
     1.5  BUILD_DEPENDS="libpcap-dev libdnet-dev tcpdump libnl1"
     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/$PACKAGE/files/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed 's| |\n|g' | sed '/^"tcpreplay\//!d;s|^"|https://sourceforge.net/projects/tcpreplay/files/|;s|",||;q' | xargs wget -O - 2>/dev/null | \
    1.13 +	sed '/tcpreplay-/!d;/asc/!d;s|.*tcpreplay-||;s|.[zt].*||;s|_|.|g;q' 
    1.14 +}
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {