New secubox-app-smbfs package for SMB/CIFS remote directory management with smbfsctl CLI (add/remove/mount/umount/test/status), UCI config, auto-mount init script, and Jellyfin/Lyrion media path integration. Glances LXC: host bind mounts (/rom, /overlay, /boot, /srv), Docker socket fix (symlink loop), fs plugin @exit_after patch, hostname/OS identity, pre-generated /etc/mtab. KISS READMEs for secubox-app-jellyfin and luci-app-jellyfin. Planning files updated with Domoticz IoT, AI Gateway strategy, App Store P2P emancipation, and v2 roadmap items. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-smbfs
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
PKG_ARCH:=all
|
|
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_FLAGS:=nonshared
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-smbfs
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
PKGARCH:=all
|
|
SUBMENU:=SecuBox Apps
|
|
TITLE:=SecuBox SMB/CIFS remote mount manager
|
|
DEPENDS:=+kmod-fs-cifs +cifsmount
|
|
endef
|
|
|
|
define Package/secubox-app-smbfs/description
|
|
SMB/CIFS remote directory mount manager for SecuBox. Manages shared
|
|
network mounts for media servers (Jellyfin, Lyrion), backups, and
|
|
general-purpose remote storage over SMB/CIFS protocol.
|
|
endef
|
|
|
|
define Package/secubox-app-smbfs/conffiles
|
|
/etc/config/smbfs
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-smbfs/install
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/smbfs $(1)/etc/config/smbfs
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/etc/init.d/smbfs $(1)/etc/init.d/smbfs
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/smbfsctl $(1)/usr/sbin/smbfsctl
|
|
endef
|
|
|
|
define Package/secubox-app-smbfs/postinst
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] || {
|
|
echo ""
|
|
echo "============================================"
|
|
echo " SecuBox SMB/CIFS Mount Manager Installed"
|
|
echo "============================================"
|
|
echo ""
|
|
echo "Quick Start:"
|
|
echo " 1. Add share: smbfsctl add myshare //server/share /mnt/smb/myshare"
|
|
echo " 2. Set creds: smbfsctl credentials myshare user password"
|
|
echo " 3. Mount: smbfsctl mount myshare"
|
|
echo " 4. Auto-mount: smbfsctl enable myshare"
|
|
echo ""
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-smbfs))
|