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