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.

38 lines
972 B

  1. #
  2. # Copyright (C) 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:=netdiscover
  9. PKG_VERSION:=0.3-pre-beta7
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-LINUXONLY.tar.gz
  12. PKG_SOURCE_URL:=@SF/netdiscover
  13. PKG_HASH:=01c6e090c3b06e374005f7efcead3b5b2f63f47bfb94383c1dbde9abcf1cd8aa
  14. PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_FIXUP:=autoreconf
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/netdiscover
  20. SECTION:=net
  21. CATEGORY:=Network
  22. DEPENDS:=+libpcap +libnet-1.2.x +libpthread
  23. TITLE:=An active/passive address reconnaissance tool
  24. URL:=https://sourceforge.net/projects/netdiscover
  25. endef
  26. define Package/netdiscover/install
  27. $(INSTALL_DIR) $(1)/usr/sbin
  28. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/
  29. endef
  30. $(eval $(call BuildPackage,netdiscover))