]> 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 a3d3c53195d94ce48666698629943a9dc0a0df16..4c7de2eb0b6c075d3fd406c5d979cd04ea35126c 100644 (file)
@@ -1,30 +1,22 @@
-%define                longver 3_5rel2
-%define                shortver 3.5
 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.5.2
+Version:       3.6.2
 Release:       2
 Epoch:         1
 License:       BSD
 Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
 Group(pl):     Aplikacje/Sieciowe
 Source0:       http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
-Patch0:                ftp://ftp.inr.ac.ru/ip-routing/lbl-tools/%{name}-3.4-ss990523.dif.gz
-Patch1:                %{name}-glibc2.1.patch
-Patch2:                %{name}-make.patch
-Patch3:                %{name}-giop.patch
-Patch4:                %{name}-iphl.patch
-Patch5:                %{name}-sparc64.patch
-Patch6:                ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/tcpdump/%{name}_%{longver}-linux-20000720.patch.gz
-Patch7:                %{name}-ssl.patch
-Patch8:                ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:61/%{name}-4.x.patch
-BuildRequires: libpcap-devel
-BuildConflicts:        libsmi-devel
-BuildRequires: openssl-devel
+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
@@ -41,7 +33,7 @@ tcpdump affiche les en-t
 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
@@ -50,30 +42,22 @@ d
 son derece yararlýdýr.
 
 %prep
-%setup -q -n %{name}-%{shortver}
-#%patch0 -p1
-#%patch1 -p1
-%patch2 -p1
-%patch3 -p1 
-%patch4 -p1
-#%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p0
+%setup -q -n %{name}-%{version}
+%patch0 -p1
+%{!?_without_libsmi:#}%patch1 -p1
 
 %build
-autoconf
-CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -DIP_MAX_MEMBERSHIPS=20"
-%configure --enable-ipv6
+%configure2_13 \
+       --enable-ipv6
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
 
-%{__make} install install-man DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
+%{__make}  \
+       DESTDIR=$RPM_BUILD_ROOT \
+       install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.103589 seconds and 4 git commands to generate.