blob: a6af23aec9af8e7dbd1c816975a9d0e965602824 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "Network benchmark tool"
2DESCRIPTION = "\
3iperf is a tool for active measurements of the maximum achievable bandwidth \
4on IP networks. It supports tuning of various parameters related to timing, \
5protocols, and buffers. For each test it reports the bandwidth, loss, and \
6other parameters."
7
8HOMEPAGE = "http://software.es.net/iperf/"
9SECTION = "console/network"
10BUGTRACKER = "https://github.com/esnet/iperf/issues"
11AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>"
12
13LICENSE = "BSD-3-Clause"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=68ae8cfc577a2c8c51bb51e9628e80b7"
15
16SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
17 file://0002-Remove-pg-from-profile_CFLAGS.patch \
18 file://0001-configure.ac-check-for-CPP-prog.patch \
19 "
20
21SRCREV = "76bd67f6e90e239a7686202d2b1b595159826d24"
22
23S = "${WORKDIR}/git"
24
25inherit autotools
26
27PACKAGECONFIG ?= "openssl"
28
29PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
30PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
31
32CFLAGS += "-D_GNU_SOURCE"