secubox-openwrt/package/secubox/secubox-app-mailserver/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
713 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-mailserver
PKG_VERSION:=2.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=SecuBox <info@secubox.in>
PKG_LICENSE:=AGPL-3.0
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=secubox
CATEGORY:=SecuBox
SUBMENU:=Apps
TITLE:=SecuBox Mail Server (LXC)
DEPENDS:=+lxc +curl +openssl-util
PKGARCH:=all
endef
define Package/$(PKG_NAME)/description
Postfix + Dovecot mail server running in LXC container.
Supports IMAP/SMTP with SSL/TLS.
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/mailserverctl $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))