mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- 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:
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
|
@ -6,26 +6,43 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= iperf
|
PORTNAME= iperf
|
||||||
PORTVERSION= 1.7.0
|
PORTVERSION= 2.0.1
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
|
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/
|
||||||
DISTNAME= iperf-1.7.0-source
|
|
||||||
|
|
||||||
MAINTAINER= smace@FreeBSD.org
|
MAINTAINER= marcus@corp.grupos.com.br
|
||||||
COMMENT= A tool to measure maximum TCP and UDP bandwidth
|
COMMENT= A tool to measure maximum TCP and UDP bandwidth
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
NO_CDROM= "can't charge a fee for the software"
|
NO_CDROM= "can't charge a fee for the software"
|
||||||
|
|
||||||
do-install:
|
HAS_CONFIGURE= yes
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
|
|
||||||
|
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)
|
.if !defined(NOPORTDOCS)
|
||||||
@${MKDIR} ${PREFIX}/share/doc/iperf
|
PORTDOCS= *
|
||||||
.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
|
.endif
|
||||||
doc/lib.html doc/ui_license.html
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
|
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
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (iperf-1.7.0-source.tar.gz) = 3e4aea85822bcf10ed14040f4b26bd26
|
MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
|
||||||
SIZE (iperf-1.7.0-source.tar.gz) = 182773
|
SIZE (iperf-2.0.1.tar.gz) = 220446
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
Iperf is a tool for measuring maximum TCP and UDP bandwidth,
|
What is Iperf?
|
||||||
reminiscent of ttcp and nettest. It has been written to overcome
|
|
||||||
the shortcomings of those aging tools. Iperf can also test UDP
|
While tools to measure network performance, such as ttcp,
|
||||||
bandwidth, loss, and jitter.
|
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/
|
WWW: http://dast.nlanr.net/Projects/Iperf/
|
||||||
|
|
||||||
- Pete
|
Pete <petef@databits.net>
|
||||||
petef@databits.net
|
|
||||||
|
|
|
@ -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
|
|
|
@ -6,26 +6,43 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= iperf
|
PORTNAME= iperf
|
||||||
PORTVERSION= 1.7.0
|
PORTVERSION= 2.0.1
|
||||||
CATEGORIES= net ipv6
|
CATEGORIES= net ipv6
|
||||||
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf/
|
MASTER_SITES= http://dast.nlanr.net/Projects/Iperf2.0/
|
||||||
DISTNAME= iperf-1.7.0-source
|
|
||||||
|
|
||||||
MAINTAINER= smace@FreeBSD.org
|
MAINTAINER= marcus@corp.grupos.com.br
|
||||||
COMMENT= A tool to measure maximum TCP and UDP bandwidth
|
COMMENT= A tool to measure maximum TCP and UDP bandwidth
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
||||||
|
|
||||||
NO_CDROM= "can't charge a fee for the software"
|
NO_CDROM= "can't charge a fee for the software"
|
||||||
|
|
||||||
do-install:
|
HAS_CONFIGURE= yes
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/iperf ${PREFIX}/bin
|
|
||||||
|
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)
|
.if !defined(NOPORTDOCS)
|
||||||
@${MKDIR} ${PREFIX}/share/doc/iperf
|
PORTDOCS= *
|
||||||
.for file in README doc/index.html doc/jperf.gif doc/dast.gif \
|
.endif
|
||||||
doc/lib.html doc/ui_license.html
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/iperf
|
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
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (iperf-1.7.0-source.tar.gz) = 3e4aea85822bcf10ed14040f4b26bd26
|
MD5 (iperf-2.0.1.tar.gz) = a7a8f5797c68383722ff671ae18067a4
|
||||||
SIZE (iperf-1.7.0-source.tar.gz) = 182773
|
SIZE (iperf-2.0.1.tar.gz) = 220446
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
Iperf is a tool for measuring maximum TCP and UDP bandwidth,
|
What is Iperf?
|
||||||
reminiscent of ttcp and nettest. It has been written to overcome
|
|
||||||
the shortcomings of those aging tools. Iperf can also test UDP
|
While tools to measure network performance, such as ttcp,
|
||||||
bandwidth, loss, and jitter.
|
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/
|
WWW: http://dast.nlanr.net/Projects/Iperf/
|
||||||
|
|
||||||
- Pete
|
Pete <petef@databits.net>
|
||||||
petef@databits.net
|
|
||||||
|
|
|
@ -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
|
|
Loading…
Add table
Reference in a new issue