Name: ngrep Version: 1.43 Release: 1 Summary: Realtime network grep tool Group: Applications/Internet License: GPL URL: http://ngrep.sourceforge.net/ Source0: http://dl.sf.net/ngrep/ngrep-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpcap %description ngrep is grep command that works on realtime network data. 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. %prep %setup %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc *.txt doc/*.txt scripts/ %doc %{_mandir}/man8/ngrep.8* %{_bindir}/ngrep %changelog * Tue Jul 19 2005 Colin Charles 1.43-1 - Initial Fedora package, from a modified Dag spec.