From 36c0d4d8e0ac67ad4fa17c50bb6bc4ee801428ce Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 22 Jun 2016 15:49:04 +0200 Subject: [PATCH] python-scapy3k: new package Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-scapy3k/Config.in | 9 +++++++++ package/python-scapy3k/python-scapy3k.hash | 2 ++ package/python-scapy3k/python-scapy3k.mk | 12 ++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 package/python-scapy3k/Config.in create mode 100644 package/python-scapy3k/python-scapy3k.hash create mode 100644 package/python-scapy3k/python-scapy3k.mk diff --git a/package/Config.in b/package/Config.in index a6cc258264..5779d04677 100644 --- a/package/Config.in +++ b/package/Config.in @@ -756,6 +756,7 @@ menu "External python modules" source "package/python-requests/Config.in" source "package/python-rpi-gpio/Config.in" source "package/python-rtslib-fb/Config.in" + source "package/python-scapy3k/Config.in" source "package/python-sdnotify/Config.in" source "package/python-serial/Config.in" source "package/python-service-identity/Config.in" diff --git a/package/python-scapy3k/Config.in b/package/python-scapy3k/Config.in new file mode 100644 index 0000000000..3e75fcd177 --- /dev/null +++ b/package/python-scapy3k/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_SCAPY3K + bool "python-scapy3k" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB + help + Network packet and pcap file crafting/sniffing/manipulation + security tool (based on scapy) with python3 compatibility. + + https://github.com/phaethon/scapy diff --git a/package/python-scapy3k/python-scapy3k.hash b/package/python-scapy3k/python-scapy3k.hash new file mode 100644 index 0000000000..36d5dfed3c --- /dev/null +++ b/package/python-scapy3k/python-scapy3k.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 a4c68ef2f787d82a3aec8640cac8dbab6f5b9e31ae4d89a1877efbb9150a9e25 python-scapy3k-v0.18.tar.gz diff --git a/package/python-scapy3k/python-scapy3k.mk b/package/python-scapy3k/python-scapy3k.mk new file mode 100644 index 0000000000..661cb9d7fd --- /dev/null +++ b/package/python-scapy3k/python-scapy3k.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# python-scapy3k +# +################################################################################ + +PYTHON_SCAPY3K_VERSION = v0.18 +PYTHON_SCAPY3K_SITE = $(call github,phaethon,scapy,$(PYTHON_SCAPY3K_VERSION)) +PYTHON_SCAPY3K_SETUP_TYPE = distutils +PYTHON_SCAPY3K_LICENSE = GPLv2+ + +$(eval $(python-package)) -- 2.30.2