From a0d61bddb3ce4ca54bd76af86c28f58feb6cc044 Mon Sep 17 00:00:00 2001 From: Rob White Date: Tue, 22 Mar 2022 20:12:40 +0000 Subject: [PATCH] mesh11sd: [New Package] Release v1.0.0 Maintainer: Rob White rob@blue-wave.net Compile tested: All Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, x86-64, on 21.02.2 Description: Mesh11sd is a dynamic parameter configuration daemon for 802.11s mesh networks. It was originally designed to leverage 802.11s mesh networking at Captive Portal venues. This is the open source version and it enables easy and automated mesh network operation with multiple mesh nodes. It allows all mesh parameters supported by the wireless driver to be set in the uci config file. Settings take effect immediately without having to restart the wireless network. Default settings give rapid and reliable layer 2 mesh convergence. 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. Some of those that are supported, would fail to be implemented when the network is (re)started resulting in errors or dropped nodes. The mesh11sd daemon dynamically checks configured parameters and sets them as required. This version does not require a Captive Portal to be running. Signed-off-by: Rob White (cherry picked from commit b4ab8968946dd3210fb84a812a7f46d0fbc03899) --- mesh11sd/Makefile | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 mesh11sd/Makefile diff --git a/mesh11sd/Makefile b/mesh11sd/Makefile new file mode 100644 index 0000000..4101c4a --- /dev/null +++ b/mesh11sd/Makefile @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# Copyright (C) 2022 BlueWave Projects and Services +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mesh11sd +PKG_VERSION:=1.0.0 +PKG_RELEASE:=$(AUTORELEASE) + +PKG_MAINTAINER:=Rob White +PKG_LICENSE:=GPL-2.0-or-later +PKG_LICENSE_FILES:=LICENSE + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/opennds/mesh11sd/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=a9f2ac4e1cdf5c4fe933ad68adf7c62d6d4a5e20a7f61f79dfa26a309f97049e +PKG_BUILD_DIR:=$(BUILD_DIR)/mesh11sd-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/mesh11sd + SUBMENU:=Captive Portals + SECTION:=net + CATEGORY:=Network + TITLE:=Dynamic 802.11s Mesh Configuration Daemon + PKGARCH:=all + URL:=https://github.com/opennds/mesh11sd +endef + +define Package/mesh11sd/description + Mesh11sd is a dynamic parameter configuration daemon for 802.11s mesh networks. + It was originally designed to leverage 802.11s mesh networking at Captive Portal venues. + This is the open source version and it enables easy and automated mesh network operation with multiple mesh nodes. + It allows all mesh parameters supported by the wireless driver to be set in the uci config file. + Settings take effect immediately without having to restart the wireless network. + Default settings give rapid and reliable layer 2 mesh convergence. + 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. + Some of those that are supported, would fail to be implemented when the network is (re)started resulting in errors or dropped nodes. + The mesh11sd daemon dynamically checks configured parameters and sets them as required. + This version does not require a Captive Portal to be running. +endef + +define Package/mesh11sd/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DIR) $(1)/etc/init.d + $(CP) $(PKG_BUILD_DIR)/src/mesh11sd $(1)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/config/mesh11sd $(1)/etc/config/ + $(CP) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/init.d/mesh11sd $(1)/etc/init.d/ +endef + +define Package/mesh11sd/conffiles +/etc/config/mesh11sd +endef + +define Build/Compile +endef + +$(eval $(call BuildPackage,mesh11sd)) -- 2.30.2