From 695a93871c91fd16485ac335d96042851c520638 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 30 Jul 2018 19:38:49 -0700 Subject: iperf3: Upgrade to 3.6 * Licence-Update: - Copyright years are updated to 2018 - Remove the part about src/tcp_window_size.{c,h} as iperf3 uses get/setsockopt() with SO_SNDBUF and SO_RCVBUF directly now * Update the path parameter for --with-openssl as ${RECIPE_SYSROOT}${prefix} to fix the below do_configure error | checking for openssl/ssl.h in /poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no | checking whether compiling and linking against OpenSSL works... no | configure: error: in `/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build': | configure: error: --with-openssl was given, but test for OpenSSL failed Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb | 33 -------------------------- meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb | 33 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb create mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb (limited to 'meta-oe/recipes-benchmark') diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb deleted file mode 100644 index 2ed08110f4..0000000000 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "Network benchmark tool" -DESCRIPTION = "\ -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." -HOMEPAGE = "http://software.es.net/iperf/" -SECTION = "console/network" -BUGTRACKER = "https://github.com/esnet/iperf/issues" -AUTHOR = "ESNET , Lawrence Berkeley National Laboratory " -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7" - -DEPENDS = "openssl" - -SRC_URI = "git://github.com/esnet/iperf.git \ - file://automake-foreign.patch \ - file://0002-Remove-pg-from-profile_CFLAGS.patch \ - " - -SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92" - -S = "${WORKDIR}/git" - -inherit autotools - -PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools" - -CFLAGS += "-D_GNU_SOURCE" - -EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb new file mode 100644 index 0000000000..4e11d8233c --- /dev/null +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb @@ -0,0 +1,33 @@ +SUMMARY = "Network benchmark tool" +DESCRIPTION = "\ +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." +HOMEPAGE = "http://software.es.net/iperf/" +SECTION = "console/network" +BUGTRACKER = "https://github.com/esnet/iperf/issues" +AUTHOR = "ESNET , Lawrence Berkeley National Laboratory " +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e" + +DEPENDS = "openssl" + +SRC_URI = "git://github.com/esnet/iperf.git \ + file://automake-foreign.patch \ + file://0002-Remove-pg-from-profile_CFLAGS.patch \ + " + +SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a" + +S = "${WORKDIR}/git" + +inherit autotools + +PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools" + +CFLAGS += "-D_GNU_SOURCE" + +EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg