From c61b4420960d8b3d3c88fac51b83fc1c5271632c Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 2 Jan 2000 10:22:41 +0000 Subject: 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] --- net/ngrep/Makefile | 27 +++++++++++++++++++++++++++ net/ngrep/distinfo | 1 + net/ngrep/pkg-comment | 1 + net/ngrep/pkg-descr | 8 ++++++++ net/ngrep/pkg-plist | 3 +++ 5 files changed, 40 insertions(+) create mode 100644 net/ngrep/Makefile create mode 100644 net/ngrep/distinfo create mode 100644 net/ngrep/pkg-comment create mode 100644 net/ngrep/pkg-descr create mode 100644 net/ngrep/pkg-plist (limited to 'net/ngrep') 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 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 -- cgit v1.2.3