Iperf is a tool for measuring maximum TCP and UDP bandwidth,
reminiscent of ttcp and nettest. It has been written to overcome the shortcomings of those aging tools.
This commit is contained in:
parent
e4df94e553
commit
7fc9909d61
25
net/iperf/Makefile
Normal file
25
net/iperf/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/04/16 21:33:10 jakob Exp $
|
||||
|
||||
COMMENT= a tool for measuring maximum TCP and UDP bandwidth
|
||||
|
||||
DISTNAME= iperf-1.1.1
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.363
|
||||
|
||||
HOMEPAGE= http://dast.nlanr.net/Projects/Iperf/
|
||||
|
||||
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= No
|
||||
PERMIT_PACKAGE_FTP= No
|
||||
PERMIT_DISTFILES_CDROM= No
|
||||
PERMIT_DISTFILES_FTP= No
|
||||
|
||||
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/iperf ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iperf
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/iperf
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/iperf/files/md5
Normal file
3
net/iperf/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (iperf-1.1.1.tar.gz) = d62ca829a4814cd0d36db9a8153acf55
|
||||
RMD160 (iperf-1.1.1.tar.gz) = 74c52e8893a8075bb510b3a4f54afcc4e545bfab
|
||||
SHA1 (iperf-1.1.1.tar.gz) = af592bb5746143c5831e1c3acb763994a100475b
|
36
net/iperf/patches/patch-cfg_configure
Normal file
36
net/iperf/patches/patch-cfg_configure
Normal file
@ -0,0 +1,36 @@
|
||||
$OpenBSD: patch-cfg_configure,v 1.1.1.1 2001/04/16 21:33:10 jakob Exp $
|
||||
|
||||
--- cfg/configure.orig Fri Feb 18 21:45:03 2000
|
||||
+++ cfg/configure Mon Apr 16 23:22:01 2001
|
||||
@@ -581,6 +581,7 @@ fi
|
||||
|
||||
OLD_CFLAGS="$CFLAGS"
|
||||
|
||||
+ac_cv_prog_CC=gcc
|
||||
if test -n "$ac_cv_prog_CC"; then
|
||||
echo "Using cached C compiler $ac_cv_prog_CC"
|
||||
echo "To change compilers, use \"make distclean\" then rerun configure"
|
||||
@@ -793,6 +794,7 @@ fi
|
||||
|
||||
OLD_CXXFLAGS="$CXXFLAGS"
|
||||
|
||||
+ac_cv_prog_CXX=g++
|
||||
if test -n "$ac_cv_prog_CXX"; then
|
||||
echo "Using cached C++ compiler $ac_cv_prog_CXX"
|
||||
echo "To change compilers, use \"make distclean\" then rerun configure"
|
||||
@@ -998,14 +1000,7 @@ fi
|
||||
echo
|
||||
|
||||
|
||||
-if test -z "$ac_cv_use_pthread"; then
|
||||
- ac_cv_use_pthread="yes"
|
||||
-fi
|
||||
-echo "Make iperf multi-threaded (using pthreads)? [$ac_cv_use_pthread] "
|
||||
-read tmp
|
||||
-if test -n "$tmp"; then
|
||||
- ac_cv_use_pthread="$tmp"
|
||||
-fi
|
||||
+ac_cv_use_pthread="no"
|
||||
|
||||
|
||||
if test "$ac_cv_use_pthread" = yes ; then
|
5
net/iperf/pkg/DESCR
Normal file
5
net/iperf/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Iperf is a tool for measuring maximum TCP and UDP bandwidth,
|
||||
reminiscent of ttcp and nettest. It has been written to overcome the
|
||||
shortcomings of those aging tools.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
8
net/iperf/pkg/PLIST
Normal file
8
net/iperf/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/04/16 21:33:10 jakob Exp $
|
||||
bin/iperf
|
||||
share/doc/iperf/index.html
|
||||
share/doc/iperf/jperf.gif
|
||||
share/doc/iperf/lib.html
|
||||
share/doc/iperf/release.html
|
||||
share/doc/iperf/ui_license.html
|
||||
@dirrm share/doc/iperf
|
Loading…
x
Reference in New Issue
Block a user