secubox-openwrt/package/secubox/secubox-app-exposure/Makefile
CyberMind-FR 7566014096 fix(exposure): Fix RPCD subshell issues and api.js baseclass
- RPCD: Use temp file for scan to avoid pipe subshell issues
- api.js: Use baseclass.extend() for proper LuCI module pattern
- Menu: Remove UCI dependency that caused 404
- Makefile: Make haproxy/tor optional dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 16:19:04 +01:00

43 lines
1003 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
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))