Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / net / scapy / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=scapy
11 PKG_VERSION:=2.4.4
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=$(PKG_NAME)
15 PKG_HASH:=ecfd7a14cd9c3ef0eb08d28d5bb71d97219edff1454ccbdff229f676b27900ee
16
17 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
18 PKG_LICENSE:=GPL-2.0-only
19 PKG_LICENSE_FILES:=LICENSE
20
21 include ../../lang/python/pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../../lang/python/python3-package.mk
24
25 define Package/scapy
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=Interactive packet manipulation tool and network scanner
29 URL:=https://scapy.net/
30 DEPENDS:=+python3
31 endef
32
33 define Package/scapy/description
34 Scapy is a powerful interactive packet manipulation program built on top
35 of the Python interpreter. It can be used to forge or decode packets of
36 a wide number of protocols, send them over the wire, capture them, match
37 requests and replies, and much more.
38 endef
39
40 $(eval $(call Py3Package,scapy))
41 $(eval $(call BuildPackage,scapy))
42 $(eval $(call BuildPackage,scapy-src))