summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-01-02 10:22:41 +0000
committerobrien <obrien@FreeBSD.org>2000-01-02 10:22:41 +0000
commit2d8faa1bcce356ff031e8929d26cc61f60ce59a8 (patch)
treede9ca2bcd64bc206904458d35ad06c43c2b175ec /net
parent680ad143609b8e3bbd81a25e18a84727db72a146 (diff)
downloadFreeBSD-ports-2d8faa1bcce356ff031e8929d26cc61f60ce59a8.zip
FreeBSD-ports-2d8faa1bcce356ff031e8929d26cc61f60ce59a8.tar.gz
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]
Diffstat (limited to 'net')
-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 0000000..1e5e5c9
--- /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 0000000..f3541c1
--- /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 0000000..474550980
--- /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 0000000..292b07b
--- /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 0000000..58b3b11
--- /dev/null
+++ b/net/ngrep/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+bin/ngrep
+share/doc/ngrep/README
OpenPOWER on IntegriCloud