- include $(TOPDIR)/rules.mk
-
- PKG_NAME:=ksmbd
- PKG_VERSION:=3.1.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:=5cf00902b77206a56f20b8ec499aea061292a15003bbdd8194fcb2299fb2343e
-
- PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
- PKG_LICENSE:=GPL-2.0-or-later
- PKG_LICENSE_FILES:=COPYING
-
- include $(INCLUDE_DIR)/kernel.mk
- include $(INCLUDE_DIR)/package.mk
-
- define KernelPackage/fs-ksmbd
- SUBMENU:=Filesystems
- TITLE:=SMB kernel server support
- URL:=https://github.com/cifsd-team/ksmbd
- FILES:=$(PKG_BUILD_DIR)/ksmbd.ko
- DEPENDS:= \
- +kmod-nls-base \
- +kmod-nls-utf8 \
- +kmod-crypto-md4 \
- +kmod-crypto-md5 \
- +kmod-crypto-hmac \
- +kmod-crypto-arc4 \
- +kmod-crypto-ecb \
- +kmod-crypto-des \
- +kmod-crypto-sha256 \
- +kmod-crypto-cmac \
- +kmod-crypto-sha512 \
- +kmod-crypto-aead \
- +kmod-crypto-ccm \
- +kmod-crypto-gcm
- endef
-
- define KernelPackage/fs-ksmbd/description
- Ksmbd is an In-kernel SMB2/3 fileserver.
- It's an implementation of the SMB protocol in kernel space for sharing files and IPC services over network.
- endef
-
- define Build/Compile
- $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" \
- EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
- CONFIG_SMB_SERVER=m \
- modules
- endef
-
- $(eval $(call KernelPackage,fs-ksmbd))
|