[packages/tcpdump] - force libpcap 1.4.0, enable capability dropping via libcap-ng
arekm
arekm at pld-linux.org
Thu Jun 6 22:52:32 CEST 2013
commit 7975d5b5ba9550b221e403287066f60401469779
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jun 6 22:52:29 2013 +0200
- force libpcap 1.4.0, enable capability dropping via libcap-ng
tcpdump.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/tcpdump.spec b/tcpdump.spec
index cbbf3c0..ba2896b 100644
--- a/tcpdump.spec
+++ b/tcpdump.spec
@@ -23,11 +23,12 @@ Source0: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
Patch0: libpcap-m4.patch
URL: http://www.tcpdump.org/
BuildRequires: autoconf >= 2.50
-BuildRequires: libpcap-devel >= 2:1.3.0
+BuildRequires: libcap-ng-devel
+BuildRequires: libpcap-devel >= 2:1.4.0
%{?with_libsmi:BuildRequires: libsmi-devel}
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: rpmbuild(macros) >= 1.202
-Requires: libpcap >= 2:1.3.0
+Requires: libpcap >= 2:1.4.0
Provides: user(tcpdump)
Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
@@ -88,7 +89,8 @@ Tcpdump виводить хедери пакетів, що проходять ч
--with-user=tcpdump \
--with-chroot=/usr/share/empty \
%endif
- --enable-ipv6
+ --enable-ipv6 \
+ --with-crypto
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tcpdump.git/commitdiff/7975d5b5ba9550b221e403287066f60401469779
More information about the pld-cvs-commit
mailing list