Makefile 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # This is free software, licensed under the GNU General Public License v2.
  4. # See /LICENSE for more information.
  5. # Copyright (C) 2022 - 2024 BlueWave Projects and Services <licence@blue-wave.net>
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mesh11sd
  9. PKG_VERSION:=5.0.1
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Rob White <rob@blue-wave.net>
  12. PKG_LICENSE:=GPL-2.0-or-later
  13. PKG_LICENSE_FILES:=LICENSE
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=https://codeload.github.com/opennds/mesh11sd/tar.gz/v$(PKG_VERSION)?
  16. PKG_HASH:=db06bc633c2f7221ab72ec9a6761f078ec84a0d117eb9c4bff8b5a0007745252
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/mesh11sd
  19. SUBMENU:=Captive Portals
  20. SECTION:=net
  21. CATEGORY:=Network
  22. TITLE:=Dynamic 802.11s Mesh Configuration Daemon
  23. PKGARCH:=all
  24. URL:=https://github.com/opennds/mesh11sd
  25. endef
  26. define Package/mesh11sd/description
  27. Mesh11sd is a package that autonomously configures and manages all aspects of an 802.11s mesh network and its connected nodes.
  28. The package acts as a service daemon, dynamically setting mesh parameters across all nodes.
  29. It is particularly useful for simplifying setup, reducing manual configuration, and improving network reliability.
  30. Support for point to multi-point vxlan tunneling over the wireless backhaul is included as standard.
  31. A guest/iot type network is auto-configured without requiring complex vlan setup.
  32. If required, custom vlan trunking over the vxlan tunnel is supported.
  33. Mesh-gate access point usage is collected in a central database on the mesh portal.
  34. A command line interface is provided for reporting in json format output.
  35. An optional Customer/Client Premises Equipment (CPE) mode, greatly simplifies rollout of community WISP projects.
  36. endef
  37. define Package/mesh11sd/install
  38. $(INSTALL_DIR) $(1)/usr/sbin
  39. $(INSTALL_DIR) $(1)/etc/config
  40. $(INSTALL_DIR) $(1)/etc/init.d
  41. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mesh11sd $(1)/usr/sbin
  42. $(INSTALL_CONF) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/config/mesh11sd $(1)/etc/config/
  43. $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/init.d/mesh11sd $(1)/etc/init.d/
  44. endef
  45. define Package/mesh11sd/conffiles
  46. /etc/config/mesh11sd
  47. endef
  48. define Build/Compile
  49. endef
  50. $(eval $(call BuildPackage,mesh11sd))