summaryrefslogtreecommitdiff
path: root/net/ngrep
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-01-02 10:22:41 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-01-02 10:22:41 +0000
commitc61b4420960d8b3d3c88fac51b83fc1c5271632c (patch)
tree53bf00730ed44008a584751f7960cb49bd67d03a /net/ngrep
parentThis port requires Xlib. (diff)
ngrep strives to provide most of GNU grep's common features, applying
them to the network layer. ngrep somewhat replaces tcpdump. {DESCR,COMMENT} Obtained from: NetBSD [after I started making this port, I realized NetBSD had a port if it]
Notes
Notes: svn path=/head/; revision=24349
Diffstat (limited to 'net/ngrep')
-rw-r--r--net/ngrep/Makefile27
-rw-r--r--net/ngrep/distinfo1
-rw-r--r--net/ngrep/pkg-comment1
-rw-r--r--net/ngrep/pkg-descr8
-rw-r--r--net/ngrep/pkg-plist3
5 files changed, 40 insertions, 0 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile
new file mode 100644
index 000000000000..1e5e5c9a3bd0
--- /dev/null
+++ b/net/ngrep/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: ngrep
+# Version required: 1.35
+# Date created: Sat Jan 01, 2000
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD$
+#
+
+DISTNAME= ngrep-1.35
+CATEGORIES= net security
+MASTER_SITES= http://www.packetfactory.net/ngrep/
+
+MAINTAINER= obrien@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/ngrep
+GNU_CONFIGURE= yes
+ALL_TARGET= ngrep
+MAN8= ngrep.8
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/ngrep
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ngrep
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/ngrep/distinfo b/net/ngrep/distinfo
new file mode 100644
index 000000000000..f3541c1e25de
--- /dev/null
+++ b/net/ngrep/distinfo
@@ -0,0 +1 @@
+MD5 (ngrep-1.35.tar.gz) = 61a6312f475a3b7f2ea32b095bc7696c
diff --git a/net/ngrep/pkg-comment b/net/ngrep/pkg-comment
new file mode 100644
index 000000000000..47455098047f
--- /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 000000000000..292b07b5d7f8
--- /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 000000000000..58b3b116d6c2
--- /dev/null
+++ b/net/ngrep/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+bin/ngrep
+share/doc/ngrep/README