- Replace jsonfilter with grep for CrowdSec decision counting - Add ipset existence check before listing blocked IPs - Add safety fallbacks for empty/invalid counts - Bump version to 0.5.2-r2 The jsonfilter -e '@[*]' approach failed with CrowdSec's multi-line JSON output, causing exit code 251 errors. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
866 B
Makefile
26 lines
866 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-system-hub
|
|
PKG_VERSION:=0.5.2
|
|
PKG_RELEASE:=2
|
|
PKG_ARCH:=all
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
|
|
|
|
LUCI_TITLE:=System Hub - Central Control Dashboard
|
|
LUCI_DESCRIPTION:=Central system control with monitoring, services, logs, and backup
|
|
LUCI_DEPENDS:=+luci-base +rpcd +coreutils +coreutils-base64
|
|
LUCI_PKGARCH:=all
|
|
|
|
# File permissions (CRITICAL: RPCD scripts MUST be executable 755)
|
|
# Format: path:owner:group:mode
|
|
# - RPCD scripts: 755 (executable by root, required for ubus calls)
|
|
# - Helper scripts: 755 (if executable)
|
|
# - Config files: 644 (readable by all, writable by root)
|
|
# - CSS/JS files: 644 (set automatically by luci.mk)
|
|
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.system-hub:root:root:755
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|