You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=cifsd
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL:=https://github.com/cifsd-team/cifsd.git
  6. PKG_SOURCE_DATE:=2019-11-27
  7. PKG_SOURCE_VERSION:=b8675c8ac144ece00f3e6bcc5436c8ace99e23e9
  8. PKG_MIRROR_HASH:=3d67af87f30d837f95510663efc42f1451651dc235987408924b56cb277fc8e8
  9. PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
  10. PKG_LICENSE:=GPL-2.0-or-later
  11. PKG_LICENSE_FILES:=COPYING
  12. include $(INCLUDE_DIR)/kernel.mk
  13. include $(INCLUDE_DIR)/package.mk
  14. define KernelPackage/fs-cifsd
  15. SUBMENU:=Filesystems
  16. TITLE:=CIFS/SMB kernel server support
  17. URL:=https://github.com/cifsd-team/cifsd
  18. FILES:=$(PKG_BUILD_DIR)/cifsd.ko
  19. DEPENDS:= \
  20. +kmod-nls-base \
  21. +kmod-nls-utf8 \
  22. +kmod-crypto-md4 \
  23. +kmod-crypto-md5 \
  24. +kmod-crypto-hmac \
  25. +kmod-crypto-ecb \
  26. +kmod-crypto-des \
  27. +kmod-crypto-sha256 \
  28. +kmod-crypto-cmac \
  29. +kmod-crypto-sha512 \
  30. +kmod-crypto-aead \
  31. +kmod-crypto-ccm
  32. endef
  33. define KernelPackage/fs-cifsd/description
  34. Kernel module for a CIFS/SMBv2,3 fileserver.
  35. endef
  36. # broken atm (needs CONFIG_KEYS=y)
  37. #EXTRA_CFLAGS+=-DCONFIG_CIFSD_ACL
  38. define Build/Compile
  39. $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" \
  40. EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
  41. CONFIG_CIFS_SERVER=m \
  42. modules
  43. endef
  44. $(eval $(call KernelPackage,fs-cifsd))