blob: 567e06d25cf953be741a8f323a8880c21eef64db [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001# 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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=mesh11sd
11PKG_VERSION:=1.2.0
12PKG_RELEASE:=$(AUTORELEASE)
13
14PKG_MAINTAINER:=Rob White <rob@blue-wave.net>
15PKG_LICENSE:=GPL-2.0-or-later
16PKG_LICENSE_FILES:=LICENSE
17
18PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
19PKG_SOURCE_URL:=https://codeload.github.com/opennds/mesh11sd/tar.gz/v$(PKG_VERSION)?
20PKG_HASH:=b719eaacf63eb3684d0cd6a026f4357a4f400f2339f5d5a6cf74ba3744fe30d8
21PKG_BUILD_DIR:=$(BUILD_DIR)/mesh11sd-$(PKG_VERSION)
22
23include $(INCLUDE_DIR)/package.mk
24
25define 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
32endef
33
34define 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 This version does not require a Captive Portal to be running.
45endef
46
47define Package/mesh11sd/install
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_DIR) $(1)/etc/config
50 $(INSTALL_DIR) $(1)/etc/init.d
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mesh11sd $(1)/usr/sbin
52 $(INSTALL_CONF) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/config/mesh11sd $(1)/etc/config/
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/linux_openwrt/mesh11sd/files/etc/init.d/mesh11sd $(1)/etc/init.d/
54endef
55
56define Package/mesh11sd/conffiles
57/etc/config/mesh11sd
58endef
59
60define Build/Compile
61endef
62
63$(eval $(call BuildPackage,mesh11sd))