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.

52 lines
1.4 KiB

  1. #
  2. # Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
  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:=fping
  9. PKG_VERSION:=3.13
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://fping.org/dist/
  13. PKG_MD5SUM:=4bb28efd1cb3d1240ae551dadc20daa852b1ba71bafe32e49ca629c1848e5720
  14. PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
  15. PKG_LICENSE:=BSD-4-Clause
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/fping
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=sends ICMP ECHO_REQUEST packets to network hosts
  23. URL:=http://fping.org/
  24. endef
  25. define Package/fping/description
  26. fping is a ping like program which uses the Internet Control Message Protocol
  27. (ICMP) echo request to determine if a target host is responding. fping
  28. differs from ping in that you can specify any number of targets on the command
  29. line, or specify a file containing the lists of targets to ping. Instead of
  30. sending to one target until it times out or replies, fping will send out a
  31. ping packet and move on to the next target in a round-robin fashion.
  32. endef
  33. CONFIGURE_ARGS+= \
  34. --enable-ipv4 \
  35. --enable-ipv6
  36. define Package/fping/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{fping,fping6} $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,fping))