mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
New port: devel/bbparse
Library to parse Blackbox-created PCAPng files. Sponsored by: Netflix
This commit is contained in:
parent
e5a51eb7b8
commit
9b38ef5198
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544107
4 changed files with 55 additions and 0 deletions
|
@ -218,6 +218,7 @@
|
|||
SUBDIR += bazel-buildtools
|
||||
SUBDIR += bazel029
|
||||
SUBDIR += bbfreeze-loader
|
||||
SUBDIR += bbparse
|
||||
SUBDIR += bcc
|
||||
SUBDIR += bcpp
|
||||
SUBDIR += bcunit
|
||||
|
|
47
devel/bbparse/Makefile
Normal file
47
devel/bbparse/Makefile
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bbparse
|
||||
PORTVERSION= 0.1.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= olivier@FreeBSD.org
|
||||
COMMENT= Library to parse Blackbox-created PCAPng files
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Netflix
|
||||
|
||||
PLIST_FILES= lib/libbbparse.a \
|
||||
lib/libbbparse_p.a \
|
||||
include/bbparse.h \
|
||||
man/man3/libbbparse.3.gz
|
||||
|
||||
MANPAGE_LINKS= bbr_get_next bbr_get_stackname bbr_get_tlh bbr_init_fd bbr_init_file bbr_fini
|
||||
|
||||
.for l in ${MANPAGE_LINKS}
|
||||
PLIST_FILES+= man/man3/${l}.3.gz
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
|
||||
IGNORE= builds only on FreeBSD 13-head with minimum revision 356414
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libbbparse.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/libbbparse_p.a ${STAGEDIR}${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/bbparse.h ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_MAN} ${WRKSRC}/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3
|
||||
.for l in ${MANPAGE_LINKS}
|
||||
${RLN} ${STAGEDIR}${PREFIX}/man/man3/libbbparse.3.gz ${STAGEDIR}${PREFIX}/man/man3/${l}.3.gz
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/bbparse/distinfo
Normal file
3
devel/bbparse/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1595635977
|
||||
SHA256 (Netflix-bbparse-v0.1.0_GH0.tar.gz) = 46a9fb45da825e17d19cdd3545696f41eeeb73bc35409352cfa0fa20e22ef016
|
||||
SIZE (Netflix-bbparse-v0.1.0_GH0.tar.gz) = 10226
|
4
devel/bbparse/pkg-descr
Normal file
4
devel/bbparse/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
This library parses a PCAPng file which contains black box records, such as the
|
||||
PCAPng files produced by net/tcplog_dumper.
|
||||
|
||||
WWW: https://github.com/Netflix/bbparse
|
Loading…
Add table
Reference in a new issue