@@ -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/' \
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
@@ -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/
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%)