summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2021-03-15 16:46:11 +0000
committergdt <gdt@pkgsrc.org>2021-03-15 16:46:11 +0000
commitf5c4196502cd135d8cb9c4ed0d20a85b913b98d8 (patch)
tree1ee2ff3ec343e8c955a802045d81e16db39610a8
parenta3bb356aa453d23a160f1fb00a56c73931f04a02 (diff)
downloadpkgsrc-f5c4196502cd135d8cb9c4ed0d20a85b913b98d8.tar.gz
net/iperf: Remove (successor net/iperf2)
This version has been unmaintained for many years, and a newer version is now in net/iperf2. (As discussed on pkgsrc-users@.)
-rw-r--r--net/iperf/DESCR6
-rw-r--r--net/iperf/Makefile37
-rw-r--r--net/iperf/PLIST6
-rw-r--r--net/iperf/distinfo13
-rw-r--r--net/iperf/patches/patch-ab25
-rw-r--r--net/iperf/patches/patch-ac15
-rw-r--r--net/iperf/patches/patch-configure22
7 files changed, 0 insertions, 124 deletions
diff --git a/net/iperf/DESCR b/net/iperf/DESCR
deleted file mode 100644
index 72fa26a7b36..00000000000
--- a/net/iperf/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-Iperf is a tool for measuring TCP and UDP bandwidth performance.
-It reports bandwidth, delay jitter, datagram loss. It also supports
-IPv6 and IP Multicast.
-
-This version is a continuation of the original code, and is no longer
-maintained.
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
deleted file mode 100644
index 0aefdc17420..00000000000
--- a/net/iperf/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile,v 1.25 2020/03/20 11:58:07 nia Exp $
-
-DISTNAME= iperf-2.0.5
-PKGREVISION= 1
-CATEGORIES= net benchmarks
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
-
-PATCH_SITES= http://sourceforge.net/p/iperf/patches/28/attachment/
-PATCHFILES= nomaxcpu.patch
-PATCH_DIST_STRIP= -p1
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://iperf.sourceforge.net/
-COMMENT= TCP and UDP bandwidth performance measurement tool
-LICENSE= modified-bsd
-
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
-GCC_REQD+= 3.0
-.endif
-
-USE_LANGUAGES= c c++
-GNU_CONFIGURE= yes
-
-LIBS.SunOS+= -lrt
-
-INSTALLATION_DIRS+= share/doc/${PKGBASE}
-
-PTHREAD_OPTS+= native optional
-.include "../../mk/pthread.buildlink3.mk"
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${WRKSRC}/doc/*.html \
- ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/net/iperf/PLIST b/net/iperf/PLIST
deleted file mode 100644
index c3ec3c64e0b..00000000000
--- a/net/iperf/PLIST
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2011/01/31 08:42:09 adam Exp $
-bin/iperf
-man/man1/iperf.1
-share/doc/iperf/dast.gif
-share/doc/iperf/index.html
-share/doc/iperf/ui_license.html
diff --git a/net/iperf/distinfo b/net/iperf/distinfo
deleted file mode 100644
index 0daf3e5e3bc..00000000000
--- a/net/iperf/distinfo
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: distinfo,v 1.11 2018/10/01 09:47:06 jperkin Exp $
-
-SHA1 (iperf-2.0.5.tar.gz) = 7302792dcb1bd7aeba032fef6d3dcc310e4d113f
-RMD160 (iperf-2.0.5.tar.gz) = 975d971974437136ae72bb17c0f776ea92eaf878
-SHA512 (iperf-2.0.5.tar.gz) = da9a0c01dea2a9dd33aa130b11d938d5f44dd6c3ab27526b0a43df5bf2550fede04238a00b7d54037426afe90ac6d8c4f4ae6861aa170ca7835b6664c9d6537f
-Size (iperf-2.0.5.tar.gz) = 248583 bytes
-SHA1 (nomaxcpu.patch) = 46bf3129826e6221593be9ba9accfb040a9e475a
-RMD160 (nomaxcpu.patch) = a459869fc4e6c7981badc8b11b35ad504ae9808a
-SHA512 (nomaxcpu.patch) = 91accee7fe57e93ed99e91ec18a09f449f5310952748ed8fb2d4f03882f15bf02078301b75ad465651b81e4e48ec82b70f24544631f1d63cb5eee6e190ef71bc
-Size (nomaxcpu.patch) = 3354 bytes
-SHA1 (patch-ab) = e10e9119c5e830c186630aca72536ed1431fdbdc
-SHA1 (patch-ac) = 83479534caf61cf034453e1953e9ed5618f3f74c
-SHA1 (patch-configure) = 1295b2022beb24ac809b62f9f919c70368545f01
diff --git a/net/iperf/patches/patch-ab b/net/iperf/patches/patch-ab
deleted file mode 100644
index 6844deeb494..00000000000
--- a/net/iperf/patches/patch-ab
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2005/10/07 20:29:52 markd Exp $
-
---- src/Listener.cpp.orig 2005-05-03 08:09:27.000000000 +1200
-+++ src/Listener.cpp
-@@ -369,6 +369,9 @@ void Listener::McastJoin( ) {
- WARN_errno( rc == SOCKET_ERROR, "multicast join" );
- }
- #ifdef HAVE_IPV6_MULTICAST
-+#if !defined(IPV6_ADD_MEMBERSHIP) && defined(IPV6_JOIN_GROUP)
-+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
-+#endif
- else {
- struct ipv6_mreq mreq;
-
-@@ -393,8 +396,9 @@ void Listener::McastJoin( ) {
- void Listener::McastSetTTL( int val ) {
- #ifdef HAVE_MULTICAST
- if ( !SockAddr_isIPv6( &mSettings->local ) ) {
-+ u_char uval = val;
- int rc = setsockopt( mSettings->mSock, IPPROTO_IP, IP_MULTICAST_TTL,
-- (char*) &val, sizeof(val));
-+ (char*) &uval, sizeof(uval));
- WARN_errno( rc == SOCKET_ERROR, "multicast ttl" );
- }
- #ifdef HAVE_IPV6_MULTICAST
diff --git a/net/iperf/patches/patch-ac b/net/iperf/patches/patch-ac
deleted file mode 100644
index 062d6f25629..00000000000
--- a/net/iperf/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2011/01/31 08:42:10 adam Exp $
-
---- src/PerfSocket.cpp.orig 2005-10-07 13:34:29.000000000 +1300
-+++ src/PerfSocket.cpp
-@@ -110,8 +110,9 @@ void SetSocketOptions( thread_Settings *
- int val = inSettings->mTTL;
- #ifdef HAVE_MULTICAST
- if ( !SockAddr_isIPv6( &inSettings->local ) ) {
-+ u_char uval = val;
- int rc = setsockopt( inSettings->mSock, IPPROTO_IP, IP_MULTICAST_TTL,
-- (const void*) &val, (Socklen_t) sizeof(val));
-+ (const void*) &uval, (Socklen_t) sizeof(uval));
-
- WARN_errno( rc == SOCKET_ERROR, "multicast ttl" );
- }
diff --git a/net/iperf/patches/patch-configure b/net/iperf/patches/patch-configure
deleted file mode 100644
index 303d30ed273..00000000000
--- a/net/iperf/patches/patch-configure
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2018/10/01 09:47:06 jperkin Exp $
-
-Remove bool redefine which breaks C++ headers.
-
---- configure.orig 2010-04-10 19:23:05.000000000 +0000
-+++ configure
-@@ -6961,15 +6961,8 @@ $as_echo "$ac_cv_sizeof_bool" >&6; }
-
-
-
--cat >>confdefs.h <<_ACEOF
--#define SIZEOF_BOOL $ac_cv_sizeof_bool
--_ACEOF
-
-
--if test "$ac_cv_sizeof_bool" = 0 ; then
-- $as_echo "#define bool int" >>confdefs.h
--
--fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if true is defined" >&5
- $as_echo_n "checking if true is defined... " >&6; }