[meta-networking][PATCH 100/109] python3-scapy: upgrade 2.6.1 -> 2.7.0
Khem Raj <[email protected]>
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
Bump to the v2.7.0 tag. Rebase the ptest ICMPv6 skip patch: upstream added a "needs_root" tag to the "Sending and receiving an ICMPv6EchoRequest" test's tag line in test/regression.uts, so the "skipped_ptest" tag now needs to be appended after "needs_root" rather than replacing the whole line. With this rebase both hunks apply with offset only (no fuzz). Build-verified: python3-scapy builds and packages (including -ptest) successfully. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <[email protected]> --- ...01-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch | 4 ++-- .../python/{python3-scapy_2.6.1.bb => python3-scapy_2.7.0.bb} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta-networking/recipes-devtools/python/{python3-scapy_2.6.1.bb => python3-scapy_2.7.0.bb} (98%) diff --git a/meta-networking/recipes-devtools/python/python3-scapy/0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch b/meta-networking/recipes-devtools/python/python3-scapy/0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch index 68e5cf5b45..74c9ebb660 100644 --- a/meta-networking/recipes-devtools/python/python3-scapy/0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch +++ b/meta-networking/recipes-devtools/python/python3-scapy/0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch @@ -43,8 +43,8 @@ Signed-off-by: Khem Raj <[email protected]> sck.close() = Sending and receiving an ICMPv6EchoRequest --~ netaccess ipv6 -+~ netaccess ipv6 skipped_ptest +-~ netaccess ipv6 needs_root ++~ netaccess ipv6 needs_root skipped_ptest def _test(): with no_debug_dissector(): x = sr1(IPv6(dst="www.google.com")/ICMPv6EchoRequest(),timeout=3) diff --git a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb b/meta-networking/recipes-devtools/python/python3-scapy_2.7.0.bb similarity index 98% rename from meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb rename to meta-networking/recipes-devtools/python/python3-scapy_2.7.0.bb index 0c547a53ce..c21d2eb0e3 100644 --- a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb +++ b/meta-networking/recipes-devtools/python/python3-scapy_2.7.0.bb @@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" # If you want ptest support, use the git repo # UTscapy does not exist in the pypi pkg # -SRCREV = "8e08cbf759de6709a5b4af6bea3655d293129bb4" +SRCREV = "1de09fe85fe5c9d60ea5c6de130374e170b5bc28" SRC_URI = "git://github.com/secdev/scapy.git;branch=master;protocol=https;tag=v${PV} \ file://0001-python3-scapy-skip-ICMP-regression-tests-in-ptest.patch \ file://run-ptest"