iperf: update to 2.2.0.
This commit is contained in:
parent
8ece5afa5e
commit
072b2cea54
|
@ -1,24 +1,23 @@
|
|||
# Template file for 'iperf'
|
||||
pkgname=iperf
|
||||
version=2.1.9
|
||||
version=2.2.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6 --enable-multicast --enable-threads
|
||||
ac_cv_sizeof_bool=0"
|
||||
configure_args="--enable-ipv6 --enable-multicast --enable-threads"
|
||||
short_desc="Perform network throughput tests"
|
||||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
license="NCSA"
|
||||
homepage="https://iperf.fr/"
|
||||
changelog="https://sourceforge.net/p/iperf2/code/ci/master/tree/doc/RELEASE_NOTES?format=raw"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}2/${pkgname}-${version}.tar.gz"
|
||||
checksum=5c0771aab00ef14520013aef01675977816e23bb8f5d9fde016f90eb2f1be788
|
||||
checksum=16810a9575e4c6dd65e4a18ab5df3cdac6730b3c832cf080a8990f132f68364a
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
# do not define struct ethhdr in <linux/if_ether.h> to avoid
|
||||
# redefinition in <netinet/if_ether.h>
|
||||
CFLAGS="-D__UAPI_DEF_ETHHDR=0"
|
||||
CXXFLAGS="-D__UAPI_DEF_ETHHDR=0"
|
||||
fi
|
||||
post_patch() {
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
# skip a failing test on i686
|
||||
i686*) echo exit 0 > t/t16_udp_histograms.sh ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING LICENSE
|
||||
|
|
Loading…
Reference in New Issue