- RPCD handler (luci.peertube) with 11 methods: status, start, stop, install, uninstall, update, logs, emancipate, live_enable, live_disable, configure_haproxy - ACL permissions for read (status, logs) and write operations - Dashboard features: - Install wizard with features and requirements - Service status display with access URL - Live streaming toggle with enable/disable buttons - HAProxy configuration status - Emancipate form for public exposure - Logs viewer with refresh Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
LUCI_TITLE:=LuCI PeerTube Video Platform
|
|
LUCI_DEPENDS:=+luci-base +secubox-app-peertube
|
|
LUCI_PKGARCH:=all
|
|
PKG_LICENSE:=AGPL-3.0
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
define Package/luci-app-peertube/install
|
|
$(INSTALL_DIR) $(1)/usr/share/luci/menu.d
|
|
$(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-peertube.json $(1)/usr/share/luci/menu.d/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
|
|
$(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-peertube.json $(1)/usr/share/rpcd/acl.d/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
|
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.peertube $(1)/usr/libexec/rpcd/
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/peertube
|
|
$(INSTALL_DATA) ./htdocs/luci-static/resources/view/peertube/overview.js $(1)/www/luci-static/resources/view/peertube/
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources/peertube
|
|
$(INSTALL_DATA) ./htdocs/luci-static/resources/peertube/api.js $(1)/www/luci-static/resources/peertube/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,luci-app-peertube))
|