head 1.1; access; symbols pkgsrc-2026Q3:1.1.0.2; locks; strict; comment @# @; 1.1 date 2026.10.06.00.04.27; author rin; state Exp; branches 1.1.2.1; next ; commitid 3bfktVL9FOlvClYG; 1.1.2.1 date 2026.10.06.00.04.27; author maya; state dead; branches; next 1.1.2.2; commitid cXWQA2FwRpsVl0ZG; 1.1.2.2 date 2026.10.11.02.45.15; author maya; state Exp; branches; next ; commitid cXWQA2FwRpsVl0ZG; desc @@ 1.1 log @scapy: Fix send() and friends for NetBSD, bump revision Scapy assumes that PF_ROUTE is 17 like on other *BSD systems. However, for NetBSD, PF_ROUTE has been 34 since 6.0 release. @ text @$NetBSD$ For NetBSD, PF_ROUTE has been 34 since 6.0 release. --- scapy/arch/bpf/pfroute.py.orig 2025-12-25 12:31:39.000000000 +0000 +++ scapy/arch/bpf/pfroute.py 2026-10-05 13:37:48.668666558 +0000 @@@@ -62,7 +62,9 @@@@ ) # Missing attributes -if not hasattr(socket, "PF_ROUTE"): +if NETBSD: + socket.PF_ROUTE = 34 +elif not hasattr(socket, "PF_ROUTE"): socket.PF_ROUTE = 17 # ctypes definitions @ 1.1.2.1 log @file patch-scapy_arch_bpf_pfroute.py was added on branch pkgsrc-2026Q3 on 2026-10-11 02:45:15 +0000 @ text @d1 17 @ 1.1.2.2 log @Pullup ticket #7267 - requested by rin net/scapy: Bug fix Revisions pulled up: - net/scapy/Makefile 1.58 - net/scapy/distinfo 1.26 - net/scapy/patches/patch-scapy_arch_bpf_pfroute.py 1.1 --- Module Name: pkgsrc Committed By: rin Date: Tue Oct 6 00:04:28 UTC 2026 Modified Files: pkgsrc/net/scapy: Makefile distinfo Added Files: pkgsrc/net/scapy/patches: patch-scapy_arch_bpf_pfroute.py Log Message: scapy: Fix send() and friends for NetBSD, bump revision Scapy assumes that PF_ROUTE is 17 like on other *BSD systems. However, for NetBSD, PF_ROUTE has been 34 since 6.0 release. @ text @a0 17 $NetBSD: patch-scapy_arch_bpf_pfroute.py,v 1.1 2026/10/06 00:04:27 rin Exp $ For NetBSD, PF_ROUTE has been 34 since 6.0 release. --- scapy/arch/bpf/pfroute.py.orig 2025-12-25 12:31:39.000000000 +0000 +++ scapy/arch/bpf/pfroute.py 2026-10-05 13:37:48.668666558 +0000 @@@@ -62,7 +62,9 @@@@ ) # Missing attributes -if not hasattr(socket, "PF_ROUTE"): +if NETBSD: + socket.PF_ROUTE = 34 +elif not hasattr(socket, "PF_ROUTE"): socket.PF_ROUTE = 17 # ctypes definitions @