git: a7da34c47fb7 - main - net/nfstrace: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 25 Apr 2022 13:23:55 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a7da34c47fb7b8f87a411f24bfd232ab69ed4787

commit a7da34c47fb7b8f87a411f24bfd232ab69ed4787
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-04-25 13:14:47 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-04-25 13:23:45 +0000

    net/nfstrace: Add new port
    
    nfstrace is an NFS and CIFS tracing/monitoring/capturing/analyzing tool.
    
    It performs live Ethernet 1 Gbps - 10 Gbps packets capturing and helps
    to determine NFS/CIFS procedures in raw network traffic. Furthermore, it
    performs filtration, dumping, compression, statistical analysis,
    visualization and provides the API for custom pluggable analysis
    modules.
    
    WWW: https://github.com/epam/nfstrace
---
 net/Makefile           |  1 +
 net/nfstrace/Makefile  | 19 +++++++++++++++++++
 net/nfstrace/distinfo  |  3 +++
 net/nfstrace/pkg-descr |  9 +++++++++
 net/nfstrace/pkg-plist | 19 +++++++++++++++++++
 5 files changed, 51 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 4fe9e3e7c193..e7e5674fc50c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -510,6 +510,7 @@
     SUBDIR += netwib
     SUBDIR += nfs-ganesha-kmod
     SUBDIR += nfsshell
+    SUBDIR += nfstrace
     SUBDIR += ng_mikrotik_eoip
     SUBDIR += ngrep
     SUBDIR += nifmon
diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile
new file mode 100644
index 000000000000..602ace4bf8e3
--- /dev/null
+++ b/net/nfstrace/Makefile
@@ -0,0 +1,19 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+
+PORTNAME=	nfstrace
+PORTVERSION=	0.4.3.2
+CATEGORIES=	net
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	NFS and CIFS tracing/monitoring/capturing/analyzing tool
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	epam
+
+CFLAGS+=	-Wno-deprecated-copy
+
+.include <bsd.port.mk>
diff --git a/net/nfstrace/distinfo b/net/nfstrace/distinfo
new file mode 100644
index 000000000000..e666d8f9cbe9
--- /dev/null
+++ b/net/nfstrace/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1650870393
+SHA256 (epam-nfstrace-0.4.3.2_GH0.tar.gz) = dc57d946454d5b847e640818c912208b84bb28c03b757ba97a37bf481dba46a0
+SIZE (epam-nfstrace-0.4.3.2_GH0.tar.gz) = 18527081
diff --git a/net/nfstrace/pkg-descr b/net/nfstrace/pkg-descr
new file mode 100644
index 000000000000..d8903bbda31c
--- /dev/null
+++ b/net/nfstrace/pkg-descr
@@ -0,0 +1,9 @@
+nfstrace is an NFS and CIFS tracing/monitoring/capturing/analyzing tool.
+
+It performs live Ethernet 1 Gbps - 10 Gbps packets capturing and helps
+to determine NFS/CIFS procedures in raw network traffic. Furthermore, it
+performs filtration, dumping, compression, statistical analysis,
+visualization and provides the API for custom pluggable analysis
+modules.
+
+WWW: https://github.com/epam/nfstrace
diff --git a/net/nfstrace/pkg-plist b/net/nfstrace/pkg-plist
new file mode 100644
index 000000000000..4ce26024374b
--- /dev/null
+++ b/net/nfstrace/pkg-plist
@@ -0,0 +1,19 @@
+bin/nfstrace
+include/nfstrace/api/cifs2_commands.h
+include/nfstrace/api/cifs_commands.h
+include/nfstrace/api/cifs_pc_to_net.h
+include/nfstrace/api/cifs_types.h
+include/nfstrace/api/ianalyzer.h
+include/nfstrace/api/nfs3_types_rpcgen.h
+include/nfstrace/api/nfs41_types_rpcgen.h
+include/nfstrace/api/nfs4_types_rpcgen.h
+include/nfstrace/api/nfs_types.h
+include/nfstrace/api/plugin_api.h
+include/nfstrace/api/procedure.h
+include/nfstrace/api/rpc_types.h
+include/nfstrace/api/session.h
+include/nfstrace/api/xdr_types.h
+lib/nfstrace/libbreakdown.so
+lib/nfstrace/libtestanalyzer.so
+lib/nfstrace/libwatch.so
+share/man/man8/nfstrace.8.gz