secubox-openwrt/package/secubox/secubox-app-roundcube/Makefile
CyberMind-FR 2b8fb1cd62 feat(apps): Convert Docker-based apps to LXC
Converted secubox-app-jellyfin, secubox-app-mailserver, and added
secubox-app-roundcube to use LXC containers instead of Docker.

Changes:
- jellyfinctl: Now uses LXC at 192.168.255.31
- mailserverctl: New controller for Alpine LXC with Postfix/Dovecot
- roundcubectl: New package for Roundcube webmail LXC

All controllers support:
- Bootstrap Alpine rootfs using static apk
- LXC configuration generation
- HAProxy integration with waf_bypass
- Start/stop/status commands

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-14 09:07:33 +01:00

35 lines
763 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-roundcube
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=SecuBox <info@secubox.in>
PKG_LICENSE:=AGPL-3.0
include $(INCLUDE_DIR)/package.mk
define Package/secubox-app-roundcube
SECTION:=secubox
CATEGORY:=SecuBox
SUBMENU:=Apps
TITLE:=Roundcube Webmail (LXC)
DEPENDS:=+lxc +curl
PKGARCH:=all
endef
define Package/secubox-app-roundcube/description
Roundcube Webmail running in LXC container with nginx and PHP-FPM.
Provides web-based email client for IMAP servers.
endef
define Build/Compile
endef
define Package/secubox-app-roundcube/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/roundcubectl $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,secubox-app-roundcube))