]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
- revision changed to 11 (in rawhide is 10).
[packages/tcpdump.git] / tcpdump.spec
1 Summary:        dumps packets that are sent or received over a network interface
2 Summary(de):    deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden 
3 Summary(fr):    vide les paquets émis ou reçus sur une interface réseau
4 Summary(pl):    Pokazuje pakiety przechodz±ce przez inerfejsy sieciowe
5 Summary(tr):    Bir að arabirimi üzerinden gelen ya da giden paketleri listeler
6 Name:           tcpdump
7 Version:        3.4
8 Release:        11
9 Copyright:      BSD
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Source0:        ftp://ftp.ee.lbl.gov//%{name}-%{version}.tar.Z
13 Patch0:         ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/tcpdump-3.4-ss990523.dif.gz
14 Patch1:         tcpdump-glibc2.1.patch
15 Patch2:         tcpdump-make.patch
16 BuildRequires:  libpcap
17 BuildRoot:      /tmp/%{name}-%{version}-root
18
19 %description
20 Tcpdump prints out the headers of packets on a network interface.  It
21 is very useful for debugging network problems and security operations.
22
23 %description -l de
24 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. 
25 Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
26 Sicherheitsoperationen.
27
28 %description -l fr
29 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est
30 très utile pour détecter les problèmes de réseau et de sécurité.
31
32 %description -l pl
33 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
34 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
35
36 %description -l tr
37 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný döker.
38 Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda son derece
39 yararlýdýr.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45 %patch2 -p1
46
47 %build
48 CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20"
49 LDFLAGS="-s"
50 export CFLAGS LDFLAGS
51 %configure
52 make
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
57
58 make install install-man DESTDIR=$RPM_BUILD_ROOT
59
60 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_sbindir}/tcpdump
68 %{_mandir}/man1/*
This page took 0.038 seconds and 4 git commands to generate.