secubox-openwrt/package/secubox/secubox-app-turn/Makefile
CyberMind-FR 6db547f7f8 feat: Add WebRadio, TURN server, and Lyrion streaming integration
New packages:
- luci-app-webradio: Web radio management with Lyrion bridge tab
- luci-app-turn: TURN/STUN server UI for WebRTC (Jitsi integration)
- secubox-app-lyrion-bridge: Lyrion → Squeezelite → FFmpeg → Icecast pipeline
- secubox-app-squeezelite: Squeezelite audio player with FIFO output
- secubox-app-turn: TURN server with ACME SSL and Jitsi setup
- secubox-app-webradio: Icecast/ezstream web radio server

Features:
- HTTPS streaming via HAProxy (stream.gk2.secubox.in)
- Lyrion Music Server bridge for streaming playlists to Icecast
- TURN server with time-limited credential generation
- CrowdSec integration for WebRadio security
- Schedule-based radio programming with jingles

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-21 17:46:54 +01:00

43 lines
988 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-turn
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=Gerald Kerma <contact@cybermind.fr>
PKG_LICENSE:=MIT
include $(INCLUDE_DIR)/package.mk
define Package/secubox-app-turn
SECTION:=secubox
CATEGORY:=SecuBox
TITLE:=SecuBox TURN/STUN Server
DEPENDS:=+coturn
PKGARCH:=all
endef
define Package/secubox-app-turn/description
TURN/STUN server for WebRTC NAT traversal.
Required for Jitsi Meet when direct P2P connections fail.
Provides turnctl CLI for management.
endef
define Package/secubox-app-turn/conffiles
/etc/config/turn
endef
define Build/Compile
endef
define Package/secubox-app-turn/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_CONF) ./files/etc/config/turn $(1)/etc/config/
$(INSTALL_BIN) ./files/etc/init.d/turn $(1)/etc/init.d/
$(INSTALL_BIN) ./files/usr/sbin/turnctl $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,secubox-app-turn))