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