wok-current diff tcpreplay/receipt @ rev 24806
updated libmicrohttpd and libmicrohttpd-dev (0.9.70 -> 0.9.75)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 14:15:13 2022 +0100 (2022-03-22) |
parents | 20661c276bcf |
children |
line diff
1.1 --- a/tcpreplay/receipt Sun Jan 27 17:42:10 2019 +0100 1.2 +++ b/tcpreplay/receipt Tue Mar 22 14:15:13 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 {