secubox-openwrt/package/secubox/secubox-console/Makefile
CyberMind-FR 9ddf5a4e0b 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>
2026-03-18 18:01:51 +01:00

36 lines
926 B
Makefile

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))