fix(build): Fix 16 failed packages with missing Build/Compile and URL config

- 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>
This commit is contained in:
CyberMind-FR 2026-03-18 18:01:51 +01:00
parent dd18e5c4aa
commit 9ddf5a4e0b
18 changed files with 83 additions and 4 deletions

View File

@ -20,6 +20,9 @@ define Package/luci-app-config-vault
PKGARCH:=all PKGARCH:=all
endef endef
define Build/Compile
endef
define Package/luci-app-config-vault/install define Package/luci-app-config-vault/install
$(INSTALL_DIR) $(1)/usr/libexec/rpcd $(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.config-vault $(1)/usr/libexec/rpcd/ $(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.config-vault $(1)/usr/libexec/rpcd/

View File

@ -15,3 +15,5 @@ LUCI_PKGARCH:=all
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.interceptor:root:root:755 PKG_FILE_MODES:=/usr/libexec/rpcd/luci.interceptor:root:root:755
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk
$(eval $(call BuildPackage,luci-app-interceptor))

View File

@ -23,7 +23,7 @@ define Package/luci-app-master-link/install
$(INSTALL_DATA) ./htdocs/luci-static/resources/view/secubox/master-link.js $(1)/www/luci-static/resources/view/secubox/ $(INSTALL_DATA) ./htdocs/luci-static/resources/view/secubox/master-link.js $(1)/www/luci-static/resources/view/secubox/
$(INSTALL_DIR) $(1)/usr/libexec/rpcd $(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.master_link $(1)/usr/libexec/rpcd/ $(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.master-link $(1)/usr/libexec/rpcd/
endef endef
$(eval $(call BuildPackage,luci-app-master-link)) $(eval $(call BuildPackage,luci-app-master-link))

View File

@ -27,6 +27,9 @@ define Package/secubox-app-backup/conffiles
/etc/config/backup /etc/config/backup
endef endef
define Build/Compile
endef
define Package/secubox-app-backup/install define Package/secubox-app-backup/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/backup $(1)/etc/config/backup $(INSTALL_CONF) ./files/etc/config/backup $(1)/etc/config/backup

View File

@ -0,0 +1,3 @@
# SecuBox Backup Cron Job
# Runs daily backup at 3:00 AM
0 3 * * * root /usr/sbin/secubox-backup auto >/dev/null 2>&1

View File

@ -24,6 +24,9 @@ define Package/secubox-app-config-vault/description
Provides audit trail for certification compliance. Provides audit trail for certification compliance.
endef endef
define Build/Compile
endef
define Package/secubox-app-config-vault/install define Package/secubox-app-config-vault/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/config-vault $(1)/etc/config/ $(INSTALL_CONF) ./files/etc/config/config-vault $(1)/etc/config/

View File

@ -22,6 +22,9 @@ define Package/secubox-app-gotosocial/description
Provides a self-hosted Fediverse instance with LuCI management. Provides a self-hosted Fediverse instance with LuCI management.
endef endef
define Build/Compile
endef
define Package/secubox-app-gotosocial/install define Package/secubox-app-gotosocial/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/gotosocial $(1)/etc/config/gotosocial $(INSTALL_CONF) ./files/etc/config/gotosocial $(1)/etc/config/gotosocial

View File

@ -28,6 +28,9 @@ define Package/secubox-app-ipblocklist/conffiles
/etc/ipblocklist/whitelist.txt /etc/ipblocklist/whitelist.txt
endef endef
define Build/Compile
endef
define Package/secubox-app-ipblocklist/install define Package/secubox-app-ipblocklist/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/ipblocklist $(1)/etc/config/ipblocklist $(INSTALL_CONF) ./files/etc/config/ipblocklist $(1)/etc/config/ipblocklist

View File

@ -29,6 +29,9 @@ define Package/secubox-app-ksmbd/conffiles
/etc/config/secubox-ksmbd /etc/config/secubox-ksmbd
endef endef
define Build/Compile
endef
define Package/secubox-app-ksmbd/install define Package/secubox-app-ksmbd/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/secubox-ksmbd $(1)/etc/config/secubox-ksmbd $(INSTALL_CONF) ./files/etc/config/secubox-ksmbd $(1)/etc/config/secubox-ksmbd

View File

@ -19,6 +19,9 @@ define Package/secubox-app-qbittorrent/description
Features web UI, RSS, search plugins, and API. Features web UI, RSS, search plugins, and API.
endef endef
define Build/Compile
endef
define Package/secubox-app-qbittorrent/install define Package/secubox-app-qbittorrent/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/qbittorrent $(1)/etc/config/ $(INSTALL_CONF) ./files/etc/config/qbittorrent $(1)/etc/config/

View File

@ -55,9 +55,9 @@ define Package/secubox-app-repo/postinst
# Configure opkg custom feed # Configure opkg custom feed
cat > /etc/opkg/customfeeds.conf << FEEDS cat > /etc/opkg/customfeeds.conf << FEEDS
# SecuBox Package Repository (local) # SecuBox Package Repository
src secubox_luci http://192.168.255.1:8888/luci/$${ARCH} src/gz secubox_luci https://repo.secubox.in/luci/$${ARCH}
src secubox_packages http://192.168.255.1:8888/packages/$${ARCH} src/gz secubox_packages https://repo.secubox.in/packages/$${ARCH}
FEEDS FEEDS
# Start services # Start services

View File

@ -24,6 +24,9 @@ define Package/secubox-app-talk-hpb/description
Runs as Docker container with automatic configuration. Runs as Docker container with automatic configuration.
endef endef
define Build/Compile
endef
define Package/secubox-app-talk-hpb/install define Package/secubox-app-talk-hpb/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/talk-hpb $(1)/etc/config/talk-hpb $(INSTALL_CONF) ./files/etc/config/talk-hpb $(1)/etc/config/talk-hpb

View File

@ -27,6 +27,9 @@ define Package/secubox-app-vhost-manager/conffiles
/etc/config/vhosts /etc/config/vhosts
endef endef
define Build/Compile
endef
define Package/secubox-app-vhost-manager/install define Package/secubox-app-vhost-manager/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/vhosts $(1)/etc/config/vhosts $(INSTALL_CONF) ./files/etc/config/vhosts $(1)/etc/config/vhosts

View File

@ -19,6 +19,9 @@ define Package/secubox-app-webtorrent/description
Stream torrents directly in the browser via WebRTC. Stream torrents directly in the browser via WebRTC.
endef endef
define Build/Compile
endef
define Package/secubox-app-webtorrent/install define Package/secubox-app-webtorrent/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/webtorrent $(1)/etc/config/ $(INSTALL_CONF) ./files/etc/config/webtorrent $(1)/etc/config/

View File

@ -20,6 +20,9 @@ define Package/secubox-avatar-tap/description
Designed to work with Nitrokey/GPG for secure session management. Designed to work with Nitrokey/GPG for secure session management.
endef endef
define Build/Compile
endef
define Package/secubox-avatar-tap/install define Package/secubox-avatar-tap/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/avatar-tap $(1)/etc/config/avatar-tap $(INSTALL_CONF) ./files/etc/config/avatar-tap $(1)/etc/config/avatar-tap

View File

@ -0,0 +1,35 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-console
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=SecuBox <secubox@gk2.net>
PKG_LICENSE:=GPL-3.0
include $(INCLUDE_DIR)/package.mk
define Package/secubox-console
SECTION:=secubox
CATEGORY:=SecuBox
TITLE:=SecuBox Remote Management Console
DEPENDS:=+python3-light
PKGARCH:=all
endef
define Package/secubox-console/description
CLI-focused remote management tool for SecuBox devices.
Provides secubox_console.py for multi-device management
and secubox_frontend.py for modern TUI dashboard.
endef
define Build/Compile
endef
define Package/secubox-console/install
$(INSTALL_DIR) $(1)/usr/lib/secubox-console
$(INSTALL_DATA) ./root/usr/lib/secubox-console/secubox_console.py $(1)/usr/lib/secubox-console/
$(INSTALL_DATA) ./root/usr/lib/secubox-console/secubox_frontend.py $(1)/usr/lib/secubox-console/
endef
$(eval $(call BuildPackage,secubox-console))

View File

@ -19,6 +19,9 @@ define Package/secubox-core-users/description
Synchronizes users across Nextcloud, PeerTube, Matrix, Jabber, and Email. Synchronizes users across Nextcloud, PeerTube, Matrix, Jabber, and Email.
endef endef
define Build/Compile
endef
define Package/secubox-core-users/install define Package/secubox-core-users/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/secubox-users $(1)/etc/config/secubox-users $(INSTALL_CONF) ./files/etc/config/secubox-users $(1)/etc/config/secubox-users

View File

@ -29,6 +29,9 @@ define Package/secubox-dpi-dual/conffiles
/etc/config/dpi-dual /etc/config/dpi-dual
endef endef
define Build/Compile
endef
define Package/secubox-dpi-dual/install define Package/secubox-dpi-dual/install
$(INSTALL_DIR) $(1)/etc/config $(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/dpi-dual $(1)/etc/config/ $(INSTALL_CONF) ./files/etc/config/dpi-dual $(1)/etc/config/