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