]> git.pld-linux.org Git - packages/tcpdump.git/blobdiff - tcpdump.spec
- updated libpcap version
[packages/tcpdump.git] / tcpdump.spec
index 7a86131b9b0e323437b63def369c497ccde7980e..e61ab018011aac74f9c5e6ed3716b0c52ef248a6 100644 (file)
@@ -1,8 +1,8 @@
 #
 # Conditional build:
-%bcond_without libsmi  # Build without SMI support
-%bcond_with    drop_priv # Breaks w option
-
+%bcond_without libsmi          # Build without SMI support
+%bcond_with    drop_priv       # Breaks "-w" option
+#
 Summary:       dumps packets that are sent or received over a network interface
 Summary(de.UTF-8):     deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden
 Summary(es.UTF-8):     Enseña los paquetes que son enviados o recibidos a través de una interface de red
@@ -13,22 +13,22 @@ Summary(ru.UTF-8):  Инструмент для мониторинга сетев
 Summary(tr.UTF-8):     Bir ağ arabirimi üzerinden gelen ya da giden paketleri listeler
 Summary(uk.UTF-8):     Інструмент для моніторингу мережевого трафіку
 Name:          tcpdump
-Version:       4.2.0
-Release:       6
+Version:       4.5.1
+Release:       1
 Epoch:         1
 License:       BSD
 Group:         Networking/Utilities
 Source0:       http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: 0296d4c487c3a156879783643704bd39
+# Source0-md5: 973a2513d0076e34aa9da7e15ed98e1b
 Patch0:                libpcap-m4.patch
-Patch1:                %{name}-ppi.patch
 URL:           http://www.tcpdump.org/
-BuildRequires: autoconf
-BuildRequires: libpcap-devel >= 2:1.2.0
+BuildRequires: autoconf >= 2.61
+BuildRequires: libcap-ng-devel
+BuildRequires: libpcap-devel >= 2:1.5.1
 %{?with_libsmi:BuildRequires:  libsmi-devel}
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: rpmbuild(macros) >= 1.202
-Requires:      libpcap >= 2:1.2.0
+Requires:      libpcap >= 2:1.5.1
 Provides:      user(tcpdump)
 Requires(postun):      /usr/sbin/userdel
 Requires(pre): /bin/id
@@ -79,7 +79,6 @@ Tcpdump виводить хедери пакетів, що проходять ч
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__autoconf}
@@ -90,7 +89,8 @@ Tcpdump виводить хедери пакетів, що проходять ч
        --with-user=tcpdump \
        --with-chroot=/usr/share/empty \
 %endif
-       --enable-ipv6
+       --enable-ipv6 \
+       --with-crypto
 %{__make}
 
 %install
@@ -113,6 +113,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS LICENSE README
+%doc CHANGES CREDITS LICENSE README.md
 %attr(755,root,root) %{_sbindir}/tcpdump
 %{_mandir}/man1/tcpdump.1*
This page took 0.109918 seconds and 4 git commands to generate.