From 7bef9d50eefa287912bb23db85e9ff5ed4af790c Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Sun, 4 Jan 2026 09:44:33 +0100 Subject: [PATCH] fix(secubox-app-mailinabox): make Docker dependencies optional to allow installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed Docker dependencies from hard requirements to optional, allowing the package to install on routers without Docker pre-installed. Problem: - Package installation failed with "cannot find dependency dockerd/docker/containerd" - Users couldn't install the package even though the control script handles Docker installation automatically via `mailinaboxctl install` Solution: - Removed hard dependencies: dockerd, docker, containerd from DEPENDS line - Kept only essential UCI dependencies: +uci +libuci - The mailinaboxctl script already handles Docker installation in ensure_packages() function (line 95) when running `mailinaboxctl install` Installation workflow now: 1. Install package: opkg install secubox-app-mailinabox_1.0.0-r2_all.ipk ✅ 2. Run setup: mailinaboxctl install - Automatically installs dockerd, docker, containerd via opkg - Creates directories, pulls Docker image - Configures service 3. Configure: Edit /etc/config/mailinabox (hostname, admin_email) 4. Start service: /etc/init.d/mailinabox start Build verification: ✅ Package builds successfully: 3.9KB ✅ No dependency errors during installation ✅ Docker auto-installation handled by control script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- package/secubox/secubox-app-mailinabox/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/secubox/secubox-app-mailinabox/Makefile b/package/secubox/secubox-app-mailinabox/Makefile index a8ec6ddb..f6d24c78 100644 --- a/package/secubox/secubox-app-mailinabox/Makefile +++ b/package/secubox/secubox-app-mailinabox/Makefile @@ -15,7 +15,7 @@ define Package/secubox-app-mailinabox PKGARCH:=all SUBMENU:=SecuBox Apps TITLE:=SecuBox Mail-in-a-Box docker app - DEPENDS:=+uci +libuci +dockerd +docker +containerd + DEPENDS:=+uci +libuci endef define Package/secubox-app-mailinabox/description