summaryrefslogtreecommitdiffstats
path: root/recipes-security/scapy/python-scapy.inc
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-09-09 12:08:35 -0700
committerArmin Kuster <akuster808@gmail.com>2018-09-17 21:08:19 -0700
commit561d0806a9d4e6a954bc19bf951dc69f4e40d3eb (patch)
tree1d108db6d40d7c31785fbd82e86e0dfc855608e2 /recipes-security/scapy/python-scapy.inc
parent32def3971b6f55863dce96b1c32358277a337092 (diff)
downloadmeta-security-561d0806a9d4e6a954bc19bf951dc69f4e40d3eb.tar.gz
scapy: update to 2.4.0 and covert
convert package to python standard Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/scapy/python-scapy.inc')
-rw-r--r--recipes-security/scapy/python-scapy.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-security/scapy/python-scapy.inc b/recipes-security/scapy/python-scapy.inc
new file mode 100644
index 0000000..5abe7db
--- /dev/null
+++ b/recipes-security/scapy/python-scapy.inc
@@ -0,0 +1,20 @@
1SUMMARY = "Network scanning and manipulation tool"
2DESCRIPTION = "Scapy is a powerful interactive packet manipulation program. It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more. It can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery (it can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, tethereal, p0f, etc.). It also performs very well at a lot of other specific tasks that most other tools can't handle, like sending invalid frames, injecting your own 802.11 frames, combining technics (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted channel, ...), etc."
3SECTION = "security"
4LICENSE = "GPLv2"
5
6LIC_FILES_CHKSUM = "file://bin/scapy;beginline=9;endline=13;md5=1d5249872cc54cd4ca3d3879262d0c69"
7
8SRC_URI[md5sum] = "d7d3c4294f5a718e234775d38dbeb7ec"
9SRC_URI[sha256sum] = "452f714f5c2eac6fd0a6146b1dbddfc24dd5f4103f3ed76227995a488cfb2b73"
10
11inherit pypi ptest
12
13do_install_ptest() {
14 install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH}
15 sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest
16}
17
18RDEPENDS_${PN} = "tcpdump ${PYTHON_PN}-compression ${PYTHON_PN}-netclient \
19 ${PYTHON_PN}-netserver ${PYTHON_PN}-pydoc ${PYTHON_PN}-pkgutil ${PYTHON_PN}-shell \
20 ${PYTHON_PN}-threading ${PYTHON_PN}-numbers ${PYTHON_PN}-pycrypto"