- Add missing 'define Build/Compile' to script-only packages: - secubox-app-config-vault - secubox-app-gotosocial - secubox-app-ipblocklist - secubox-app-ksmbd - secubox-app-qbittorrent - secubox-app-talk-hpb - secubox-app-vhost-manager - secubox-app-webtorrent - secubox-avatar-tap - secubox-core-users - secubox-dpi-dual - secubox-app-backup - Fix luci-app-interceptor: Add missing BuildPackage call - Fix luci-app-master-link: Correct RPCD handler filename (underscore → dash) - Fix luci-app-config-vault: Add Build/Compile definition - Create secubox-console Makefile (new package for remote management) - Create secubox-app-backup cron job file - Update secubox-app-repo: Change feed URLs from local IP (192.168.255.1:8888) to repo.secubox.in domain with HTTPS and proper src/gz format Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-talk-hpb
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=SecuBox <contact@secubox.in>
|
|
PKG_LICENSE:=GPL-3.0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-talk-hpb
|
|
SECTION:=secubox
|
|
CATEGORY:=SecuBox
|
|
TITLE:=Nextcloud Talk High Performance Backend
|
|
DEPENDS:=+docker +curl +openssl-util
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/secubox-app-talk-hpb/description
|
|
Nextcloud Talk High Performance Backend for SecuBox.
|
|
Provides signaling server and Janus WebRTC gateway for
|
|
improved video/audio call quality in Nextcloud Talk.
|
|
Runs as Docker container with automatic configuration.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-talk-hpb/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/talk-hpb $(1)/etc/config/talk-hpb
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/etc/init.d/talk-hpb $(1)/etc/init.d/talk-hpb
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/talk-hpbctl $(1)/usr/sbin/talk-hpbctl
|
|
endef
|
|
|
|
define Package/secubox-app-talk-hpb/postinst
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
# Generate secrets if not set
|
|
/usr/sbin/talk-hpbctl generate-secrets 2>/dev/null || true
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-talk-hpb))
|