- Update to 2.0.1.

- Add OPTIONS.

PR:		ports/76553
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	pav (mentor)
This commit is contained in:
Florent Thoumie 2005-03-11 10:44:10 +00:00
parent 97d98282c6
commit fb4c1fd1df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130874
8 changed files with 86 additions and 58 deletions

View file

@ -6,26 +6,43 @@
#
PORTNAME= iperf
PORTVERSION= 1.7.0
PORTVERSION= 2.0.1
CATEGORIES= net ipv6
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
DISTNAME= iperf-1.7.0-source
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/
MAINTAINER= smace@FreeBSD.org
MAINTAINER= marcus@corp.grupos.com.br
COMMENT= A tool to measure maximum TCP and UDP bandwidth
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_CDROM= "can't charge a fee for the software"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
HAS_CONFIGURE= yes
PLIST_FILES= bin/iperf
OPTIONS= IPV6 "Enable support to IPv6" on \
THREADS "Enable threads support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --disable-threads
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/iperf
.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
doc/lib.html doc/ui_license.html
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
PORTDOCS= *
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
MD5 (iperf-1.7.0-source.tar.gz) = 3e4aea85822bcf10ed14040f4b26bd26
SIZE (iperf-1.7.0-source.tar.gz) = 182773
MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
SIZE (iperf-2.0.1.tar.gz) = 220446

View file

@ -1,9 +1,14 @@
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. Iperf can also test UDP
bandwidth, loss, and jitter.
What is Iperf?
While tools to measure network performance, such as ttcp,
exist, most are very old and have confusing options. Iperf
was developed as a modern alternative for measuring TCP
and UDP bandwidth performance.
Iperf is a tool to measure maximum TCP bandwidth, allowing
the tuning of various parameters and UDP characteristics.
Iperf reports bandwidth, delay jitter, datagram loss.
WWW: http://dast.nlanr.net/Projects/Iperf/
- Pete
petef@databits.net
Pete <petef@databits.net>

View file

@ -1,8 +0,0 @@
bin/iperf
%%PORTDOCS%%share/doc/iperf/README
%%PORTDOCS%%share/doc/iperf/index.html
%%PORTDOCS%%share/doc/iperf/jperf.gif
%%PORTDOCS%%share/doc/iperf/dast.gif
%%PORTDOCS%%share/doc/iperf/lib.html
%%PORTDOCS%%share/doc/iperf/ui_license.html
%%PORTDOCS%%@dirrm share/doc/iperf

View file

@ -6,26 +6,43 @@
#
PORTNAME= iperf
PORTVERSION= 1.7.0
PORTVERSION= 2.0.1
CATEGORIES= net ipv6
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
DISTNAME= iperf-1.7.0-source
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/
MAINTAINER= smace@FreeBSD.org
MAINTAINER= marcus@corp.grupos.com.br
COMMENT= A tool to measure maximum TCP and UDP bandwidth
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_CDROM= "can't charge a fee for the software"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
HAS_CONFIGURE= yes
PLIST_FILES= bin/iperf
OPTIONS= IPV6 "Enable support to IPv6" on \
THREADS "Enable threads support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --disable-threads
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/iperf
.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
doc/lib.html doc/ui_license.html
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
PORTDOCS= *
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.for FILE in ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
MD5 (iperf-1.7.0-source.tar.gz) = 3e4aea85822bcf10ed14040f4b26bd26
SIZE (iperf-1.7.0-source.tar.gz) = 182773
MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
SIZE (iperf-2.0.1.tar.gz) = 220446

View file

@ -1,9 +1,14 @@
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. Iperf can also test UDP
bandwidth, loss, and jitter.
What is Iperf?
While tools to measure network performance, such as ttcp,
exist, most are very old and have confusing options. Iperf
was developed as a modern alternative for measuring TCP
and UDP bandwidth performance.
Iperf is a tool to measure maximum TCP bandwidth, allowing
the tuning of various parameters and UDP characteristics.
Iperf reports bandwidth, delay jitter, datagram loss.
WWW: http://dast.nlanr.net/Projects/Iperf/
- Pete
petef@databits.net
Pete <petef@databits.net>

View file

@ -1,8 +0,0 @@
bin/iperf
%%PORTDOCS%%share/doc/iperf/README
%%PORTDOCS%%share/doc/iperf/index.html
%%PORTDOCS%%share/doc/iperf/jperf.gif
%%PORTDOCS%%share/doc/iperf/dast.gif
%%PORTDOCS%%share/doc/iperf/lib.html
%%PORTDOCS%%share/doc/iperf/ui_license.html
%%PORTDOCS%%@dirrm share/doc/iperf