]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
- patch for CAN-2005-1279 and CAN-2005-1280
[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:        3
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 URL:            http://www.tcpdump.org/
25 BuildRequires:  automake
26 BuildRequires:  libpcap-devel >= 2:0.8.3-3
27 %{?with_libsmi:BuildRequires:   libsmi-devel}
28 BuildRequires:  openssl-devel >= 0.9.7d
29 # beware of tar 1.13.9[12] madness (tarball contains tcpdump-3.8.3/./* paths)
30 BuildRequires:  tar >= 1:1.13.93
31 Requires:       libpcap >= 2:0.8.3
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Tcpdump prints out the headers of packets on a network interface. It
36 is very useful for debugging network problems and security operations.
37
38 %description -l de
39 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. Es
40 ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
41 Sicherheitsoperationen.
42
43 %description -l es
44 Tcpdump imprime los encabezamientos de los paquetes en una interface
45 de red. Es muy práctico para solucionar problemas en la red y para
46 operaciones de seguridad.
47
48 %description -l fr
49 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il
50 est très utile pour détecter les problèmes de réseau et de sécurité.
51
52 %description -l pl
53 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejsy
54 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
55
56 %description -l pt_BR
57 Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede.
58 Ele é muito prático para resolver problemas na rede e para operações
59 de segurança.
60
61 %description -l ru
62 Tcpdump ×Ù×ÏÄÉÔ ÈÅÄÅÒÙ ÐÁËÅÔÏ×, ÐÒÏÈÏÄÑÝÉÈ ÞÅÒÅÚ ÓÅÔÅ×ÏÊ ÉÎÔÅÒÆÅÊÓ.
63 îÅÚÁÍÅÎÉÍ ÄÌÑ ÄÉÁÇÎÏÓÔÉËÉ ÓÅÔÅ×ÙÈ ÐÒÏÂÌÅÍ É ÎÁÒÕÛÅÎÉÊ ÂÅÚÏÐÁÓÎÏÓÔÉ.
64
65 %description -l tr
66 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný
67 döker. Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda
68 son derece yararlýdýr.
69
70 %description -l uk
71 Tcpdump ×É×ÏÄÉÔØ ÈÅÄÅÒÉ ÐÁËÅÔ¦×, ÝÏ ÐÒÏÈÏÄÑÔØ ÞÅÒÅÚ ÍÅÒÅÖÉ×ÎÉÊ
72 ¦ÎÔÅÒÆÅÊÓ. îÅÚÁͦÎÎÉÊ ÄÌѠĦÁÇÎÏÓÔÉËÉ ÍÅÒÅÖÉ×ÎÉÈ ÐÒÏÂÌÅÍ ÔÁ ÐÏÒÕÛÅÎØ
73 ÂÅÚÐÅËÉ.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78 %patch1 -p1
79
80 %build
81 cp -f /usr/share/automake/config.* .
82 %configure \
83         --enable-ipv6
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %files
96 %defattr(644,root,root,755)
97 %doc CHANGES CREDITS LICENSE README TODO
98 %attr(755,root,root) %{_sbindir}/tcpdump
99 %{_mandir}/man1/*
This page took 0.076087 seconds and 4 git commands to generate.