secubox-openwrt/package/secubox/secubox-vortex-dns/Makefile
CyberMind-FR 223abb1114 feat(vortex-dns): Complete meshed subdomain delegation system
- Add init.d script for daemon mode with procd integration
- Update Makefile to install init script
- Add packages to bonus feed (secubox-vortex-dns, luci-app-vortex-dns)
- Update tracking files with completion status

Features:
- Master/slave hierarchical DNS delegation
- Wildcard domain management (*.domain)
- First Peek auto-registration of services
- Gossip-based exposure config sync via secubox-p2p
- Submastering for nested hierarchies
- LuCI dashboard with mode detection and action buttons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 13:23:18 +01:00

60 lines
1.4 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-vortex-dns
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
PKG_LICENSE:=GPL-3.0
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Package/secubox-vortex-dns
SECTION:=secubox
CATEGORY:=SecuBox
TITLE:=Vortex DNS - Meshed Subdomain Delegation
DEPENDS:=+secubox-app-dns-provider +secubox-p2p +wget +jsonfilter
PKGARCH:=all
endef
define Package/secubox-vortex-dns/description
Meshed multi-dynamic subdomain delegation system for SecuBox.
Features:
- Master/slave hierarchical DNS delegation
- Wildcard domain management (*.domain.com)
- First Peek auto-registration of services
- Gossip-based exposure config sync
- Submastering for nested hierarchies
endef
define Package/secubox-vortex-dns/conffiles
/etc/config/vortex-dns
endef
define Build/Compile
endef
define Package/secubox-vortex-dns/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/etc/config/vortex-dns $(1)/etc/config/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/etc/init.d/vortex-dns $(1)/etc/init.d/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./files/usr/sbin/vortexctl $(1)/usr/sbin/
endef
define Package/secubox-vortex-dns/postinst
#!/bin/sh
[ -n "$${IPKG_INSTROOT}" ] || {
mkdir -p /var/lib/vortex-dns
}
exit 0
endef
$(eval $(call BuildPackage,secubox-vortex-dns))