summaryrefslogtreecommitdiff
path: root/net/ngrep
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-06-28 01:34:22 +0000
committerhubertf <hubertf@pkgsrc.org>1999-06-28 01:34:22 +0000
commitc7d63d87aacfe3e109ff416365675a65faa4783e (patch)
tree173d60b8df3fc244afbd604faffab8d38b6f6a55 /net/ngrep
parent494332beb8550a1b5a0d56f6ed6ac6883e6b402b (diff)
downloadpkgsrc-c7d63d87aacfe3e109ff416365675a65faa4783e.tar.gz
Import ngrep V1.31: network grep
ngrep strives to provide most of GNU grep's common features, applying them to the network layer. ngrep a pcap-aware tool that will allow you to specify extended regular expressions to match against data payloads of packets. It currently recognizes TCP and UDP across ethernet, ppp and slip interfaces, and understands bpf filter logic in the same fashion as more common packet sniffing tools, like tcpdump and snoop.
Diffstat (limited to 'net/ngrep')
-rw-r--r--net/ngrep/Makefile15
-rw-r--r--net/ngrep/files/md53
-rw-r--r--net/ngrep/pkg/COMMENT1
-rw-r--r--net/ngrep/pkg/DESCR8
-rw-r--r--net/ngrep/pkg/PLIST3
5 files changed, 30 insertions, 0 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile
new file mode 100644
index 00000000000..904545c4add
--- /dev/null
+++ b/net/ngrep/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/28 01:34:22 hubertf Exp $
+#
+
+DISTNAME= ngrep-1.31
+CATEGORIES= net
+MASTER_SITES= http://www.packetfactory.net/ngrep/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.packetfactory.net/ngrep/
+
+GNU_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/ngrep
+ALL_TARGET= ngrep
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ngrep/files/md5 b/net/ngrep/files/md5
new file mode 100644
index 00000000000..1c928dc0dc2
--- /dev/null
+++ b/net/ngrep/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/06/28 01:34:23 hubertf Exp $
+
+MD5 (ngrep-1.31.tar.gz) = a46b56aaf9c28f38e1761372c46a11a3
diff --git a/net/ngrep/pkg/COMMENT b/net/ngrep/pkg/COMMENT
new file mode 100644
index 00000000000..47455098047
--- /dev/null
+++ b/net/ngrep/pkg/COMMENT
@@ -0,0 +1 @@
+network grep
diff --git a/net/ngrep/pkg/DESCR b/net/ngrep/pkg/DESCR
new file mode 100644
index 00000000000..31a871e98f9
--- /dev/null
+++ b/net/ngrep/pkg/DESCR
@@ -0,0 +1,8 @@
+ngrep strives to provide most of GNU grep's common features, applying
+them to the network layer.
+
+ngrep a pcap-aware tool that will allow you to specify extended
+regular expressions to match against data payloads of packets. It
+currently recognizes TCP and UDP across ethernet, ppp and slip
+interfaces, and understands bpf filter logic in the same fashion
+as more common packet sniffing tools, like tcpdump and snoop.
diff --git a/net/ngrep/pkg/PLIST b/net/ngrep/pkg/PLIST
new file mode 100644
index 00000000000..8067fe1d8d8
--- /dev/null
+++ b/net/ngrep/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/28 01:34:23 hubertf Exp $
+bin/ngrep
+man/man8/ngrep.8