diff --git a/net/ksmbd-tools/Makefile b/net/ksmbd-tools/Makefile index 4c1b85663b..5721ebe7ce 100644 --- a/net/ksmbd-tools/Makefile +++ b/net/ksmbd-tools/Makefile @@ -1,12 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ksmbd-tools -PKG_VERSION:=3.5.2 PKG_RELEASE:=1 +PKG_VERSION:=3.5.2 +PKG_RELEASE:=20240407 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/cifsd-team/ksmbd-tools/releases/download/$(PKG_VERSION) -PKG_HASH:=5da7fb4cb4368f9abf56f6f9fbc17b25e387876bed9ff7ee0d6f1140ef07c8d7 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/ptpt52/ksmbd-tools/tar.gz/$(PKG_RELEASE)? +PKG_HASH:=4ffdc4aa525bbb938f472ba0de8fe1a8fee661b35fbd045fa2d12e6ffa1d3e6f PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING @@ -18,6 +19,9 @@ include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/meson.mk +TAR_OPTIONS+= --strip-components 1 +TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) + define Package/ksmbd-tools/Default SECTION:=net CATEGORY:=Network diff --git a/net/ksmbd-tools/files/ksmbd.init b/net/ksmbd-tools/files/ksmbd.init index a14183d585..40426bdccc 100644 --- a/net/ksmbd-tools/files/ksmbd.init +++ b/net/ksmbd-tools/files/ksmbd.init @@ -14,7 +14,7 @@ config_get_sane() smb_header() { - config_get_sane SMBD_IFACE "$1" interface "lan" + config_get_sane SMBD_IFACE "$1" interface "" # resolve interfaces interfaces=$( diff --git a/net/ksmbd-tools/patches/030-glib.patch b/net/ksmbd-tools/patches/030-glib.patch deleted file mode 100644 index 49809e9c60..0000000000 --- a/net/ksmbd-tools/patches/030-glib.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -21,6 +21,7 @@ include_dirs = include_directories( - glib_dep = dependency( - 'glib-2.0', - version: '>= 2.44', -+ static: true, - ) - libnl_dep = dependency( - 'libnl-genl-3.0',