wok-6.x diff tcpreplay/receipt @ rev 25551
nfs-utils: make nfsd work on first start too
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 06 10:52:37 2023 +0100 (18 months ago) |
parents | 20661c276bcf |
children |
line diff
1.1 --- a/tcpreplay/receipt Sun Jan 27 17:42:10 2019 +0100 1.2 +++ b/tcpreplay/receipt Thu Apr 06 10:52:37 2023 +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 {