aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2018-01-22 19:45:14 +0200
committerArmin Kuster <akuster808@gmail.com>2018-01-23 07:39:56 -0800
commitf664efbd1a8d1d90828d5a5eab29462f6551a4f9 (patch)
tree1558e860f7be2b0ab2c1825e415879677254daa8 /meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
parente891e072f8188ccc119c987c0213f5b216f55526 (diff)
downloadmeta-openembedded-contrib-f664efbd1a8d1d90828d5a5eab29462f6551a4f9.tar.gz
meta-openembedded-contrib-f664efbd1a8d1d90828d5a5eab29462f6551a4f9.tar.bz2
meta-openembedded-contrib-f664efbd1a8d1d90828d5a5eab29462f6551a4f9.zip
Revert "iperf: remove deprecated package"
This reverts commit 2b6cad9522582b0816251b5efbbc4601d037ae0e. iperf3 is a complete rewrite which does not have full parity with iperf2 and in some cases it's intentionally backwards incompatble so moving to iperf3 is not possible for everyone. That's why the project got forked. These recipes/packages can live side by side because their projects are now independent (separate codebases and maintainers). Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb')
-rw-r--r--meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
new file mode 100644
index 0000000000..9981d8275f
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf/iperf_2.0.5.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of various parameters and UDP characteristics"
+HOMEPAGE = "http://dast.nlanr.net/Projects/Iperf/"
+SECTION = "console/network"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e8478eae9f479e39bc34975193360298"
+
+SRC_URI = " ${SOURCEFORGE_MIRROR}/iperf/${BP}.tar.gz \
+ file://iperf-2.0.5_ManPage.patch \
+ file://0001-fix-out-of-tree-config.patch \
+ file://0002-fix-bool-size-m4.patch \
+ "
+
+SRC_URI[md5sum] = "44b5536b67719f4250faed632a3cd016"
+SRC_URI[sha256sum] = "636b4eff0431cea80667ea85a67ce4c68698760a9837e1e9d13096d20362265b"
+
+S = "${WORKDIR}/${BP}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--exec-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"