iperf3 is a new iperf implementation from scratch including a library version of the functionality (also used by the iperf3 binary).
iperf3 is not backwards compatible, but iperf2 is still under active development. So both versions should be available in ptxdist. The installed files do not conflict. Signed-off-by: Bastian Stender <b...@pengutronix.de> --- rules/iperf3.in | 13 ++++++++++++ rules/iperf3.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 rules/iperf3.in create mode 100644 rules/iperf3.make diff --git a/rules/iperf3.in b/rules/iperf3.in new file mode 100644 index 000000000..cc73c85d3 --- /dev/null +++ b/rules/iperf3.in @@ -0,0 +1,13 @@ +## SECTION=test_suites +config IPERF3 + tristate + select OPENSSL + select LIBC_PTHREAD + select GCCLIBS_GCC_S + select GCCLIBS_CXX + prompt "iperf3" + help + iperf is a tool for active measurements of the maximum achievable bandwidth + on IP networks. It supports tuning of various parameters related to timing, + protocols, and buffers. For each test it reports the bandwidth, loss, and + other parameters. diff --git a/rules/iperf3.make b/rules/iperf3.make new file mode 100644 index 000000000..7c2b39b3c --- /dev/null +++ b/rules/iperf3.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 by Bastian Stender +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_IPERF3) += iperf3 + +# +# Paths and names +# +IPERF3_VERSION := 3.2 +IPERF3_MD5 := d6ed33b742253b1c16dabc3b906e9c9f +IPERF3 := iperf-$(IPERF3_VERSION) +IPERF3_SUFFIX := tar.gz +IPERF3_URL := http://downloads.es.net/pub/iperf/$(IPERF3).$(IPERF3_SUFFIX) +IPERF3_SOURCE := $(SRCDIR)/$(IPERF3).$(IPERF3_SUFFIX) +IPERF3_DIR := $(BUILDDIR)/$(IPERF3) +IPERF3_LICENSE := BSD + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +IPERF3_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ + --with-openssl=$(PTXDIST_SYSROOT_TARGET)/usr + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/iperf3.targetinstall: + @$(call targetinfo) + + @$(call install_init, iperf3) + @$(call install_fixup, iperf3,PRIORITY,optional) + @$(call install_fixup, iperf3,SECTION,base) + @$(call install_fixup, iperf3,AUTHOR,"Bastian Stender <b...@pengutronix.de>") + @$(call install_fixup, iperf3,DESCRIPTION,missing) + + @$(call install_copy, iperf3, 0, 0, 0755, -, /usr/bin/iperf3) + @$(call install_lib, iperf3, 0, 0, 0644, libiperf) + + @$(call install_finish, iperf3) + + @$(call touch) + +# vim: syntax=make -- 2.11.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de