summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2003-01-27 13:13:55 +0000
committerseb <seb@pkgsrc.org>2003-01-27 13:13:55 +0000
commit66bc1fa64fcf57ec22950c25e0ab8381986999ea (patch)
tree2f1d9baa6f942cbe21f6e881bb2c8eb08e3924c2 /net
parentde52ed7373453c3779051e3672c1e0f25a14bb3a (diff)
downloadpkgsrc-66bc1fa64fcf57ec22950c25e0ab8381986999ea.tar.gz
Initial import of iperf, version 1.6.5, into the NetBSD Packages Collection.
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.
Diffstat (limited to 'net')
-rw-r--r--net/iperf/DESCR3
-rw-r--r--net/iperf/Makefile29
-rw-r--r--net/iperf/PLIST8
-rw-r--r--net/iperf/distinfo4
4 files changed, 44 insertions, 0 deletions
diff --git a/net/iperf/DESCR b/net/iperf/DESCR
new file mode 100644
index 00000000000..ce9af546c3a
--- /dev/null
+++ b/net/iperf/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/net/iperf/Makefile b/net/iperf/Makefile
new file mode 100644
index 00000000000..1594399ba05
--- /dev/null
+++ b/net/iperf/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/01/27 13:13:55 seb Exp $
+#
+
+DISTNAME= iperf-1.6.5-source
+PKGNAME= ${DISTNAME:C/-source//}
+CATEGORIES= net
+MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
+COMMENT= TCP and UDP bandwidth performance measurement tool
+
+NOT_FOR_PLATFORM= *-*-sparc64 # internal g++ error
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+USE_BUILDLINK2= YES
+CONFIGURE_DIRS= ${WRKSRC}/cfg
+INSTALL_DIRS= ${WRKSRC}/src
+GNU_CONFIGURE= YES
+MAKE_ENV+= INSTALL_DIR=${PREFIX}/bin
+
+PTHREAD_OPTS= native optional
+.include "../../mk/pthread.buildlink2.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/html/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/iperf/PLIST b/net/iperf/PLIST
new file mode 100644
index 00000000000..79b00491037
--- /dev/null
+++ b/net/iperf/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/01/27 13:13:55 seb Exp $
+bin/iperf
+share/doc/html/iperf/dast.gif
+share/doc/html/iperf/index.html
+share/doc/html/iperf/jperf.gif
+share/doc/html/iperf/lib.html
+share/doc/html/iperf/ui_license.html
+@dirrm share/doc/html/iperf
diff --git a/net/iperf/distinfo b/net/iperf/distinfo
new file mode 100644
index 00000000000..7f87cb1c88b
--- /dev/null
+++ b/net/iperf/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/01/27 13:13:55 seb Exp $
+
+SHA1 (iperf-1.6.5-source.tar.gz) = 4bac916d8c0327f04665545bc1b22e1276e19b94
+Size (iperf-1.6.5-source.tar.gz) = 179084 bytes