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.

44 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=static-neighbor-reports
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=2
  5. PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
  6. PKG_LICENSE:=GPL-2.0-only
  7. include $(INCLUDE_DIR)/package.mk
  8. Build/Compile=
  9. define Package/static-neighbor-reports/Default
  10. endef
  11. define Package/static-neighbor-reports
  12. SECTION:=net
  13. CATEGORY:=Network
  14. TITLE:=Configure static 802.11k neighbor reports
  15. PKGARCH:=all
  16. DEPENDS:=+libuci-lua +libubus-lua +lua
  17. endef
  18. define Package/static-neighbor-reports/install
  19. $(INSTALL_DIR) $(1)/etc/config
  20. $(INSTALL_CONF) ./files/static-neighbor-report.conf $(1)/etc/config/static-neighbor-report
  21. $(INSTALL_DIR) $(1)/etc/init.d
  22. $(INSTALL_BIN) ./files/static-neighbor-reports.init $(1)/etc/init.d/static-neighbor-reports
  23. $(INSTALL_DIR) $(1)/usr/lib
  24. $(INSTALL_BIN) ./files/reload-neighbor-reports.lua $(1)/usr/lib/reload-neighbor-reports.lua
  25. endef
  26. define Package/static-neighbor-reports/conffiles
  27. /etc/config/static-neighbor-report
  28. endef
  29. define Package/static-neighbor-reports/description
  30. Allows to configure static neighbor reports for hostapd interfaces.
  31. These neighbor reports are avilable to clients using IEEE 802.11k.
  32. endef
  33. $(eval $(call BuildPackage,static-neighbor-reports))