Summary: Network traffic recorder Name: tcpflow Version: 0.21 Release: 1 License: GPL+ Group: Applications/Internet URL: http://www.circlemud.org/~jelson/software/tcpflow/ Source0: http://www.circlemud.org/pub/jelson/tcpflow/%{name}-%{version}.tar.gz # From Debian: Patch0: %{name}-%{version}-color.patch Patch1: %{name}-%{version}-stats-timeout.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libpcap-devel >= 0.9.8 Requires: libpcap >= 0.9.8 %description tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging. A program like 'tcpdump' shows a summary of packets seen on the wire, but usually doesn't store the data that's actually being transmitted. In contrast, tcpflow reconstructs the actual data streams and stores each flow in a separate file for later analysis. %prep %setup -q export PATH=/opt/freeware/bin:$PATH %patch0 -p1 %patch1 -p1 %{__chmod} 0644 COPYING %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -s ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Fri May 28 2010 Michael Perzl - 0.21-1 - first version for AIX V5.1 and higher