Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
This should be an option, but it's not.
|
||||
Don't force profiled builds, it breaks on many toolchains.
|
||||
Patch Makefile.in to avoid AUTORECONFing since it needs dummy files
|
||||
that are missing to succeed (ChangeLog, COPYING, NEWS, README) and it's
|
||||
simple enough so avoid pulling in dependencies and delays.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura iperf-3.0.10.orig/src/Makefile.in iperf-3.0.10/src/Makefile.in
|
||||
--- iperf-3.0.10.orig/src/Makefile.in 2014-12-17 07:30:46.878310789 -0300
|
||||
+++ iperf-3.0.10/src/Makefile.in 2014-12-17 07:33:41.879356643 -0300
|
||||
@@ -82,7 +82,7 @@
|
||||
host_triplet = @host@
|
||||
bin_PROGRAMS = iperf3$(EXEEXT)
|
||||
noinst_PROGRAMS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT) \
|
||||
- iperf3_profile$(EXEEXT)
|
||||
+ iperf3$(EXEEXT)
|
||||
TESTS = t_timer$(EXEEXT) t_units$(EXEEXT) t_uuid$(EXEEXT)
|
||||
subdir = src
|
||||
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
||||
@@ -0,0 +1,43 @@
|
||||
From 1fe02385b60c9dcd8a04b8bd3ff5cff120ec35a6 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sat, 30 Jan 2016 19:23:20 +0100
|
||||
Subject: [PATCH 1/1] Fix build using musl libc
|
||||
|
||||
Fixes https://github.com/esnet/iperf/issues/331
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
Patch sent upstream: https://github.com/esnet/iperf/pull/344
|
||||
|
||||
src/cjson.h | 2 ++
|
||||
src/timer.h | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/cjson.h b/src/cjson.h
|
||||
index d4449e6..7af19a9 100644
|
||||
--- a/src/cjson.h
|
||||
+++ b/src/cjson.h
|
||||
@@ -23,6 +23,8 @@
|
||||
#ifndef cJSON__h
|
||||
#define cJSON__h
|
||||
|
||||
+#include <stdint.h>
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
diff --git a/src/timer.h b/src/timer.h
|
||||
index 0f9c5eb..9b22b7f 100644
|
||||
--- a/src/timer.h
|
||||
+++ b/src/timer.h
|
||||
@@ -30,6 +30,7 @@
|
||||
#ifndef __TIMER_H
|
||||
#define __TIMER_H
|
||||
|
||||
+#include <stdint.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
/* TimerClientData is an opaque value that tags along with a timer. The
|
||||
--
|
||||
2.7.0.rc3
|
||||
|
||||
16
deprecated/firmware/buildroot/package/iperf3/Config.in
Normal file
16
deprecated/firmware/buildroot/package/iperf3/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_IPERF3
|
||||
bool "iperf3"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
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.
|
||||
It's a redesign of the NLANR/DAST iperf(2) and is not
|
||||
backward compatible.
|
||||
|
||||
http://software.es.net/iperf/index.html
|
||||
|
||||
comment "iperf3 needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
deprecated/firmware/buildroot/package/iperf3/iperf3.hash
Normal file
2
deprecated/firmware/buildroot/package/iperf3/iperf3.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 86f292e554d42d1bddbd5f587e594005f4ca202c284e4da45ed8cfbe935a5be8 iperf3-3.1.1.tar.gz
|
||||
14
deprecated/firmware/buildroot/package/iperf3/iperf3.mk
Normal file
14
deprecated/firmware/buildroot/package/iperf3/iperf3.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# iperf3
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IPERF3_VERSION = 3.1.1
|
||||
IPERF3_SITE = $(call github,esnet,iperf,$(IPERF3_VERSION))
|
||||
IPERF3_LICENSE = BSD-3c, BSD-2c, MIT
|
||||
IPERF3_LICENSE_FILES = LICENSE
|
||||
|
||||
IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user