]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
- added bgp-infinite-loop2 patch from Gentoo (fixes CAN-2005-1267)
[packages/tcpdump.git] / tcpdump.spec
1 #
2 # Conditional build:
3 %bcond_without  libsmi  # Build without SMI support
4 #
5 Summary:        dumps packets that are sent or received over a network interface
6 Summary(de):    deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden
7 Summary(es):    Enseña los paquetes que son enviados o recibidos a través de una interface de red
8 Summary(fr):    vide les paquets émis ou reçus sur une interface réseau
9 Summary(pl):    Pokazuje pakiety przechodz±ce przez interfejsy sieciowe
10 Summary(pt_BR): Mostra os pacotes que são enviados ou recebidos através de uma interface de rede
11 Summary(ru):    éÎÓÔÒÕÍÅÎÔ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ
12 Summary(tr):    Bir að arabirimi üzerinden gelen ya da giden paketleri listeler
13 Summary(uk):    ¶ÎÓÔÒÕÍÅÎÔ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
14 Name:           tcpdump
15 Version:        3.8.3
16 Release:        7
17 Epoch:          1
18 License:        BSD
19 Group:          Applications/Networking
20 Source0:        http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
21 # Source0-md5:  30645001f4b97019677cad88d3811904
22 Patch0:         %{name}-pcap_debug.patch
23 Patch1:         %{name}-CAN-2005-1279_1280.patch
24 Patch2:         %{name}-bgp-infinite-loop2.patch
25 URL:            http://www.tcpdump.org/
26 BuildRequires:  automake
27 BuildRequires:  libpcap-devel >= 2:0.8.3-6
28 %{?with_libsmi:BuildRequires:   libsmi-devel}
29 BuildRequires:  openssl-devel >= 0.9.7d
30 # beware of tar 1.13.9[12] madness (tarball contains tcpdump-3.8.3/./* paths)
31 BuildRequires:  tar >= 1:1.13.93
32 Requires:       libpcap >= 2:0.8.3
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Tcpdump prints out the headers of packets on a network interface. It
37 is very useful for debugging network problems and security operations.
38
39 %description -l de
40 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. Es
41 ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
42 Sicherheitsoperationen.
43
44 %description -l es
45 Tcpdump imprime los encabezamientos de los paquetes en una interface
46 de red. Es muy práctico para solucionar problemas en la red y para
47 operaciones de seguridad.
48
49 %description -l fr
50 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il
51 est très utile pour détecter les problèmes de réseau et de sécurité.
52
53 %description -l pl
54 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejsy
55 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
56
57 %description -l pt_BR
58 Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede.
59 Ele é muito prático para resolver problemas na rede e para operações
60 de segurança.
61
62 %description -l ru
63 Tcpdump ×Ù×ÏÄÉÔ ÈÅÄÅÒÙ ÐÁËÅÔÏ×, ÐÒÏÈÏÄÑÝÉÈ ÞÅÒÅÚ ÓÅÔÅ×ÏÊ ÉÎÔÅÒÆÅÊÓ.
64 îÅÚÁÍÅÎÉÍ ÄÌÑ ÄÉÁÇÎÏÓÔÉËÉ ÓÅÔÅ×ÙÈ ÐÒÏÂÌÅÍ É ÎÁÒÕÛÅÎÉÊ ÂÅÚÏÐÁÓÎÏÓÔÉ.
65
66 %description -l tr
67 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný
68 döker. Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda
69 son derece yararlýdýr.
70
71 %description -l uk
72 Tcpdump ×É×ÏÄÉÔØ ÈÅÄÅÒÉ ÐÁËÅÔ¦×, ÝÏ ÐÒÏÈÏÄÑÔØ ÞÅÒÅÚ ÍÅÒÅÖÉ×ÎÉÊ
73 ¦ÎÔÅÒÆÅÊÓ. îÅÚÁͦÎÎÉÊ ÄÌѠĦÁÇÎÏÓÔÉËÉ ÍÅÒÅÖÉ×ÎÉÈ ÐÒÏÂÌÅÍ ÔÁ ÐÏÒÕÛÅÎØ
74 ÂÅÚÐÅËÉ.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79 %patch1 -p1
80 %patch2 -p1
81
82 %build
83 cp -f /usr/share/automake/config.* .
84 %configure \
85         --enable-ipv6
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %files
98 %defattr(644,root,root,755)
99 %doc CHANGES CREDITS LICENSE README TODO
100 %attr(755,root,root) %{_sbindir}/tcpdump
101 %{_mandir}/man1/*
This page took 0.041574 seconds and 4 git commands to generate.