%define srcdir tcpdump_3_5rel2 Summary: dumps packets that are sent or received over a network interface Summary(de): deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden Summary(fr): vide les paquets émis ou reçus sur une interface réseau Summary(pl): Pokazuje pakiety przechodz±ce przez inerfejsy sieciowe Summary(tr): Bir ağ arabirimi üzerinden gelen ya da giden paketleri listeler Name: tcpdump Version: 3.5 Release: 1 Copyright: BSD Serial: 1 Group: Applications/Networking Group(pl): Aplikacje/Sieciowe Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz Patch0: ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/tcpdump-3.4-ss990523.dif.gz Patch1: tcpdump-glibc2.1.patch Patch2: tcpdump-make.patch Patch3: tcpdump-giop.patch Patch4: tcpdump-iphl.patch Patch5: tcpdump-sparc64.patch Patch6: ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/tcpdump/tcpdump_3_5rel2-linux-20000714.patch.gz Patch7: tcpdump-ssl.patch BuildRequires: libpcap-devel BuildConflicts: libsmi-devel BuildRequires: openssl-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Tcpdump prints out the headers of packets on a network interface. It is very useful for debugging network problems and security operations. %description -l de Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von Sicherheitsoperationen. %description -l fr tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est très utile pour détecter les problèmes de réseau et de sécurité. %description -l pl Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci. %description -l tr Tcpdump, bir ağ arabirimi üzerinden geçen paketlerin başlıklarını döker. Güvenlik işlemleri ve ağ problemlerinin irdelenmesi konularında son derece yararlıdır. %prep %setup -q -n %{srcdir} #%patch0 -p1 #%patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 #%patch5 -p1 %patch6 -p1 %patch7 -p1 %build autoconf CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20" LDFLAGS="-s" export CFLAGS LDFLAGS %configure --enable-ipv6 %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1} %{__make} install install-man DESTDIR=$RPM_BUILD_ROOT gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_sbindir}/tcpdump %{_mandir}/man1/*