## New Features - secubox-app-yggdrasil-discovery: Mesh peer discovery via gossip protocol - yggctl CLI: status, self, peers, announce, discover, bootstrap - Auto-peering with trust verification (master-link fingerprint) - Daemon for periodic announcements ## Bug Fixes - tor-shield: Fix opkg downloads failing when Tor active - DNS over Tor disabled by default - Auto-exclude public DNS servers from iptables rules - Excluded domains bypass list (openwrt.org, pool.ntp.org, etc.) - haproxy: Fix portal 503 "End of Internet" error - Corrected malformed vhost backend configuration - Regenerated HAProxy config from UCI - luci-app-nextcloud: Fix users list showing empty - RPC expect clause was extracting array, render expected object ## Updated - Bonus feed: All IPKs rebuilt - Documentation: HISTORY.md, WIP.md, TODO.md updated Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-yggdrasil-discovery
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=SecuBox <support@secubox.in>
|
|
PKG_LICENSE:=MIT
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-yggdrasil-discovery
|
|
SECTION:=secubox
|
|
CATEGORY:=SecuBox
|
|
SUBMENU:=MirrorNet
|
|
TITLE:=Yggdrasil Mesh Peer Discovery
|
|
DEPENDS:=+yggdrasil +secubox-mirrornet +secubox-master-link
|
|
PKGARCH:=all
|
|
PKG_FLAGS:=nonshared
|
|
endef
|
|
|
|
define Package/secubox-app-yggdrasil-discovery/description
|
|
Extended peer discovery for Yggdrasil mesh networks.
|
|
Features:
|
|
- Automatic peer announcement via gossip protocol
|
|
- Trust-verified auto-peering with SecuBox nodes
|
|
- Bootstrap peer list for initial discovery
|
|
- Integration with master-link authentication
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-yggdrasil-discovery/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/yggdrasil-discovery $(1)/etc/config/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/yggctl $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/yggdrasil-discovery
|
|
$(INSTALL_BIN) ./files/usr/lib/yggdrasil-discovery/*.sh $(1)/usr/lib/yggdrasil-discovery/
|
|
endef
|
|
|
|
define Package/secubox-app-yggdrasil-discovery/postinst
|
|
#!/bin/sh
|
|
[ -z "$${IPKG_INSTROOT}" ] && {
|
|
# Add yggdrasil_peer handler to mirrornet gossip
|
|
logger -t yggdrasil-discovery "Yggdrasil peer discovery installed"
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-yggdrasil-discovery))
|