P2P App Store Emancipation: - secubox-p2p: Package distribution via mesh peers (CGI API, RPCD, CLI) - packages.js: LuCI view with LOCAL/PEER badges, fetch/install actions - devstatus.js: Dev Status widget with Gitea commits, v1.0 progress tracking - secubox-feed: sync-content command for auto-installing content packages - ACL fix for P2P feed RPCD methods Remote Access: - secubox-app-rustdesk: Native hbbs/hbbr relay server from GitHub releases - secubox-app-guacamole: LXC Debian container with guacd + Tomcat (partial) Content Distribution: - secubox-content-pkg: Auto-package Metablogizer/Streamlit as IPKs - Auto-publish hooks in metablogizerctl and streamlitctl Mesh Media: - secubox-app-ksmbd: In-kernel SMB3 server with ksmbdctl CLI - Pre-configured shares for Jellyfin, Lyrion, Backup UI Consistency: - client-guardian: Ported to sh-page-header chip layout - auth-guardian: Ported to sh-page-header chip layout Fixes: - services.js: RPC expect unwrapping bug fix - metablogizer: Chunked upload for uhttpd 64KB limit Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-ksmbd
|
|
PKG_VERSION:=0.1.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=SecuBox Team
|
|
PKG_LICENSE:=MIT
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-ksmbd
|
|
SECTION:=secubox
|
|
CATEGORY:=SecuBox
|
|
SUBMENU:=Applications
|
|
TITLE:=SecuBox Mesh Media Server (ksmbd)
|
|
DEPENDS:=+ksmbd-server +ksmbd-avahi-service
|
|
PKGARCH:=all
|
|
PKG_FLAGS:=nonshared
|
|
endef
|
|
|
|
define Package/secubox-app-ksmbd/description
|
|
SecuBox wrapper for ksmbd in-kernel SMB3 server.
|
|
Provides mesh media sharing with automatic discovery,
|
|
pre-configured media shares, and P2P integration.
|
|
endef
|
|
|
|
define Package/secubox-app-ksmbd/conffiles
|
|
/etc/config/secubox-ksmbd
|
|
endef
|
|
|
|
define Package/secubox-app-ksmbd/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/secubox-ksmbd $(1)/etc/config/secubox-ksmbd
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/ksmbdctl $(1)/usr/sbin/ksmbdctl
|
|
endef
|
|
|
|
define Package/secubox-app-ksmbd/postinst
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
# Apply default shares on first install
|
|
/usr/sbin/ksmbdctl apply 2>/dev/null || true
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-ksmbd))
|