1 # SPDX-License-Identifier: GPL-2.0-only
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>
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=Rob White
<rob@blue-wave.net
>
15 PKG_LICENSE
:=GPL-2.0
-or-later
16 PKG_LICENSE_FILES
:=LICENSE
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
:=741d219ea9c6fcb5e58771130c319c5b983274caf08f5c1cd5a458864e928649
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/mesh11sd-
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/mesh11sd
26 SUBMENU
:=Captive Portals
29 TITLE
:=Dynamic
802.11s Mesh Configuration Daemon
31 URL
:=https
://github.com
/opennds
/mesh11sd
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.
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
/
59 define Package
/mesh11sd
/conffiles
66 $(eval
$(call BuildPackage
,mesh11sd
))