Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 307d93e28d6b444166d3d9b5e9cbb1c0 > files > 8

tcpdump-3.8.3-2.2.102mdk.src.rpm

Name:		tcpdump
Version:	3.8.3
Release:	2.2.102mdk
Epoch:		2
Summary:	A network traffic monitoring tool.
Group:	 	Monitoring
URL:		http://www.tcpdump.org/
License:	BSD
Source:		http://www.tcpdump.org/release/%{name}-%{version}.tar.bz2
#Patch:		tcpdump-3.7.2-fix-in.h.patch.bz2
Patch1:		tcpdump-3.8.2-gcc34.patch.bz2
Patch2:		tcpdump-3.8.2-bgp-dos.patch
Patch3:		tcpdump-3.8.2-isis-dos.patch
Patch4:		tcpdump-3.8.2-ldp-dos.patch
Patch5:		tcpdump-3.8.2-rsvp-dos.patch
Patch6:		tcpdump-3.8.2-bgp-dos-2.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	libpcap-devel

%description
Tcpdump is a command-line tool for monitoring network traffic.  Tcpdump
can capture and display the packet headers on a particular network
interface or on all interfaces.  Tcpdump can display all of the packet
headers, or just the ones that match particular criteria.

Install tcpdump if you need a program to monitor network traffic.

%prep
%setup -q

#%patch -p1 
%patch1 -p1
%patch2 -p1 -b .bgp_dos
%patch3 -p1 -b .isis_dos
%patch4 -p1 -b .ldp_dos
%patch5 -p1 -b .rsvp_dos
%patch6 -p1 -b .can-2005-1267

%build
libtoolize --copy --force
%define	optflags $RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20
%configure --enable-ipv6
%undefine optflags

%__make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_mandir}/man1,%{_sbindir}}

#install -m755 -s tcpdump ${RPM_BUILD_ROOT}%{_sbindir}
#install -m644 tcpdump.1 ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdump.8
%{makeinstall_std}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README CHANGES CREDITS FILES LICENSE TODO VERSION PLATFORMS
%{_sbindir}/tcpdump
%{_mandir}/man1/tcpdump.1*

%changelog
* Mon Jun 13 2005 Vincent Danen <vdanen@mandriva.com> 3.8.3-2.2.102mdk
- security fix for CAN-2005-1267

* Wed May 11 2005 Vincent Danen <vdanen@mandriva.com> 3.8.3-2.1.102mdk
- security fix for CAN-2005-1278, CAN-2005-1279, CAN-2005-1280

* Tue Jun 29 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 3.8.3-2mdk
- fix gcc-3.4 build (P1 from fedora)

* Thu Apr 15 2004 Michael Scherer <mscherer@mandrakesoft.com> 3.8.3-1mdk
- New release 3.8.3

* Tue Jan 27 2004 Warly <warly@mandrakesoft.com> 2:3.8.1-1mdk
- new version

* Mon Apr 28 2003 Warly <warly@mandrakesoft.com> 3.7.2-2mdk
- fix rebuild (move in.h inclusion)

* Sat Mar 01 2003 Vincent Danen <vdanen@mandrakesoft.com> 3.7.2-1mdk
- 3.7.2 (security fixes)

* Thu Mar 28 2002 Warly <warly@mandrakesoft.com> 3.7.1-1mdk
- new version

* Tue Dec  4 2001 Warly <warly@mandrakesoft.com> 3.6.2-2mdk
- rpmlint fixes

* Tue May  8 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 3.6.2-1mdk
- version 3.6.2
- make use of this jewel of technology, the `BuildRequires', which is
  mostly unknown to packagers; on a side note, with dynamic linkage
  against libpcap, we save around 25% of binary size

* Tue Jan 09 2001 Geoff <snailtalk@mandrakesoft.com> 3.6.1-1mdk
- new and shiny source.

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 3.4-10mdk
- automatically added BuildRequires


* Fri Jul 21 2000 Francis Galiegue <fg@mandrakesoft.com> 3.4-9mdk

- s,tmpdir,tmppath, :/


* Wed Jul 19 2000 Francis Galiegue <fg@mandrakesoft.com> 3.4-8mdk

- tcpdump is now in its own src rpm
- %files list fixes
- 3.5