summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ngrep/ngrep_1.41.oe19
1 files changed, 19 insertions, 0 deletions
diff --git a/ngrep/ngrep_1.41.oe b/ngrep/ngrep_1.41.oe
index e69de29bb2..6b2e710ce4 100644
--- a/ngrep/ngrep_1.41.oe
+++ b/ngrep/ngrep_1.41.oe
@@ -0,0 +1,19 @@
+DESCRIPTION=ngrep strives to provide most of GNU grep's common features, applying them to the network layer. \
+ngrep is a pcap-aware tool that will allow you to specify extended regular or hexadecimal expressions to match against data payloads of packets. \
+It currently recognizes TCP, UDP and ICMP across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, \
+and understands bpf filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop.
+SECTION=base
+PRIORITY=optional
+RDEPENDS=libc6 libpcap
+DEPENDS=virtual/libc libpcap pcre
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.bz2
+
+EXTRA_OECONF = '--with-safe-user --with-restart'
+EXTRA_OEMAKE = 'INCLUDES=${S}'
+
+inherit autotools libtool
+
+do_install () {
+ oe_runmake BINDEST="${D}/${bindir}" MANDEST="${D}/${mandir}"
+}