Makefile 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 BlueWave Projects and Services <licence@blue-wave.net>
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mesh11sd
  9. PKG_VERSION:=1.2.0
  10. PKG_RELEASE:=$(AUTORELEASE)
  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:=b719eaacf63eb3684d0cd6a026f4357a4f400f2339f5d5a6cf74ba3744fe30d8
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/mesh11sd-$(PKG_VERSION)
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/mesh11sd
  20. SUBMENU:=Captive Portals
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=Dynamic 802.11s Mesh Configuration Daemon
  24. PKGARCH:=all
  25. URL:=https://github.com/opennds/mesh11sd
  26. endef
  27. define Package/mesh11sd/description
  28. Mesh11sd is a dynamic parameter configuration daemon for 802.11s mesh networks.
  29. It was originally designed to leverage 802.11s mesh networking at Captive Portal venues.
  30. This is the open source version and it enables easy and automated mesh network operation with multiple mesh nodes.
  31. It allows all mesh parameters supported by the wireless driver to be set in the uci config file.
  32. Settings take effect immediately without having to restart the wireless network.
  33. Default settings give rapid and reliable layer 2 mesh convergence.
  34. Without mesh11sd, many mesh parameters cannot be set in the uci wireless config file as the mesh interface must be up before the parameters can be set.
  35. Some of those that are supported, would fail to be implemented when the network is (re)started resulting in errors or dropped nodes.
  36. The mesh11sd daemon dynamically checks configured parameters and sets them as required.
  37. This version does not require a Captive Portal to be running.
  38. endef
  39. define Package/mesh11sd/install
  40. $(INSTALL_DIR) $(1)/usr/sbin
  41. $(INSTALL_DIR) $(1)/etc/config
  42. $(INSTALL_DIR) $(1)/etc/init.d
  43. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mesh11sd $(1)/usr/sbin
  44. $(INSTALL_CONF) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/config/mesh11sd $(1)/etc/config/
  45. $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/init.d/mesh11sd $(1)/etc/init.d/
  46. endef
  47. define Package/mesh11sd/conffiles
  48. /etc/config/mesh11sd
  49. endef
  50. define Build/Compile
  51. endef
  52. $(eval $(call BuildPackage,mesh11sd))