New unified tool for service exposure management: - Port conflict detection and resolution (scan, conflicts, fix-port) - Dynamic Tor hidden service management (tor add/list/remove) - HAProxy SSL reverse proxy configuration (ssl add/list/remove) Commands: secubox-exposure scan # List listening services secubox-exposure conflicts # Detect port collisions secubox-exposure tor add gitea # Create .onion for service secubox-exposure ssl add svc domain # Add HAProxy SSL backend Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
43 lines
1017 B
Makefile
43 lines
1017 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-exposure
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=SecuBox Team <contact@secubox.dev>
|
|
PKG_LICENSE:=MIT
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-exposure
|
|
SECTION:=secubox
|
|
CATEGORY:=SecuBox
|
|
TITLE:=SecuBox Service Exposure Manager
|
|
DEPENDS:=+secubox-core +tor +haproxy
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/secubox-app-exposure/description
|
|
Unified service exposure manager for SecuBox.
|
|
- Port conflict detection and resolution
|
|
- Dynamic Tor hidden service management
|
|
- HAProxy SSL reverse proxy configuration
|
|
endef
|
|
|
|
define Package/secubox-app-exposure/conffiles
|
|
/etc/config/secubox-exposure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-exposure/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/secubox-exposure $(1)/etc/config/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/secubox-exposure $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-exposure))
|