secubox-openwrt/package/secubox/secubox-app-matrix/Makefile
CyberMind-FR b6747c197e feat(security): Add instant ban feature and user management
- Add enhanced instant ban for critical threats (SQL injection, CVE exploits, RCE)
  - CrowdSec trigger scenario for single-hit bans on severity=critical
  - Instant ban daemon (10s polling) for rapid response
  - UCI options: instant_ban_enabled, instant_ban_duration (48h default)
  - WAF addon updated to route critical threats to instant-ban.log

- Add centralized user management (secubox-core-users, luci-app-secubox-users)
  - CLI tool: secubox-users add/del/passwd/list/sync/status
  - LuCI dashboard under System > SecuBox Users
  - Unified user provisioning across Nextcloud, PeerTube, Matrix, Jabber, Email

- Add Matrix/Conduit integration (secubox-app-matrix, luci-app-matrix)
  - LXC-based Conduit homeserver deployment
  - Full RPCD handler with user/room management
  - HAProxy integration for federation

- Add provision-users.sh script for bulk user creation
- Update secubox-feed with new IPKs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-19 20:17:28 +01:00

46 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-matrix
PKG_RELEASE:=1
PKG_VERSION:=1.0.0
PKG_ARCH:=all
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>
PKG_LICENSE:=MIT
include $(INCLUDE_DIR)/package.mk
define Package/secubox-app-matrix
SECTION:=net
CATEGORY:=Network
PKGARCH:=all
SUBMENU:=SecuBox Apps
TITLE:=SecuBox Matrix Homeserver (Conduit)
DEPENDS:=+lxc +lxc-common +wget-ssl +tar +jsonfilter
endef
define Package/secubox-app-matrix/description
Matrix homeserver based on Conduit - a lightweight, high-performance
Matrix server written in Rust. Runs in an LXC Debian container.
Features E2EE messaging, federation, and mesh integration.
endef
define Package/secubox-app-matrix/conffiles
/etc/config/matrix
endef
define Build/Compile
endef
define Package/secubox-app-matrix/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/matrix $(1)/etc/config/matrix
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/matrix $(1)/etc/init.d/matrix
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/matrixctl $(1)/usr/sbin/matrixctl
endef
$(eval $(call BuildPackage,secubox-app-matrix))