From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] libpcap: upgrade 1.11.0 -> 1.11.1
Date: Thu, 26 Nov 2026 17:25:16 +0100 [thread overview]
Message-ID: <20261126162516.93141-3-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20261126162516.93141-1-jaipaul.cheernam@est.tech>
Changes: [1]
Tuesday, November 24, 2026 / The Tcpdump Group
Summary for 1.11.1 libpcap release
Source code:
Fix function names in two error messages.
Have pcap_fileno() return -1 rather than PCAP_ERROR if the HANDLE
is invalid, as the return value isn't a general error.
Indicate no-capture and no-inject devices.
Require libpcap [internal-only] config.h in [internal-only] pcap-int.h.
Use more parentheses in BPF_STMT() and BPF_JUMP().
General:
Set all the file descriptors/HANDLEs to an invalid value in
pcap_open_dead().
Building and testing:
At the build time require atexit(3) not to crash.
Require config.h to be from the libpcap build.
Test for <sysexits.h> instead of specific OSes.
mkdep: Use mktemp(1) if it is available.
mkdep: Propagate compiler errors.
Enable out-of-tree invocation of autogen.sh.
testprogs: Factor fcodetest out of filtertest.
Avoid some compiler builtins in Clang < 9.0.0.
Packet filtering:
Fix validation of "/", "%", "<<" and ">>" 2nd operand.
Fix a dangling register index in "proto[expr]".
Fix a register index leak in "protochain".
Fix the skipping of AH in "protochain".
Haiku:
Fix a compiler warning. (Issue #1738)
rpcap:
Properly check for a network error in one case. (Pull request
#1793)
Documentation:
Note in pcap_fileno(3PCAP) and pcap_get_selectable_fd(3PCAP) that
the descriptors returned by those routines must not be
closed. (Issue #1722)
Update a few OS-specific README files.
Linux:
Include sysfs rx_dropped in pcap_stat.ps_ifdrop (GH bug 1328).
QNX:
Fix DLT_PFSYNC definition on QNX 8.0.
Link-layer types:
Add LINKTYPE_ETW2/DLT_ETW2.
- Adapt ptest to "testprogs: Factor fcodetest out of filtertest." change [2]
ptest-summary:
INFO: 6580 tests skipped
INFO: 0 tests failed
INFO: 16043 tests passed: T min/avg/max = 0.001184/0.002512/0.022410s
INFO: Testing time = 42.74 seconds.
INFO: Executed test rate overall = 375.35 per second.
[1] https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.11.1/CHANGES
[2] https://github.com/the-tcpdump-group/libpcap/commit/fd4ece414c8c
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
meta/recipes-connectivity/libpcap/files/run-ptest | 3 ++-
.../libpcap/{libpcap_1.11.0.bb => libpcap_1.11.1.bb} | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
rename meta/recipes-connectivity/libpcap/{libpcap_1.11.0.bb => libpcap_1.11.1.bb} (92%)
diff --git a/meta/recipes-connectivity/libpcap/files/run-ptest b/meta/recipes-connectivity/libpcap/files/run-ptest
index d6c76f52a81..b788e0d25e8 100644
--- a/meta/recipes-connectivity/libpcap/files/run-ptest
+++ b/meta/recipes-connectivity/libpcap/files/run-ptest
@@ -5,8 +5,9 @@ cd "$(dirname "$0")/testprogs" || exit 1
FILTERTEST_BIN="./filtertest"
TRANSLATETEST_BIN="./translatetest"
ENUMERATETEST_BIN="./enumeratetest"
+FCODETEST_BIN="./fcodetest"
CONFIG_H="../config.h"
-export FILTERTEST_BIN TRANSLATETEST_BIN ENUMERATETEST_BIN CONFIG_H
+export FILTERTEST_BIN TRANSLATETEST_BIN ENUMERATETEST_BIN FCODETEST_BIN CONFIG_H
{ ./TESTrun --passed --skipped 2>&1 || echo "FAIL: libpcap"; } | sed \
-e '/^Passed tests:$/,/^$/ s/^ \([^ ][^ ]*\) *: .*/PASS: \1/' \
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.11.0.bb b/meta/recipes-connectivity/libpcap/libpcap_1.11.1.bb
similarity index 92%
rename from meta/recipes-connectivity/libpcap/libpcap_1.11.0.bb
rename to meta/recipes-connectivity/libpcap/libpcap_1.11.1.bb
index ef1ff0fff8d..ae5993f731b 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.11.0.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.11.1.bb
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native"
SRC_URI = "https://www.tcpdump.org/release/${BP}.tar.xz \
file://run-ptest \
"
-SRC_URI[sha256sum] = "9237f5bae9dcf3a91823d9963ec43b7c0e2e3374ef2ad57d92c8cd39530f4723"
+SRC_URI[sha256sum] = "ac3b1ee6c6b3a52f77d530b4b54d08f8adcb9929c2c47ac5bfd3db70e73df6da"
inherit autotools binconfig-disabled pkgconfig ptest
@@ -40,7 +40,7 @@ do_configure:prepend () {
do_compile_ptest() {
oe_runmake -C ${B}/testprogs CFLAGS="${CFLAGS} ${LDFLAGS}" \
- filtertest translatetest enumeratetest
+ filtertest translatetest enumeratetest fcodetest
}
do_install_ptest() {
@@ -57,6 +57,7 @@ do_install_ptest() {
install -m 0755 ${B}/testprogs/filtertest ${D}${PTEST_PATH}/testprogs/
install -m 0755 ${B}/testprogs/translatetest ${D}${PTEST_PATH}/testprogs/
install -m 0755 ${B}/testprogs/enumeratetest ${D}${PTEST_PATH}/testprogs/
+ install -m 0755 ${B}/testprogs/fcodetest ${D}${PTEST_PATH}/testprogs/
# Savefiles used by the filter tests (SAVEFILE_DIR is testprogs/../tests).
cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
next prev parent reply other threads:[~2026-11-26 16:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 9:06 [PATCH 0/3] Upgrades on 25yh November Jaipaul Cheernam
2026-11-25 9:06 ` [PATCH 1/3] libpcap: upgrade 1.11.0 -> 1.11.1 Jaipaul Cheernam
2026-11-25 19:31 ` [OE-core] " Mathieu Dubois-Briand
2026-11-26 16:25 ` [PATCH 0/2] libpcap ptest log fix and upgrade Jaipaul Cheernam
2026-11-26 16:25 ` [PATCH 1/2] libpcap: show TESTrun errors in ptest log Jaipaul Cheernam
2026-11-26 16:25 ` Jaipaul Cheernam [this message]
2026-11-27 12:35 ` [OE-core] [PATCH 2/2] libpcap: upgrade 1.11.0 -> 1.11.1 Mathieu Dubois-Briand
2026-11-27 12:38 ` Mathieu Dubois-Briand
2026-11-27 13:37 ` Pratik Farkase
2026-11-25 9:06 ` [PATCH 2/3] repo: upgrade 2.73 -> 2.74.1 Jaipaul Cheernam
2026-11-25 9:06 ` [PATCH 3/3] screen: upgrade 5.0.2 -> 5.0.3 Jaipaul Cheernam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126162516.93141-3-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox