git: 4bbc75a8ab87 - main - net/nfstrace: Add json support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Apr 2022 15:04:42 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=4bbc75a8ab8775ba087fae19896dc6f992328690 commit 4bbc75a8ab8775ba087fae19896dc6f992328690 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2022-04-25 15:04:26 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2022-04-25 15:04:39 +0000 net/nfstrace: Add json support --- net/nfstrace/Makefile | 6 +++++- net/nfstrace/pkg-plist | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile index 602ace4bf8e3..bd6ea24de156 100644 --- a/net/nfstrace/Makefile +++ b/net/nfstrace/Makefile @@ -2,6 +2,7 @@ PORTNAME= nfstrace PORTVERSION= 0.4.3.2 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= ehaupt@FreeBSD.org @@ -10,10 +11,13 @@ COMMENT= NFS and CIFS tracing/monitoring/capturing/analyzing tool LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake +LIB_DEPENDS= libjson-c.so:devel/json-c + +USES= cmake localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= epam +CMAKE_ARGS+= -DJSON_INCLUDE_DIR="${LOCALBASE}/include/json-c" CFLAGS+= -Wno-deprecated-copy .include <bsd.port.mk> diff --git a/net/nfstrace/pkg-plist b/net/nfstrace/pkg-plist index 4ce26024374b..c4dc1c181909 100644 --- a/net/nfstrace/pkg-plist +++ b/net/nfstrace/pkg-plist @@ -14,6 +14,7 @@ include/nfstrace/api/rpc_types.h include/nfstrace/api/session.h include/nfstrace/api/xdr_types.h lib/nfstrace/libbreakdown.so +lib/nfstrace/libjson.so lib/nfstrace/libtestanalyzer.so lib/nfstrace/libwatch.so share/man/man8/nfstrace.8.gz