Name: tcpick Version: 0.2.1 Release: 14 Summary: A tcp stream sniffer, tracker and capturer License: GPLv2+ Group: Applications/Internet URL: http://tcpick.sourceforge.net/ Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz Patch0: tcpick-0.2.1-CVE-2006-0048.patch Patch1: tcpick-0.2.1-ppc.patch Patch2: tcpick-0.2.1-pointers.patch Patch3: tcpick-0.2.1-cpu-loop.patch BuildRequires: %{_includedir}/pcap.h BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description tcpick is a textmode sniffer that can track tcp streams and saves the data captured in files or displays them in the terminal. Useful for picking files in a passive way. It can store all connections in different files, or it can display all the stream on the terminal. It is useful to keep track of what users of a network are doing, and is usable with textmode tools like grep, sed and awk. It can handle eth and ppp interfaces. %prep %setup -q %patch0 -p1 -b .CVE-2006-0048 %patch1 -p1 -b .ppc %patch2 -p1 -b .pointers %patch3 -p1 -b .cpu-loop %build %configure --bindir=%{_sbindir} make %{_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # Move the Italian man page to its correct place mkdir -p $RPM_BUILD_ROOT%{_mandir}/it/man8 mv -f $RPM_BUILD_ROOT%{_mandir}/man8/tcpick_italian.8 $RPM_BUILD_ROOT%{_mandir}/it/man8/tcpick.8 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING EXAMPLES KNOWN-BUGS README THANKS TODO %{_sbindir}/%{name} %{_mandir}/man8/%{name}.8* %{_mandir}/it/man8/%{name}.8* %changelog * Sun Feb 10 2008 Robert Scheck 0.2.1-14 - Rebuilt against gcc 4.3 * Tue Aug 28 2007 Robert Scheck 0.2.1-13 - Updated the license tag according to the guidelines - Buildrequire %%{_includedir}/pcap.h instead of conditionals * Mon May 07 2007 Robert Scheck 0.2.1-12 - Rebuilt * Wed Nov 29 2006 Robert Scheck 0.2.1-11 - Rebuilt * Sun Sep 10 2006 Robert Scheck 0.2.1-10 - Better workaround for CVE-2006-0048 to make tcpick usable again - Added patches for double-free, broken pointers and getopt on ppc * Sun Sep 03 2006 Robert Scheck 0.2.1-9 - Rebuild for Fedora Core 6 * Tue Jun 20 2006 Robert Scheck 0.2.1-8 - Changes to match with Fedora Packaging Guidelines (#195764) * Wed May 31 2006 Robert Scheck 0.2.1-7 - Fixed CVE-2006-0048 (denial of service via fragmented packets) - Added libpcap-devel as build requirement (#193189) * Tue Mar 07 2006 Robert Scheck 0.2.1-6 - Rebuilt against gcc 4.1 and glibc 2.4 * Fri Nov 11 2005 Robert Scheck 0.2.1-5 - Rebuilt against libpcap 0.9.4 * Thu Jul 28 2005 Robert Scheck 0.2.1-4 - Rebuilt against libpcap 0.9.3 * Fri Jul 15 2005 Robert Scheck 0.2.1-3 - Rebuilt against libpcap 0.9.1 * Sun Mar 13 2005 Robert Scheck 0.2.1-2 - Rebuilt against gcc 4.0 * Sun Jan 30 2005 Robert Scheck 0.2.1-1 - Upgrade to 0.2.1 * Sun Jan 16 2005 Robert Scheck 0.2.0-1 - Upgrade to 0.2.0 * Sat Aug 28 2004 Robert Scheck 0.1.24-1 - Fixed a typo caused by the man page change - Upgrade to 0.1.24 * Sat Jun 05 2004 Robert Scheck 0.1.23-1 - Upgrade to 0.1.23 * Thu May 06 2004 Robert Scheck 0.1.22-1 - Upgrade to 0.1.22 * Tue Mar 02 2004 Robert Scheck 0.1.21-1 - Upgrade to 0.1.21 * Fri Feb 27 2004 Robert Scheck 0.1.20-1 - Upgrade to 0.1.20 - Moved tcpick binary from /usr/bin to /usr/sbin - Added more description about tcpick * Fri Jan 30 2004 Robert Scheck 0.1.19-1 - Upgrade to 0.1.19 * Tue Jan 13 2004 Robert Scheck 0.1.18-1 - Upgrade to 0.1.18 - Added patch to solve problems with libpcap * Wed Jan 07 2004 Robert Scheck 0.1.17-1 - Upgrade to 0.1.17 * Fri Dec 12 2003 Robert Scheck 0.1.13-1 - Upgrade to 0.1.13 * Thu Dec 04 2003 Robert Scheck 0.1.10-1 - Upgrade to 0.1.10 - Initial spec file for Red Hat Linux and Fedora Core