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:
parent
dd18e5c4aa
commit
9ddf5a4e0b
@ -20,6 +20,9 @@ define Package/luci-app-config-vault
|
||||
PKGARCH:=all
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-config-vault/install
|
||||
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
||||
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.config-vault $(1)/usr/libexec/rpcd/
|
||||
|
||||
@ -15,3 +15,5 @@ LUCI_PKGARCH:=all
|
||||
PKG_FILE_MODES:=/usr/libexec/rpcd/luci.interceptor:root:root:755
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-interceptor))
|
||||
|
||||
@ -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_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
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-master-link))
|
||||
|
||||
@ -27,6 +27,9 @@ define Package/secubox-app-backup/conffiles
|
||||
/etc/config/backup
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-backup/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/backup $(1)/etc/config/backup
|
||||
|
||||
@ -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
|
||||
@ -24,6 +24,9 @@ define Package/secubox-app-config-vault/description
|
||||
Provides audit trail for certification compliance.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-config-vault/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/config-vault $(1)/etc/config/
|
||||
|
||||
@ -22,6 +22,9 @@ define Package/secubox-app-gotosocial/description
|
||||
Provides a self-hosted Fediverse instance with LuCI management.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-gotosocial/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/gotosocial $(1)/etc/config/gotosocial
|
||||
|
||||
@ -28,6 +28,9 @@ define Package/secubox-app-ipblocklist/conffiles
|
||||
/etc/ipblocklist/whitelist.txt
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-ipblocklist/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/ipblocklist $(1)/etc/config/ipblocklist
|
||||
|
||||
@ -29,6 +29,9 @@ define Package/secubox-app-ksmbd/conffiles
|
||||
/etc/config/secubox-ksmbd
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-ksmbd/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/secubox-ksmbd $(1)/etc/config/secubox-ksmbd
|
||||
|
||||
@ -19,6 +19,9 @@ define Package/secubox-app-qbittorrent/description
|
||||
Features web UI, RSS, search plugins, and API.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-qbittorrent/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/qbittorrent $(1)/etc/config/
|
||||
|
||||
@ -55,9 +55,9 @@ define Package/secubox-app-repo/postinst
|
||||
|
||||
# Configure opkg custom feed
|
||||
cat > /etc/opkg/customfeeds.conf << FEEDS
|
||||
# SecuBox Package Repository (local)
|
||||
src secubox_luci http://192.168.255.1:8888/luci/$${ARCH}
|
||||
src secubox_packages http://192.168.255.1:8888/packages/$${ARCH}
|
||||
# SecuBox Package Repository
|
||||
src/gz secubox_luci https://repo.secubox.in/luci/$${ARCH}
|
||||
src/gz secubox_packages https://repo.secubox.in/packages/$${ARCH}
|
||||
FEEDS
|
||||
|
||||
# Start services
|
||||
|
||||
@ -24,6 +24,9 @@ define Package/secubox-app-talk-hpb/description
|
||||
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
|
||||
|
||||
@ -27,6 +27,9 @@ define Package/secubox-app-vhost-manager/conffiles
|
||||
/etc/config/vhosts
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-vhost-manager/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/vhosts $(1)/etc/config/vhosts
|
||||
|
||||
@ -19,6 +19,9 @@ define Package/secubox-app-webtorrent/description
|
||||
Stream torrents directly in the browser via WebRTC.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-app-webtorrent/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/webtorrent $(1)/etc/config/
|
||||
|
||||
@ -20,6 +20,9 @@ define Package/secubox-avatar-tap/description
|
||||
Designed to work with Nitrokey/GPG for secure session management.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-avatar-tap/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/avatar-tap $(1)/etc/config/avatar-tap
|
||||
|
||||
35
package/secubox/secubox-console/Makefile
Normal file
35
package/secubox/secubox-console/Makefile
Normal 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))
|
||||
@ -19,6 +19,9 @@ define Package/secubox-core-users/description
|
||||
Synchronizes users across Nextcloud, PeerTube, Matrix, Jabber, and Email.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-core-users/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/secubox-users $(1)/etc/config/secubox-users
|
||||
|
||||
@ -29,6 +29,9 @@ define Package/secubox-dpi-dual/conffiles
|
||||
/etc/config/dpi-dual
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/secubox-dpi-dual/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/etc/config/dpi-dual $(1)/etc/config/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user