mesh11sd: update to version 3.1.0
[feed/routing.git] / mesh11sd / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mesh11sd
11 PKG_VERSION:=3.1.0
12 PKG_RELEASE:=1
13
14 PKG_MAINTAINER:=Rob White <rob@blue-wave.net>
15 PKG_LICENSE:=GPL-2.0-or-later
16 PKG_LICENSE_FILES:=LICENSE
17
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
19 PKG_SOURCE_URL:=https://codeload.github.com/opennds/mesh11sd/tar.gz/v$(PKG_VERSION)?
20 PKG_HASH:=841cec7484272155e1200edb354c8a76dc1416390dafd60bef2b8459fbf3ee21
21 PKG_BUILD_DIR:=$(BUILD_DIR)/mesh11sd-$(PKG_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/mesh11sd
26 SUBMENU:=Captive Portals
27 SECTION:=net
28 CATEGORY:=Network
29 TITLE:=Dynamic 802.11s Mesh Configuration Daemon
30 PKGARCH:=all
31 URL:=https://github.com/opennds/mesh11sd
32 endef
33
34 define Package/mesh11sd/description
35 Mesh11sd is a dynamic parameter configuration daemon for 802.11s mesh networks.
36 It was originally designed to leverage 802.11s mesh networking at Captive Portal venues.
37 This is the open source version and it enables easy and automated mesh network operation with multiple mesh nodes.
38 It allows all mesh parameters supported by the wireless driver to be set in the uci config file.
39 Settings take effect immediately without having to restart the wireless network.
40 Default settings give rapid and reliable layer 2 mesh convergence.
41 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.
42 Some of those that are supported, would fail to be implemented when the network is (re)started resulting in errors or dropped nodes.
43 The mesh11sd daemon dynamically checks configured parameters and sets them as required.
44 Upstream wan connectivity is checked (eg Internet feed) and when not present, layer 2 peer mode is autonomously enabled,
45 and when it is present, layer 3 portal mode is enabled. This allows the same simple router configuration to be used on all meshnodes in the layer 2 mesh.
46 Remote terminal sessions and remote file transfers are supported using the meshnode mac address as an identifier.
47 This version does not require a Captive Portal to be running.
48 endef
49
50 define Package/mesh11sd/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_DIR) $(1)/etc/config
53 $(INSTALL_DIR) $(1)/etc/init.d
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mesh11sd $(1)/usr/sbin
55 $(INSTALL_CONF) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/config/mesh11sd $(1)/etc/config/
56 $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/init.d/mesh11sd $(1)/etc/init.d/
57 endef
58
59 define Package/mesh11sd/conffiles
60 /etc/config/mesh11sd
61 endef
62
63 define Build/Compile
64 endef
65
66 $(eval $(call BuildPackage,mesh11sd))