Index: net/Makefile =================================================================== --- net/Makefile +++ net/Makefile @@ -1412,6 +1412,7 @@ SUBDIR += tcpmssd SUBDIR += tcpproxy SUBDIR += tcpreen + SUBDIR += tcprtt SUBDIR += tcpsg SUBDIR += tcpshow SUBDIR += tcpslice Index: net/tcprtt/Makefile =================================================================== --- /dev/null +++ net/tcprtt/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= tcprtt +DISTVERSION= g20190704 +CATEGORIES= net + +MAINTAINER= rs@netflix.com +COMMENT= Measures the TCP handshake RTT using the stats(9) statistics framework + +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes +GH_ACCOUNT= KlaraSystems +GH_TAGNAME= a7b97c1f0701c3846e1fbe2cf18bbf5aadbb7c63 + +PLIST_FILES= bin/tcprtt man/man8/${PORTNAME}.8.gz + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300035 +IGNORE= not supported on older CURRENT, no kernel support +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tcprtt ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/tcprtt.8 ${STAGEDIR}${PREFIX}/man/man8 + +.include Index: net/tcprtt/distinfo =================================================================== --- /dev/null +++ net/tcprtt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1562700472 +SHA256 (KlaraSystems-tcprtt-g20190704-a7b97c1f0701c3846e1fbe2cf18bbf5aadbb7c63_GH0.tar.gz) = 8accb85354df2c0245ee261fc78c04edb06b4378a3291c6cdbbae8a111efa33b +SIZE (KlaraSystems-tcprtt-g20190704-a7b97c1f0701c3846e1fbe2cf18bbf5aadbb7c63_GH0.tar.gz) = 3495 Index: net/tcprtt/pkg-descr =================================================================== --- /dev/null +++ net/tcprtt/pkg-descr @@ -0,0 +1,2 @@ +The tcprtt utility reliably measures the TCP handshake round trip time +using the stats(9) statistics framework.