mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
04e1033df2
Update scapy to version 2.7.0. Add python-setuptools/host to PKG_BUILD_DEPENDS as the package uses setuptools as its build backend. Changelog: https://github.com/secdev/scapy/blob/master/doc/scapy/installation.rst Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=scapy
|
|
PKG_VERSION:=2.7.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
|
PKG_HASH:=bfc1ef1b93280aea1ddee53be7f74232aa28ac3d891244d41ee85200d24aa446
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools/host
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:scapy:scapy
|
|
|
|
include ../../lang/python/pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../../lang/python/python3-package.mk
|
|
|
|
define Package/scapy
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=Interactive packet manipulation tool and network scanner
|
|
URL:=https://scapy.net/
|
|
DEPENDS:=+python3
|
|
endef
|
|
|
|
define Package/scapy/description
|
|
Scapy is a powerful interactive packet manipulation program built on top
|
|
of the Python interpreter. It can be used to forge or decode packets of
|
|
a wide number of protocols, send them over the wire, capture them, match
|
|
requests and replies, and much more.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,scapy))
|
|
$(eval $(call BuildPackage,scapy))
|
|
$(eval $(call BuildPackage,scapy-src))
|