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.

41 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.3
  10. PKG_RELEASE:=2
  11. PKG_LICENSE:=GPL-2.0-only
  12. PKG_LICENSE_FILES:=LICENSE
  13. PYPI_NAME:=$(PKG_NAME)
  14. PKG_HASH:=e2f8d11f6a941c14a789ae8b236b27bd634681f1b29b5e893861e284d234f6b0
  15. include ../../lang/python/pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../../lang/python/python3-package.mk
  18. define Package/scapy
  19. SECTION:=net
  20. CATEGORY:=Network
  21. TITLE:=Interactive packet manipulation tool and network scanner
  22. MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  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))