mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
Upgrade scapy to 2.4.2
Upstream MANIFEST.in removed doc and test directories so remove ptest. Signed-off-by: Scott Ellis <scott@jumpnowtek.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
29ef6cccea
commit
82118c2bd4
@@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
UTscapy -t regression.uts -f text -l -C \
|
||||
-o @PTEST_PATH@/scapy_ptest_$(date +%Y%m%d-%H%M%S).log \
|
||||
2>&1 | sed -e 's/^passed None/PASS:/' -e 's/^failed None/FAIL:/'
|
||||
@@ -5,15 +5,10 @@ LICENSE = "GPLv2"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://bin/scapy;beginline=9;endline=13;md5=1d5249872cc54cd4ca3d3879262d0c69"
|
||||
|
||||
SRC_URI[md5sum] = "d7d3c4294f5a718e234775d38dbeb7ec"
|
||||
SRC_URI[sha256sum] = "452f714f5c2eac6fd0a6146b1dbddfc24dd5f4103f3ed76227995a488cfb2b73"
|
||||
SRC_URI[md5sum] = "e6a03d8c924a6bbde1e86fc58bd2b9d6"
|
||||
SRC_URI[sha256sum] = "1baa048936207ceb1a4281a0e1e3b4317667c754872a0bb4734c5213c468e86a"
|
||||
|
||||
inherit pypi ptest
|
||||
|
||||
do_install_ptest() {
|
||||
install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH}
|
||||
sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest
|
||||
}
|
||||
inherit pypi
|
||||
|
||||
RDEPENDS_${PN} = "tcpdump ${PYTHON_PN}-compression ${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-netserver ${PYTHON_PN}-pydoc ${PYTHON_PN}-pkgutil ${PYTHON_PN}-shell \
|
||||
|
||||
-2
@@ -1,6 +1,4 @@
|
||||
inherit setuptools
|
||||
require python-scapy.inc
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
RDEPENDS_${PN} += "${PYTHON_PN}-subprocess"
|
||||
-2
@@ -1,4 +1,2 @@
|
||||
inherit setuptools3
|
||||
require python-scapy.inc
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
Reference in New Issue
Block a user