1 %define srcdir tcpdump_3_5rel2
2 Summary: dumps packets that are sent or received over a network interface
3 Summary(de): deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden
4 Summary(fr): vide les paquets émis ou reçus sur une interface réseau
5 Summary(pl): Pokazuje pakiety przechodz±ce przez inerfejsy sieciowe
6 Summary(tr): Bir að arabirimi üzerinden gelen ya da giden paketleri listeler
12 Group: Applications/Networking
13 Group(pl): Aplikacje/Sieciowe
14 Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
15 Patch0: ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/%{name}-3.4-ss990523.dif.gz
16 Patch1: %{name}-glibc2.1.patch
17 Patch2: %{name}-make.patch
18 Patch3: %{name}-giop.patch
19 Patch4: %{name}-iphl.patch
20 Patch5: %{name}-sparc64.patch
21 Patch6: ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/tcpdump/%{name}_3_5rel2-linux-20000714.patch.gz
22 Patch7: %{name}-ssl.patch
23 BuildRequires: libpcap-devel
24 BuildConflicts: libsmi-devel
25 BuildRequires: openssl-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Tcpdump prints out the headers of packets on a network interface. It
30 is very useful for debugging network problems and security operations.
33 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. Es
34 ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
35 Sicherheitsoperationen.
38 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il
39 est très utile pour détecter les problèmes de réseau et de sécurité.
42 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
43 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
46 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný
47 döker. Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda
48 son derece yararlýdýr.
51 %setup -q -n %{srcdir}
63 CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20"
66 %configure --enable-ipv6
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
73 %{__make} install install-man DESTDIR=$RPM_BUILD_ROOT
75 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_sbindir}/tcpdump