secubox-openwrt/package/secubox/luci-app-secubox-mesh/Makefile
CyberMind-FR 54668158c8 feat(luci-app-secubox-mesh): Add LuCI dashboard for mesh network
KISS-themed web interface for SecuBox mesh daemon management:
- Node Identity card (DID, role, mesh gate, daemon uptime)
- System Telemetry with CPU/Memory/Disk gauges and temperature
- Network stats (RX/TX totals, TCP connections, WireGuard peers)
- Configuration panel with Restart Daemon and Rotate Keys buttons
- Connected Peers table with live status
- 10-second auto-refresh polling
- Menu: SecuBox → Mesh Network

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-26 07:14:42 +01:00

27 lines
878 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-secubox-mesh
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
PKG_LICENSE:=MIT
LUCI_TITLE:=LuCI SecuBox Mesh Dashboard
LUCI_DESCRIPTION:=Web dashboard for SecuBox mesh network management
LUCI_DEPENDS:=+luci-base +secubox-mesh
LUCI_PKGARCH:=all
include $(TOPDIR)/feeds/luci/luci.mk
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/secubox
$(CP) ./htdocs/luci-static/resources/view/secubox/mesh.js $(1)/www/luci-static/resources/view/secubox/
$(INSTALL_DIR) $(1)/usr/share/luci/menu.d
$(CP) ./root/usr/share/luci/menu.d/luci-app-secubox-mesh.json $(1)/usr/share/luci/menu.d/
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
$(CP) ./root/usr/share/rpcd/acl.d/luci-app-secubox-mesh.json $(1)/usr/share/rpcd/acl.d/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))