]> git.pld-linux.org Git - packages/tcpdump.git/blobdiff - tcpdump.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/tcpdump.git] / tcpdump.spec
index cd8f283992958d4eaf0332fb63d058e14cc78a32..4c7de2eb0b6c075d3fd406c5d979cd04ea35126c 100644 (file)
@@ -1,62 +1,63 @@
 Summary:       dumps packets that are sent or received over a network interface
 Summary(de):   deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden 
 Summary(fr):   vide les paquets émis ou reçus sur une interface réseau
-Summary(pl):   Pokazuje pakiety przechodz±ce przez inerfejsy sieciowe
+Summary(pl):   Pokazuje pakiety przechodz±ce przez interfejsy sieciowe
 Summary(tr):   Bir að arabirimi üzerinden gelen ya da giden paketleri listeler
 Name:          tcpdump
-Version:       3.4
-Release:       1
-Copyright:     BSD
+Version:       3.6.2
+Release:       2
+Epoch:         1
+License:       BSD
 Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
 Group(pl):     Aplikacje/Sieciowe
-Source0:       ftp://ftp.ee.lbl.gov//%{name}-%{version}.tar.Z
-Patch0:         ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/tcpdump-3.4-ss990523.dif.gz
-Patch1:                tcpdump-glibc2.1.patch
-BuildPrereq:   libpcap
-BuildRoot:     /tmp/%{name}-%{version}-root
+Source0:       http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
+Patch0:                %{name}-ssl.patch
+Patch1:                %{name}-no-libsmi.patch
+BuildRequires: libpcap-devel >= 2:0.6.1
+%{!?_without_libsmi:BuildRequires:     libsmi-devel}
+BuildRequires: openssl-devel >= 0.9.6a
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Tcpdump prints out the headers of packets on a network interface.  It
+Tcpdump prints out the headers of packets on a network interface. It
 is very useful for debugging network problems and security operations.
 
 %description -l de
-Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. 
-Es ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
+Tcpdump druckt die Headers von Paketen auf einer Netzschnittstelle. Es
+ist überaus nützlich zum Debuggen von Netzwerkproblemen und von
 Sicherheitsoperationen.
 
 %description -l fr
-tcpdump affiche les en-têtes des paquets d'une interface réseau. Il est
-très utile pour détecter les problèmes de réseau et de sécurité.
+tcpdump affiche les en-têtes des paquets d'une interface réseau. Il
+est très utile pour détecter les problèmes de réseau et de sécurité.
 
 %description -l pl
-Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejscy
+Tcpdump s³u¿y do analizy pakietów przechodz±cych przez interfejsy
 sieciowe, jest u¿ytecznym narzêdziem do ¶ledzenia ruchu w sieci.
 
 %description -l tr
-Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný döker.
-Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda son derece
-yararlýdýr.
+Tcpdump, bir að arabirimi üzerinden geçen paketlerin baþlýklarýný
+döker. Güvenlik iþlemleri ve að problemlerinin irdelenmesi konularýnda
+son derece yararlýdýr.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
 %patch0 -p1
-%patch1 -p1
+%{!?_without_libsmi:#}%patch1 -p1
 
 %build
-%configure
-CFLAGS="$RPM_OPT_FLAGS -DIP_MAX_MEMBERSHIPS=20" \
-       ./configure --prefix=%{_prefix} \
-                   --mandir=%{_mandir}
-make
+%configure2_13 \
+       --enable-ipv6
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
 
-install -s tcpdump $RPM_BUILD_ROOT%{_sbindir}
-install tcpdump.1 $RPM_BUILD_ROOT%{_mandir}/man8/tcpdump.8
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
+%{__make}  \
+       DESTDIR=$RPM_BUILD_ROOT \
+       install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,42 +65,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/tcpdump
-%{_mandir}/man8/*
-
-%changelog
-* Sat Jul 03 1999 PLD Team <pld-list@pld.org.pl>
-- new commenting style:
-
-  $Log: tcpdump.spec,v $
-  Revision 1.7  1999-07-03 17:06:12  misiek
-  updated to 3.4. IPv6 patches replaced by ANK patches
-
-
-* Wed Jun 23 1999 Micha³ Kuratczyk <kura@pld.org.pl>
-  [3.4a6-2]
-- gzipping documentation instead bzipping
-- added Group(pl)
-- more RPM macros
-- added using %configure
-
-* Tue Jul 2 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [3.4a6-1d]
-- build against glibc-2.1,
-- added IPv6 support,
-- updatet to relase 3.4a6,
-- translation modified for pl,
-- changed permission of tcpdump to 711,
-- moved %changelog at the end of spec.
-
-* Thu May 07 1998 Prospector System <bugs@redhat.com>
-- translations modified for de, fr, tr
-
-* Sat May  2 1998 Alan Cox <alan@rehat.com>
-- Added the SACK printing fix so you can dump Linux 2.1+.
-
-* Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
-- updated to release 3.4a5
-- uses a buildroot and %attr 
-
-* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
-- built against glibc
+%{_mandir}/man1/*
This page took 0.084741 seconds and 4 git commands to generate.