blob: 47bf4d50152209462d9b16aa58b2c35bbaae9d12 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "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."
7HOMEPAGE = "http://software.es.net/iperf/"
8SECTION = "console/network"
9BUGTRACKER = "https://github.com/esnet/iperf/issues"
10AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport@lbl.gov>"
Brad Bishop2d39a062019-10-28 08:33:36 -040011LICENSE = "BSD-3-Clause"
Andrew Geisslerd688a012020-09-18 13:36:00 -050012LIC_FILES_CHKSUM = "file://LICENSE;md5=b7fb682e9941a49f1214dcd7441410d7"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013
Andrew Geissler595f6302022-01-24 19:11:47 +000014SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 file://0002-Remove-pg-from-profile_CFLAGS.patch \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060016 file://0001-configure.ac-check-for-CPP-prog.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017 "
18
Andrew Geisslerd688a012020-09-18 13:36:00 -050019SRCREV = "1f8fb13297f3e3e40169ebcd12e171167e394473"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020
21S = "${WORKDIR}/git"
22
23inherit autotools
24
Andrew Geissler7f40b712020-05-15 14:09:53 -050025PACKAGECONFIG ?= "openssl"
26
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
Andrew Geissler7f40b712020-05-15 14:09:53 -050028PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029
30CFLAGS += "-D_GNU_SOURCE"