🐶 Sync 2025-11-02 14:26:26

This commit is contained in:
actions-user
2025-11-02 14:26:26 +08:00
parent 64bcc56c2a
commit ac011db799
1557 changed files with 746465 additions and 0 deletions

46
unishare/Makefile Normal file
View File

@@ -0,0 +1,46 @@
#
# Copyright (C) 2022 jjm2473 <jjm2473@gmail.com>
#
# This is free software, licensed under the MIT License.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=unishare
PKG_VERSION:=1.1.0
PKG_RELEASE:=1
PKG_MAINTAINER:=jjm2473 <jjm2473@gmail.com>
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
SUBMENU:=File Transfer
TITLE:=Unified Network Shares Manager
DEPENDS:=+samba4-server +webdav2
PKGARCH:=all
endef
define Package/$(PKG_NAME)/description
Configure samba, webdav (maybe more?) in one app
endef
define Package/$(PKG_NAME)/conffiles
/etc/config/unishare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/config
$(INSTALL_BIN) ./files/unishare.init $(1)/etc/init.d/unishare
$(INSTALL_CONF) ./files/unishare.config $(1)/etc/config/unishare
endef
$(eval $(call BuildPackage,$(PKG_NAME)))