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.

35 lines
862 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=udhcpsnoop
  3. PKG_RELEASE:=$(AUTORELEASE)
  4. PKG_LICENSE:=BSD-3-Clause
  5. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  6. PKG_SOURCE_URL=https://github.com/blogic/udhcpsnoop.git
  7. PKG_MIRROR_HASH:=64d9d2cb93bd67d55aa08328ef6aa1412e6c1a827e3eccec784a3ba65be2596f
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_DATE:=2021-05-30
  10. PKG_SOURCE_VERSION:=b86639904147a40be32ac43cd89c21109ffc3543
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. define Package/udhcpsnoop
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=DHCP Snooping Daemon
  17. DEPENDS:=+libubox +libubus +libuci
  18. endef
  19. define Package/udhcpsnoop/install
  20. $(INSTALL_DIR) $(1)/usr/sbin
  21. $(INSTALL_BIN) $(PKG_BUILD_DIR)/udhcpsnoop $(1)/usr/sbin/
  22. $(CP) ./files/* $(1)
  23. endef
  24. define Package/udhcpsnoop/conffiles
  25. /etc/config/dhcpsnoop
  26. endef
  27. $(eval $(call BuildPackage,udhcpsnoop))