]> git.pld-linux.org Git - packages/tcpdump.git/blob - tcpdump.spec
[3.4a6-2]
[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.4a6
8 Release:        2
9 Copyright:      BSD
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Source0:        ftp://ftp.inner.net/pub/ipv6/%{name}-%{version}+ipv6-1.tar.gz
13 Source1:        ftp://ftp.inner.net/pub/ipv6/libpcap-0.4a6+ipv6-1.tar.gz
14 Patch0:         tcpdump.patch
15 Patch1:         libcap.patch
16 Patch2:         GNUmakefile.patch
17 Patch3:         Makefile.patch
18 Patch4:         pcap.so_attach_filter.patch
19 BuildRoot:      /tmp/%{name}-%{version}-root
20
21 %description
22 Tcpdump prints out the headers of packets on a network interface.  It
23 is very useful for debugging network problems and security operations.
24
25 %description -l de
26 Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. 
27 Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
28 Sicherheitsoperationen.
29
30 %description -l fr
31 tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est
32 très utile pour détecter les problèmes de réseau et de sécurité.
33
34 %description -l pl
35 Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
36 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
37
38 %description -l tr
39 Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný döker.
40 Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda son derece
41 yararlýdýr.
42
43 %prep
44 %setup -q -c -a 1
45
46 cd %{name}-%{version}
47 %patch -p1
48 %patch2 -p1
49 cd ..
50
51 %build
52 cd libpcap-0.4a6
53
54 patch -p2 < $RPM_SOURCE_DIR/libcap.patch
55 patch -p1 < $RPM_SOURCE_DIR/Makefile.patch
56 patch -p1 < $RPM_SOURCE_DIR/pcap.so_attach_filter.patch
57
58 %configure
59 make
60 cd ..
61
62 cd tcpdump-3.4a6
63 CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20" ./configure --prefix=/usr
64 make
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
69
70 cd tcpdump-3.4a6
71 install -s tcpdump $RPM_BUILD_ROOT%{_sbindir}
72 install tcpdump.1 $RPM_BUILD_ROOT%{_mandir}/man8/tcpdump.8
73
74 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_sbindir}/tcpdump
82 %{_mandir}/man8/*
83
84 %changelog
85 * Wed Jun 23 1999 Micha³ Kuratczyk <kura@pld.org.pl>
86   [3.4a6-2]
87 - gzipping documentation instead bzipping
88 - added Group(pl)
89 - more RPM macros
90 - added using %configure
91
92 * Tue Jul 2 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
93   [3.4a6-1d]
94 - build against glibc-2.1,
95 - added IPv6 support,
96 - updatet to relase 3.4a6,
97 - translation modified for pl,
98 - changed permission of tcpdump to 711,
99 - moved %changelog at the end of spec.
100
101 * Thu May 07 1998 Prospector System <bugs@redhat.com>
102 - translations modified for de, fr, tr
103
104 * Sat May  2 1998 Alan Cox <alan@rehat.com>
105 - Added the SACK printing fix so you can dump Linux 2.1+.
106
107 * Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
108 - updated to release 3.4a5
109 - uses a buildroot and %attr 
110
111 * Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
112 - built against glibc
This page took 0.104732 seconds and 4 git commands to generate.