import libpcap-1.9.1-5.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:52:54 -04:00 committed by Andrew Lukoshko
parent 6f230477ba
commit 413f37e5b1

View File

@ -1,7 +1,7 @@
Name: libpcap
Epoch: 14
Version: 1.9.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A system-independent interface for user-level packet capture
License: BSD with advertising
URL: http://www.tcpdump.org
@ -11,6 +11,7 @@ BuildRequires: bluez-libs-devel
BuildRequires: flex
BuildRequires: git
BuildRequires: glibc-kernheaders >= 2.2.0
BuildRequires: rdma-core-devel
Source: http://www.tcpdump.org/release/%{name}-%{version}.tar.gz
@ -57,7 +58,7 @@ sed -i -e 's|-fpic|-fPIC|g' configure
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
%configure --enable-rdma
make %{?_smp_mflags}
%install
@ -85,6 +86,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libpcap.a
%{_mandir}/man5/pcap*.5*
%changelog
* Mon Jan 18 2021 Michal Ruprich <mruprich@redhat.com> - 14:1.9.1-5
- Resolves: #1743650 - Enable inbox support for sniffing offloaded RDMA traffic with tcpdump
* Fri May 22 2020 Michal Ruprich <michalruprich@gmail.com> - 14:1.9.1-4
- Related: #1806422 - Building libpcap to side-tag for tcpdump