summaryrefslogtreecommitdiff
path: root/net-misc/iperf
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /net-misc/iperf
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'net-misc/iperf')
-rw-r--r--net-misc/iperf/Manifest2
-rw-r--r--net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch148
-rw-r--r--net-misc/iperf/files/iperf-3.18-unbundle-cJSON.patch103
-rw-r--r--net-misc/iperf/files/iperf.confd5
-rw-r--r--net-misc/iperf/files/iperf.initd-r114
-rw-r--r--net-misc/iperf/files/iperf3.initd10
-rw-r--r--net-misc/iperf/iperf-3.20.ebuild40
-rw-r--r--net-misc/iperf/iperf-3.21.ebuild64
-rw-r--r--net-misc/iperf/metadata.xml20
9 files changed, 0 insertions, 406 deletions
diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest
deleted file mode 100644
index 799c8db70b62..000000000000
--- a/net-misc/iperf/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST iperf-3.20.tar.gz 702527 BLAKE2B 2a6d77498028375177275452d0bbce7af12fb477b70ed275cc2dc092a02a96f3b9389e584e9e89628042bcadadcafba121b3bd84598a7781e8e6c4bd49d7e843 SHA512 2a52d27388e2585327f92b9cd33335345706371533f1e8da9aa5fb66d11cca70d8690f12c24bf31d7fa231e41225faa2f93b7b31fd869cbd2f34ab5401e3f5ff
-DIST iperf-3.21.tar.gz 711039 BLAKE2B 7ac39edca583485ef4943850df79ccfd834439a042caa4cc4c2c8a436a4057f8846738c43dcdc92e32a318a4d0f354cc2449677b2cf94286b05556762a118081 SHA512 6418c5521ab4e7ab9a18ecf07b3c0b9460d0015314bf6fdea9b3a748b1deb8c47a6ed1e5fd86cc0a99e0f6877e943f44488387f1fc2c3c17e091014fb9ad003c
diff --git a/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch b/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch
deleted file mode 100644
index 5ea569575484..000000000000
--- a/net-misc/iperf/files/iperf-3.10.1-drop-forced-debugging-symbols.patch
+++ /dev/null
@@ -1,148 +0,0 @@
-https://bugs.gentoo.org/788973
-
-From 456e9460f9320123c5449fd2314bc1b2a001547a Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 2 Jul 2021 05:21:46 +0100
-Subject: [PATCH] Drop forced -g
-
----
- examples/Makefile.am | 4 ----
- examples/Makefile.in | 4 ----
- src/Makefile.am | 11 ++---------
- src/Makefile.in | 11 ++---------
- 4 files changed, 4 insertions(+), 26 deletions(-)
-
-diff --git a/examples/Makefile.am b/examples/Makefile.am
-index 829f242..aad0ae2 100644
---- a/examples/Makefile.am
-+++ b/examples/Makefile.am
-@@ -3,11 +3,7 @@ noinst_PROGRAMS = mic mis # Build, but don't install
- AM_CPPFLAGS = -I$(top_srcdir)/src
-
- mic_SOURCES = mic.c
--mic_CFLAGS = -g
- mic_LDADD = ../src/libiperf.la
--mic_LDFLAGS = -g
-
- mis_SOURCES = mis.c
--mis_CFLAGS = -g
- mis_LDADD = ../src/libiperf.la
--mis_LDFLAGS = -g
-diff --git a/examples/Makefile.in b/examples/Makefile.in
-index d74c3c8..089b45d 100644
---- a/examples/Makefile.in
-+++ b/examples/Makefile.in
-@@ -304,13 +304,9 @@ top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- AM_CPPFLAGS = -I$(top_srcdir)/src
- mic_SOURCES = mic.c
--mic_CFLAGS = -g
- mic_LDADD = ../src/libiperf.la
--mic_LDFLAGS = -g
- mis_SOURCES = mis.c
--mis_CFLAGS = -g
- mis_LDADD = ../src/libiperf.la
--mis_LDFLAGS = -g
- all: all-am
-
- .SUFFIXES:
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 11d3e17..190ff26 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -47,9 +47,7 @@ libiperf_la_SOURCES = \
-
- # Specify the sources and various flags for the iperf binary
- iperf3_SOURCES = main.c
--iperf3_CFLAGS = -g
- iperf3_LDADD = libiperf.la
--iperf3_LDFLAGS = -g
-
- if ENABLE_PROFILING
- # If the iperf-profiled-binary is enabled
-@@ -58,34 +56,29 @@ if ENABLE_PROFILING
- iperf3_profile_SOURCES = main.c \
- $(libiperf_la_SOURCES)
-
--iperf3_profile_CFLAGS = -pg -g
-+iperf3_profile_CFLAGS = -pg
- iperf3_profile_LDADD = libiperf.la
--iperf3_profile_LDFLAGS = -pg -g
-+iperf3_profile_LDFLAGS = -pg
- endif
-
- # Specify the sources and various flags for the test cases
- t_timer_SOURCES = t_timer.c
--t_timer_CFLAGS = -g
- t_timer_LDFLAGS =
- t_timer_LDADD = libiperf.la
-
- t_units_SOURCES = t_units.c
--t_units_CFLAGS = -g
- t_units_LDFLAGS =
- t_units_LDADD = libiperf.la
-
- t_uuid_SOURCES = t_uuid.c
--t_uuid_CFLAGS = -g
- t_uuid_LDFLAGS =
- t_uuid_LDADD = libiperf.la
-
- t_api_SOURCES = t_api.c
--t_api_CFLAGS = -g
- t_api_LDFLAGS =
- t_api_LDADD = libiperf.la
-
- t_auth_SOURCES = t_auth.c
--t_auth_CFLAGS = -g
- t_auth_LDFLAGS =
- t_auth_LDADD = libiperf.la
-
-diff --git a/src/Makefile.in b/src/Makefile.in
-index 34d92fa..2144ff7 100644
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -671,9 +671,7 @@ libiperf_la_SOURCES = \
-
- # Specify the sources and various flags for the iperf binary
- iperf3_SOURCES = main.c
--iperf3_CFLAGS = -g
- iperf3_LDADD = libiperf.la
--iperf3_LDFLAGS = -g
-
- # If the iperf-profiled-binary is enabled
- # Specify the sources and various flags for the profiled iperf binary. This
-@@ -681,29 +679,24 @@ iperf3_LDFLAGS = -g
- @ENABLE_PROFILING_TRUE@iperf3_profile_SOURCES = main.c \
- @ENABLE_PROFILING_TRUE@ $(libiperf_la_SOURCES)
-
--@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg -g
-+@ENABLE_PROFILING_TRUE@iperf3_profile_CFLAGS = -pg
- @ENABLE_PROFILING_TRUE@iperf3_profile_LDADD = libiperf.la
--@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg -g
-+@ENABLE_PROFILING_TRUE@iperf3_profile_LDFLAGS = -pg
-
- # Specify the sources and various flags for the test cases
- t_timer_SOURCES = t_timer.c
--t_timer_CFLAGS = -g
- t_timer_LDFLAGS =
- t_timer_LDADD = libiperf.la
- t_units_SOURCES = t_units.c
--t_units_CFLAGS = -g
- t_units_LDFLAGS =
- t_units_LDADD = libiperf.la
- t_uuid_SOURCES = t_uuid.c
--t_uuid_CFLAGS = -g
- t_uuid_LDFLAGS =
- t_uuid_LDADD = libiperf.la
- t_api_SOURCES = t_api.c
--t_api_CFLAGS = -g
- t_api_LDFLAGS =
- t_api_LDADD = libiperf.la
- t_auth_SOURCES = t_auth.c
--t_auth_CFLAGS = -g
- t_auth_LDFLAGS =
- t_auth_LDADD = libiperf.la
- dist_man_MANS = iperf3.1 libiperf.3
---
-2.32.0
-
diff --git a/net-misc/iperf/files/iperf-3.18-unbundle-cJSON.patch b/net-misc/iperf/files/iperf-3.18-unbundle-cJSON.patch
deleted file mode 100644
index 56db6c6b6ad2..000000000000
--- a/net-misc/iperf/files/iperf-3.18-unbundle-cJSON.patch
+++ /dev/null
@@ -1,103 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -61,6 +61,8 @@ AC_ARG_ENABLE([profiling],
- AS_HELP_STRING([--enable-profiling], [Enable iperf3 profiling binary]))
- AM_CONDITIONAL([ENABLE_PROFILING], [test x$enable_profiling = xyes])
-
-+PKG_CHECK_MODULES([libcjson], [libcjson >= 1.7.15])
-+
- # Check for the math library (needed by cjson on some platforms)
- AC_SEARCH_LIBS(floor, [m], [], [
- echo "floor()"
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -10,8 +10,6 @@ include_HEADERS = iperf_api.h # Define
-
- # Specify the source files and flags for the iperf library
- libiperf_la_SOURCES = \
-- cjson.c \
-- cjson.h \
- flowlabel.h \
- iperf.h \
- iperf_api.c \
-@@ -46,10 +44,13 @@ libiperf_la_SOURCES = \
- units.c \
- units.h \
- version.h
-+libiperf_la_CPPFLAGS = $(CPPFLAGS) @libcjson_CFLAGS@
-+libiperf_la_LIBADD = @libcjson_LIBS@
-
- # Specify the sources and various flags for the iperf binary
- iperf3_SOURCES = main.c
--iperf3_LDADD = libiperf.la
-+iperf3_CPPFLAGS = $(CPPFLAGS) @libcjson_CFLAGS@
-+iperf3_LDADD = libiperf.la @libcjson_LIBS@
-
- if ENABLE_PROFILING
- # If the iperf-profiled-binary is enabled
---- a/src/iperf.h
-+++ b/src/iperf.h
-@@ -52,7 +52,7 @@
-
- #include "timer.h"
- #include "queue.h"
--#include "cjson.h"
-+#include <cjson/cJSON.h>
- #include "iperf_time.h"
- #include "portable_endian.h"
-
---- a/src/iperf_api.c
-+++ b/src/iperf_api.c
-@@ -79,7 +79,7 @@
- #endif /* HAVE_SCTP_H */
- #include "timer.h"
-
--#include "cjson.h"
-+#include <cjson/cJSON.h>
- #include "units.h"
- #include "iperf_util.h"
- #include "iperf_locale.h"
---- a/src/iperf_tcp.c
-+++ b/src/iperf_tcp.c
-@@ -43,7 +43,7 @@
- #include "iperf_tcp.h"
- #include "iperf_util.h"
- #include "net.h"
--#include "cjson.h"
-+#include <cjson/cJSON.h>
-
- #if defined(HAVE_FLOWLABEL)
- #include "flowlabel.h"
---- a/src/iperf_udp.c
-+++ b/src/iperf_udp.c
-@@ -45,7 +45,7 @@
- #include "iperf_udp.h"
- #include "timer.h"
- #include "net.h"
--#include "cjson.h"
-+#include <cjson/cJSON.h>
-
- /* iperf_udp_recv
- *
---- a/src/iperf_util.c
-+++ b/src/iperf_util.c
-@@ -46,7 +46,7 @@
- #include <errno.h>
- #include <fcntl.h>
-
--#include "cjson.h"
-+#include <cjson/cJSON.h>
- #include "iperf.h"
- #include "iperf_api.h"
-
---- a/src/iperf_util.h
-+++ b/src/iperf_util.h
-@@ -28,7 +28,7 @@
- #define __IPERF_UTIL_H
-
- #include "iperf_config.h"
--#include "cjson.h"
-+#include <cjson/cJSON.h>
- #include <sys/select.h>
- #include <stddef.h>
-
diff --git a/net-misc/iperf/files/iperf.confd b/net-misc/iperf/files/iperf.confd
deleted file mode 100644
index 7d82492a30f9..000000000000
--- a/net-misc/iperf/files/iperf.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# extra options (run iperf -h for a list of supported options)
-IPERF_OPTS="--format Mbytes"
diff --git a/net-misc/iperf/files/iperf.initd-r1 b/net-misc/iperf/files/iperf.initd-r1
deleted file mode 100644
index cd17a7b47e9e..000000000000
--- a/net-misc/iperf/files/iperf.initd-r1
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="IP bandwidth measurement server"
-command="/usr/bin/iperf"
-
-command_background="yes"
-pidfile="/run/${SVCNAME}.pid"
-command_args="-s ${IPERF_OPTS}"
-
-# note: iperf has a -D/--daemon flag but we seem to hit a bug
-# where it starts to eat all CPU after client disconnect,
-# see bug #344875
diff --git a/net-misc/iperf/files/iperf3.initd b/net-misc/iperf/files/iperf3.initd
deleted file mode 100644
index 281ebf5ae2d3..000000000000
--- a/net-misc/iperf/files/iperf3.initd
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="IP bandwidth measurement server"
-command="/usr/bin/iperf3"
-
-command_background="yes"
-pidfile="/run/${SVCNAME}.pid"
-command_args="-s ${IPERF_OPTS}"
diff --git a/net-misc/iperf/iperf-3.20.ebuild b/net-misc/iperf/iperf-3.20.ebuild
deleted file mode 100644
index 7fdc0512c115..000000000000
--- a/net-misc/iperf/iperf-3.20.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="A TCP, UDP, and SCTP network bandwidth measurement tool"
-HOMEPAGE="https://software.es.net/iperf/"
-SRC_URI="https://downloads.es.net/pub/${PN}/${P}.tar.gz"
-S="${WORKDIR}/${P/_/}"
-
-LICENSE="BSD"
-SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE=" sctp static-libs"
-
-DEPEND="
- dev-libs/openssl:0=
-
- sctp? ( net-misc/lksctp-tools )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( README.md RELNOTES.md )
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- $(use_with sctp)
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/iperf.confd iperf3
- newinitd "${FILESDIR}"/iperf3.initd iperf3
- systemd_dounit contrib/iperf3.service
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/net-misc/iperf/iperf-3.21.ebuild b/net-misc/iperf/iperf-3.21.ebuild
deleted file mode 100644
index 9db2cfeb1030..000000000000
--- a/net-misc/iperf/iperf-3.21.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools systemd
-
-DESCRIPTION="TCP, UDP, and SCTP network bandwidth measurement tool"
-HOMEPAGE="https://software.es.net/iperf/ https://github.com/esnet/iperf"
-SRC_URI="https://github.com/esnet/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
-IUSE=" sctp"
-
-RDEPEND="
- >=dev-libs/cJSON-1.7.15
- dev-libs/openssl:=
-
- sctp? ( net-misc/lksctp-tools )
-"
-DEPEND="
- ${DEPEND}
- virtual/os-headers
-"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( README.md RELNOTES.md )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.10.1-drop-forced-debugging-symbols.patch
- "${FILESDIR}"/${PN}-3.18-unbundle-cJSON.patch
-)
-
-src_prepare() {
- default
-
- # Drop bundled cjson
- rm src/cjson.{c,h} || die
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- LDCONFIG=false
- # Makes LDCONFIG blank and triggers a syntax error in 3.21
- #--without-ldconfig
-
- $(use_with sctp)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- newconfd "${FILESDIR}"/iperf.confd iperf3
- newinitd "${FILESDIR}"/iperf3.initd iperf3
- systemd_dounit contrib/iperf3.service
-
- find "${ED}" -name '*.la' -type f -delete || die
-}
diff --git a/net-misc/iperf/metadata.xml b/net-misc/iperf/metadata.xml
deleted file mode 100644
index 98e6d9d6a068..000000000000
--- a/net-misc/iperf/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <maintainer type="project">
- <email>netmon@gentoo.org</email>
- <name>Gentoo network monitoring and analysis project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:iperf_project:iperf</remote-id>
- </upstream>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>