6958N/A#
6958N/A# CDDL HEADER START
6958N/A#
6958N/A# The contents of this file are subject to the terms of the
6958N/A# Common Development and Distribution License (the "License").
6958N/A# You may not use this file except in compliance with the License.
6958N/A#
6958N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6958N/A# or http://www.opensolaris.org/os/licensing.
6958N/A# See the License for the specific language governing permissions
6958N/A# and limitations under the License.
6958N/A#
6958N/A# When distributing Covered Code, include this CDDL HEADER in each
6958N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6958N/A# If applicable, add the following below this CDDL HEADER, with the
6958N/A# fields enclosed by brackets "[]" replaced with your own identifying
6958N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6958N/A#
6958N/A# CDDL HEADER END
6958N/A#
6958N/A
6958N/A#
6958N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
6958N/A#
6958N/ABUILD_BITS= 64
6958N/Ainclude ../../make-rules/shared-macros.mk
6958N/A
6958N/ACOMPONENT_NAME= iperf
6958N/ACOMPONENT_VERSION= 3.1.3
6958N/ACOMPONENT_PROJECT_URL= https://iperf.fr/
6958N/ACOMPONENT_ARCHIVE_HASH= \
6958N/A sha256:60d8db69b1d74a64d78566c2317c373a85fef691b8d277737ee5d29f448595bf
6958N/ACOMPONENT_ARCHIVE_URL= http://downloads.es.net/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
6958N/ACOMPONENT_BUGDB= utility/iperf
6958N/A
6958N/ATPNO= 31583
6958N/A
6958N/A# There is no easy way to do automated testing that produce consistent
6958N/A# results independent of what machine there are run on, but the following
6958N/A# can be done manually.
6958N/A#
6958N/A# In one terminal window, start the iperf3 server with:
6958N/A#
6958N/A# $ cd .../components/iperf3/build/[amd64,sparcv9]/src
6958N/A# $ ./iperf3 -s
6958N/A#
6958N/A# In another terminal window, start the script to test various commands with:
6958N/A#
6958N/A# $ cd .../components/iperf3/build/[amd64,sparcv9]/
6958N/A# $ ./test_commands.sh localhost
6958N/A#
6958N/ATEST_TARGET= $(NO_TESTS)
6958N/A
6958N/Ainclude $(WS_MAKE_RULES)/common.mk
6958N/A
6958N/A# Needed to successfully run the test_commands.sh script in a built workspace.
6958N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
6958N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
6958N/A
6958N/AREQUIRED_PACKAGES += system/library/math