From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Stender <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] iperf3: new package
Date: Wed, 18 Oct 2017 15:17:33 +0200 [thread overview]
Message-ID: <20171018131733.336-1-bst@pengutronix.de> (raw)
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 <bst@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 <bst@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
reply other threads:[~2017-10-18 13:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171018131733.336-1-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox