pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/libpcap
Module Name: pkgsrc
Committed By: adam
Date: Fri Jan 2 08:32:36 UTC 2026
Modified Files:
pkgsrc/net/libpcap: Makefile buildlink3.mk distinfo
Log Message:
libpcap: updated to 1.10.6
Summary for 1.10.6 libpcap release
General:
Fix "tcpdump -i <n>" for something-only libpcap builds.
gencode: Fix an undefined behavior in gen_mcode().
gencode: Add a missing free() in gen_scode().
Remove "DLT_" from the descriptions of two dlt_choices[] entries.
Report the size of time_t in the version string.
Validate remote capture source strings better.
CVE-2025-11961: Fix OOBR and OOBW in pcap_ether_aton().
Source code:
Remove some unneeded includes.
pcapint_find_function() changed to return "void *" to avoid
warnings.
Clean up code that computes the length of a netmask.
Mind netmap support in pcap_lib_version().
Link-layer types:
Add LINKTYPE_ETW/DLT_ETW.
Add LINKTYPE_NETANALYZER_NG/DLT_NETANALYZER_NG
Add LINKTYPE_ZBOSS_NCP/DLT_ZBOSS_NCP.
Add LINKTYPE_USB_2_0_LOW_SPEED/DLT_USB_2_0_LOW_SPEED,
LINKTYPE_USB_2_0_FULL_SPEED/DLT_USB_2_0_FULL_SPEED,
LINKTYPE_USB_2_0_HIGH_SPEED/DLT_USB_2_0_HIGH_SPEED
Add LINKTYPE_AUERSWALD_LOG/DLT_AUERSWALD_LOG.
Add LINKTYPE_ZWAVE_TAP/DLT_ZWAVE_TAP.
Add LINKTYPE_SILABS_DEBUG_CHANNEL/DLT_SILABS_DEBUG_CHANNEL.
Add LINKTYPE_FIRA_UCI/DLT_FIRA_UCI.
Rename LINKTYPE_IPMB_LINUX/DLT_IPMB_LINUX to
LINKTYPE_I2C_LINUX/DLT_I2C_LINUX, as it's really just an
encapsulation of I2C, and is also being used for HDMI DDC.
Keep DLT_IPMB_LINUX around as a #define for backwards
compatibility.
Add LINKTYPE_MDB/DLT_MDB.
Add LINKTYPE_DECT_NR/DLT_DECT_NR.
Add LINKTYPE_EDK2_MM/DLT_EDK2_MM.
Add LINKTYPE_DEBUG_ONLY/DLT_DEBUG_ONLY.
Packet filtering:
Make the chunk allocator's alignment more general and
platform-independent.
IEEE 802.11: Fix three undefined behaviors in grammar.y.
Fix IPv4 multicast filtering to only include 224.0.0.0/4.
Fix "(arp|rarp) host NAME" to ignore IPv6 quietly.
Fix ARCnet address parsing.
Linux:
Fix check for mac80211 phydev.
Don't create monitor-mode interface if we're capturing on one.
Expand the table of DSA tag types to include all current types.
Fix an error message when deleting a monN interface.
Fix returning PCAP_ERROR_RFMON_NOTSUP with libnl.
Fix the error message when capure permission is denied.
Fix the error message if PF_PACKET sockets aren't supported.
Fix a file descriptor leak in an error case.
Handle errors better when checking for a DSA-tagged interface.
Use DLT_DEBUG_ONLY for DSA tags that do not [yet] have a better support.
FreeBSD:
Fix detection and enabling of zero-copy support.
Fix errors in the zero-copy code.
Solaris:
Fix not to ignore logical interfaces in fad-gifc.c and
fad-glifc.c.
Fix attempts to open all-numeric device names with DLPI to
return "no such device".
Fix error returns and messages when an interface has no DLPI
device.
Return all interfaces in pcap_findalldevs() even if they can't be
opened.
HP-UX:
Fix attempts to open all-numeric device names to return
"no such device".
Fix error message if there's no /dev/dlpi device.
Return all interfaces in pcap_findalldevs() even if they can't be
opened.
Windows:
Fix filtering for VLAN-tagged frames.
Add support for Npcap's nanosecond-resolution time stamps in
captures.
CVE-2025-11964: Fix a bug in error message character encoding mapping
from UTF-16 to UTF-8.
Check at create time whether the NPF driver supports nanosecond
precision.
D-Bus:
Fix message leak.
Capture file writing:
Don't close the output stream if it's stdout, just flush it.
Documentation:
Explicitly document that closing a pcap_t for a savefile opened
with pcap_fopen_offline() will close the standard I/O stream.
Building and testing:
Makefile.in: Include instrument-functions.c in the release tarball.
CMake: Fix libnl usage with pkg-config.
CMake: Fix build with CMake 3.31.
CI: Report CMake version in builds.
CI: Visual Studio 2022 builds added, including ARM64 builds;
Visual Studio 2015 builds dropped.
Don't build with sslutils.c if we don't have a TLS library.
Build on Windows with a newer version of OpenSSL.
CMake: generalize handling of non-x86 Windows architectures.
CI: use the -A flag for all Visual Studio generators.
Remove the fuzzing props from the release tarball.
Autoconf: Use AC_SYS_YEAR2038_RECOMMENDED when possible if the
environment variable BUILD_YEAR2038 = yes (via autogen.sh)
DPDK: don't enable it by default.
Update Npcap SDK to 1.15.
autogen.sh: Allow to configure Autoconf warnings.
autogen.sh: Delete all trailing blank lines at end of configure.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/net/libpcap/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/libpcap/buildlink3.mk
cvs rdiff -u -r1.42 -r1.43 pkgsrc/net/libpcap/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/libpcap/Makefile
diff -u pkgsrc/net/libpcap/Makefile:1.72 pkgsrc/net/libpcap/Makefile:1.73
--- pkgsrc/net/libpcap/Makefile:1.72 Mon Apr 21 21:06:36 2025
+++ pkgsrc/net/libpcap/Makefile Fri Jan 2 08:32:36 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2025/04/21 21:06:36 wiz Exp $
+# $NetBSD: Makefile,v 1.73 2026/01/02 08:32:36 adam Exp $
-DISTNAME= libpcap-1.10.5
+DISTNAME= libpcap-1.10.6
CATEGORIES= net
MASTER_SITES= https://www.tcpdump.org/release/
Index: pkgsrc/net/libpcap/buildlink3.mk
diff -u pkgsrc/net/libpcap/buildlink3.mk:1.26 pkgsrc/net/libpcap/buildlink3.mk:1.27
--- pkgsrc/net/libpcap/buildlink3.mk:1.26 Fri Jan 24 19:22:02 2025
+++ pkgsrc/net/libpcap/buildlink3.mk Fri Jan 2 08:32:36 2026
@@ -1,6 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.26 2025/01/24 19:22:02 riastradh Exp $
-
-.include "../../mk/bsd.fast.prefs.mk"
+# $NetBSD: buildlink3.mk,v 1.27 2026/01/02 08:32:36 adam Exp $
BUILDLINK_TREE+= libpcap
@@ -11,6 +9,8 @@ BUILDLINK_API_DEPENDS.libpcap+= libpcap>
BUILDLINK_ABI_DEPENDS.libpcap+= libpcap>=1.3.0nb1
BUILDLINK_PKGSRCDIR.libpcap?= ../../net/libpcap
+.include "../../mk/bsd.fast.prefs.mk"
+
# Headers require Availability.h, which debuted with 10.5.
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
. include "../../devel/macports-legacy-support/buildlink3.mk"
@@ -20,7 +20,7 @@ BUILDLINK_PKGSRCDIR.libpcap?= ../../net/
# references symbols in them.
.if ${OPSYS} == "SunOS"
BUILDLINK_LDADD.libpcap+= -lnsl -lsocket
-BUILDLINK_LDFLAGS.libpcap?= ${BUILDLINK_LDADD.libpcap}
+BUILDLINK_LDFLAGS.libpcap+= ${BUILDLINK_LDADD.libpcap}
.endif
# NetBSD 9.0 shipped with an oopsie in pcap-config -- various
Index: pkgsrc/net/libpcap/distinfo
diff -u pkgsrc/net/libpcap/distinfo:1.42 pkgsrc/net/libpcap/distinfo:1.43
--- pkgsrc/net/libpcap/distinfo:1.42 Sun Sep 1 09:47:09 2024
+++ pkgsrc/net/libpcap/distinfo Fri Jan 2 08:32:36 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.42 2024/09/01 09:47:09 adam Exp $
+$NetBSD: distinfo,v 1.43 2026/01/02 08:32:36 adam Exp $
-BLAKE2s (libpcap-1.10.5.tar.gz) = 238a01f12196e62d233a5016e832a5dcf00b7032f12a64a234b3b2f12fc95f28
-SHA512 (libpcap-1.10.5.tar.gz) = e599a31f2f1c03bdf386defa613ea9f08f80459c87068c2dd36c55c1bd678e2622cdce6333f0a776f16812df7bd4d6747820d1c35c7a2f1d7ad4a2ffb45dbe24
-Size (libpcap-1.10.5.tar.gz) = 974772 bytes
+BLAKE2s (libpcap-1.10.6.tar.gz) = 03faf1d828472da3d16733c9f18539aa58ed322c787e203643e1ec3ab85e1377
+SHA512 (libpcap-1.10.6.tar.gz) = 69e530bc5b470875fba9d82e3b40f36c84cbab21354edb228679c590d3b519363e62611b10fdc4ec84f19159a0dba14330c72edb2d476417695f6500026fb079
+Size (libpcap-1.10.6.tar.gz) = 987897 bytes
SHA1 (patch-Makefile.in) = f7604ba12b15452aadfa21b5b8ed50f24c497567
SHA1 (patch-configure) = 04e2918dda48d0c37df08a12ca25dcf9dc5302ee
SHA1 (patch-fad-getad.c) = 5f2f137f4249d2d4be36efabc5e9456f943f86e2
Home |
Main Index |
Thread Index |
Old Index