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