diff --git a/net/Makefile b/net/Makefile index f2b7953d8dd7..20c871cd8c00 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1161,6 +1161,7 @@ SUBDIR += rdapper SUBDIR += rdesktop SUBDIR += rdist6 + SUBDIR += read_bbrlog SUBDIR += realtek-re-kmod SUBDIR += reaver SUBDIR += recvnet diff --git a/net/read_bbrlog/Makefile b/net/read_bbrlog/Makefile new file mode 100644 index 000000000000..5defbebbada0 --- /dev/null +++ b/net/read_bbrlog/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= read_bbrlog +PORTVERSION= 0.1.1 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= olivier@FreeBSD.org +COMMENT= Decode BBR log dumps generated with tcplog_dumper + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 + +BUILD_DEPENDS= ${PREFIX}/include/bbparse.h:devel/bbparse + +USE_GITHUB= yes +GH_ACCOUNT= Netflix + +PLIST_FILES= bin/read_bbrlog \ + man/man1/read_bbrlog.1.gz + +CFLAGS+= -I${PREFIX}/include +LDFLAGS+= -L${PREFIX}/lib + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076 +IGNORE= builds only on FreeBSD 13-head with minimum revision 356414 +.endif + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/read_bbrlog ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/read_bbrlog.1.gz ${STAGEDIR}${PREFIX}/man/man1 + +.include diff --git a/net/read_bbrlog/distinfo b/net/read_bbrlog/distinfo new file mode 100644 index 000000000000..012e8df8d0a6 --- /dev/null +++ b/net/read_bbrlog/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1596381036 +SHA256 (Netflix-read_bbrlog-v0.1.1_GH0.tar.gz) = aad8ddc00098fa9f4464148b128dda115279cdf30c0efa4f3169a56ceaae1936 +SIZE (Netflix-read_bbrlog-v0.1.1_GH0.tar.gz) = 45003 diff --git a/net/read_bbrlog/pkg-descr b/net/read_bbrlog/pkg-descr new file mode 100644 index 000000000000..7d3c0346e115 --- /dev/null +++ b/net/read_bbrlog/pkg-descr @@ -0,0 +1,4 @@ +The read_bbrlog is a utility that knows how to read the pcapng[.xz] files +created by the net/tcplog_dumper from BBR. + +WWW: https://github.com/Netflix/read_bbrlog