@ -1,33 +1,36 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := ksmbd-tools
PKG_VERSION := 3.1.0
PKG_RELEASE := 2
PKG_VERSION := 3.2.1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/cifsd-team/$( PKG_NAME) /archive/$( PKG_VERSION) /
PKG_HASH := 7a01b327028cb52824a394dc2c4e706d15145b823fd0ff399c359f7a4c991c4a
PKG_SOURCE_URL := https://github.com/cifsd-team/cifsd-tools /archive/$( PKG_VERSION) /
PKG_HASH := acb4d97cbb0b22ad42ed1536bdd2c28af2a3c698664c058da59a644d5e6df599
PKG_MAINTAINER := Andy Walsh <andy.walsh44+github@gmail.com>
PKG_LICENSE := GPL-2.0-or-later
PKG_LICENSE_FILES := COPYING
PKG_FIXUP := autoreconf
PKG_REMOVE_FILES := autogen.sh
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
PKG_REMOVE_FILES := autogen.sh
PKG_BUILD_DEPENDS := glib2
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
TAR_OPTIONS += --strip-components 1
TAR_CMD = $( HOST_TAR) -C $( 1) $( TAR_OPTIONS)
d e f i n e P a c k a g e / k s m b d - t o o l s / D e f a u l t
SECTION:= net
CATEGORY:= Network
SUBMENU:= Filesystem
TITLE:= Kernel SMB
URL:= https://github.com/cifsd-team/ksmb d-tools
URL:= https://github.com/cifsd-team/cifs d-tools
DEPENDS:= $( ICONV_DEPENDS) $( INTL_DEPENDS)
e n d e f
@ -43,7 +46,7 @@ define Package/ksmbd-server
e n d e f
d e f i n e P a c k a g e / k s m b d - s e r v e r / d e s c r i p t i o n
installs: usmb d
installs: ksmbd.mount d
This provides the basic fileserver service and is the minimum needed to serve 'guest only' file shares or use a existing user database file ksmbdpwd.db.
e n d e f
@ -58,7 +61,7 @@ define Package/ksmbd-utils
e n d e f
d e f i n e P a c k a g e / k s m b d - u t i l s / d e s c r i p t i o n
installs: smbuseradd ( smbshareadd )
installs: k smbd.add user ( k smbd.add share)
Tool needed to create the ksmbdpwd.db, to manage per user share passwords.
NOTE: Not needed for 'guest only' shares.
@ -66,17 +69,17 @@ endef
d e f i n e P a c k a g e / k s m b d - u t i l s / c o n f i g
config KSMBD_UTILS_SHAREADD
bool "Add smbshareadd util"
bool "Add k smbd.add share util"
depends on PACKAGE_ksmbd-utils
help
Add the smbshareadd tool, to directly manipulate the /etc/ksmbd/smb.conf.
Add the k smbd.add share tool, to directly manipulate the /etc/ksmbd/smb.conf.
default n
e n d e f
d e f i n e P a c k a g e / k s m b d - a v a h i - s e r v i c e
$( call Package/ksmbd-tools/Default)
TITLE += ( Avahi service)
DEPENDS += +avahi-daemon
DEPENDS:= +avahi-daemon
e n d e f
d e f i n e P a c k a g e / k s m b d - a v a h i - s e r v i c e / d e s c r i p t i o n
@ -97,7 +100,7 @@ TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed -liconv $(if $(INTL_FULL),-lintl
d e f i n e P a c k a g e / k s m b d - s e r v e r / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/usmb d $( 1) /usr/sbin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/ksmbd.mount d $( 1) /usr/sbin/
$( INSTALL_DIR) $( 1) /etc/config $( 1) /etc/ksmbd $( 1) /etc/init.d
$( INSTALL_CONF) ./files/ksmbd.config $( 1) /etc/config/ksmbd
$( INSTALL_DATA) ./files/smb.conf.template $( 1) /etc/ksmbd/
@ -109,9 +112,9 @@ endef
d e f i n e P a c k a g e / k s m b d - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/smbuseradd $( 1) /usr/sbin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/k smbd.add user $( 1) /usr/sbin/
i f e q ( $( CONFIG_KSMBD_UTILS_SHAREADD ) , y )
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/smbshareadd $( 1) /usr/sbin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/sbin/k smbd.add share $( 1) /usr/sbin/
e n d i f
e n d e f