You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=scapy
  9. PKG_VERSION:=2.4.5
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=bc707e3604784496b6665a9e5b2a69c36cc9fb032af4864b29051531b24c8593
  13. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  14. PKG_LICENSE:=GPL-2.0-only
  15. PKG_LICENSE_FILES:=LICENSE
  16. include ../../lang/python/pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../../lang/python/python3-package.mk
  19. define Package/scapy
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Interactive packet manipulation tool and network scanner
  23. URL:=https://scapy.net/
  24. DEPENDS:=+python3
  25. endef
  26. define Package/scapy/description
  27. Scapy is a powerful interactive packet manipulation program built on top
  28. of the Python interpreter. It can be used to forge or decode packets of
  29. a wide number of protocols, send them over the wire, capture them, match
  30. requests and replies, and much more.
  31. endef
  32. $(eval $(call Py3Package,scapy))
  33. $(eval $(call BuildPackage,scapy))
  34. $(eval $(call BuildPackage,scapy-src))