wok diff tcpreplay/receipt @ rev 25083

updated p11-kit and p11-kit-dev (0.23.20 -> 0.24.1)
author Hans-G?nter Theisgen
date Wed Jun 15 17:22:15 2022 +0100 (2022-06-15)
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 Jun 15 17:22:15 2022 +0100
     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  {