Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj
3e44699820
python-scapy: Ignore failing ptests
These tests fail in OE qemu environment and is sensitive to ISP provider

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 00:34:05 -08:00
Gyorgy Sarvari
237efae216 python3-scapy: fix ptests
1. Install missing test files
2. Enable network access by setting a nameserver in resolv.conf
   because some tests require this
3. One test tries to ping Google through IPv6 - this test requires
   ipv6 DISTRO_FEATURE. In case ipv6 is not enabled, skip this test
   from the run-ptest script.

NB: the last mentioned test to work  also requires IPv6 support from
your ISP. My ISP is IPv4-only, and I couldn't try it out. The above
comes from my reading of the testcode.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-28 23:31:28 -07:00
Petr Gotthard
4370e3d3fb python3-scapy: upgrade 2.4.5 -> 2.5.0
Changelog:
https://github.com/secdev/scapy/releases/tag/v2.5.0

Also, in this version the UTscapy wrapper gets no longer installed
into /usr/bin, so for ptest we need to install it.

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 09:49:07 -08:00
Armin Kuster
0073e325da python3-scapy: move from meta-security
This tracks the official scapy project.
includes ptest

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-31 07:38:06 -07:00