From 35cca629242700567bfd49c2f4cb07b8f96f3ab3 Mon Sep 17 00:00:00 2001 From: "Yang.Li" Date: Thu, 26 Jun 2025 07:07:20 +0000 Subject: [PATCH 1/3] enable rdma nic capture support Signed-off-by: Yang.Li --- libpcap.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libpcap.spec b/libpcap.spec index 974f913..a4f4474 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -1,7 +1,7 @@ Name: libpcap Epoch: 14 Version: 1.10.4 -Release: 2 +Release: 3 Summary: A system-independent interface for user-level packet capture License: BSD URL: http://www.tcpdump.org @@ -15,6 +15,7 @@ Patch4: backport-0002-CVE-2023-7256.patch Patch5: backport-CVE-2024-8006.patch BuildRequires: make bison flex gcc glibc-kernheaders >= 2.2.0 +BuildRequires: rdma-core-devel %ifnarch i686 BuildRequires: bluez-libs-devel @@ -39,7 +40,7 @@ header files for libpcap %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -%configure +%configure --enable-rdma %make_build %install -- Gitee From 21fd36e31264c1d374291b33b78b04c3f3edf286 Mon Sep 17 00:00:00 2001 From: "Yang.Li" Date: Thu, 26 Jun 2025 07:19:32 +0000 Subject: [PATCH 2/3] update libpcap.spec. add change log Signed-off-by: Yang.Li --- libpcap.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libpcap.spec b/libpcap.spec index a4f4474..d564843 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -68,6 +68,12 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{_mandir}/man* %changelog +* Thu Jun 26 2025 liy460 - 14:1.10.4-3 +- Type: requirements +- ID:NA +- SUG:NA +- DESC: enable rdma capture support + * Mon Sep 23 2024 xingwei14 - 14:1.10.4-2 - Type:CVE - CVE:CVE-2023-7256 CVE-2024-8006 -- Gitee From 198eb4ff6d22ff2ba835e2f4e733aae49580ac6b Mon Sep 17 00:00:00 2001 From: "Yang.Li" Date: Thu, 26 Jun 2025 08:35:47 +0000 Subject: [PATCH 3/3] update libpcap.spec. Signed-off-by: Yang.Li --- libpcap.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpcap.spec b/libpcap.spec index d564843..09c678a 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -1,7 +1,7 @@ Name: libpcap Epoch: 14 Version: 1.10.4 -Release: 3 +Release: 4 Summary: A system-independent interface for user-level packet capture License: BSD URL: http://www.tcpdump.org @@ -68,7 +68,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{_mandir}/man* %changelog -* Thu Jun 26 2025 liy460 - 14:1.10.4-3 +* Thu Jun 26 2025 liy460 - 14:1.10.4-4 - Type: requirements - ID:NA - SUG:NA -- Gitee