include $(TOPDIR)/rules.mk
PKG_NAME:=cifs-utils
-PKG_VERSION:=6.11
+PKG_VERSION:=7.5
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.samba.org/pub/linux-cifs/cifs-utils/
-PKG_HASH:=b859239a3f204f8220d3e54ed43bf8109e1ef202042dd87ba87492f8878728d9
+PKG_HASH:=7face85e3d2d5eb5e7adbd181adee6759097f135b10d6fb30be8e070af7e7054
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
SECTION:=net
CATEGORY:=Network
SUBMENU:=Filesystem
- DEPENDS:=+kmod-fs-cifs
+ DEPENDS:=+kmod-fs-cifs +libtalloc
TITLE:=CIFS mount
URL:=https://wiki.samba.org/index.php/LinuxCIFS_utils
endef
define Package/smbinfo
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+kmod-fs-cifs
+ DEPENDS:=+kmod-fs-cifs +libtalloc
TITLE:=SMB info
URL:=https://wiki.samba.org/index.php/LinuxCIFS_utils
endef
CONFIGURE_ARGS += \
ac_cv_lib_cap_ng_capng_clear=no
-TARGET_CFLAGS += $(FPIC) -ffunction-sections
+TARGET_CFLAGS += $(FPIC) -ffunction-sections -I$(STAGING_DIR)/usr/include
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
define Build/InstallDev
+++ /dev/null
---- a/data_blob.h
-+++ b/data_blob.h
-@@ -23,7 +23,7 @@
- #ifndef _SAMBA_DATABLOB_H_
- #define _SAMBA_DATABLOB_H_
-
--#include <talloc.h>
-+//#include <talloc.h>
- #include <stdint.h>
-
- /* used to hold an arbitrary blob of data */
--- a/Makefile.am
+++ b/Makefile.am
-@@ -119,10 +119,8 @@ endif
+@@ -121,11 +121,9 @@ endif
SUBDIRS = contrib
- install-exec-hook:
-- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
+ install-exec-hook: install-sbinPROGRAMS
+- (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
install-data-hook:
-- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+ if CONFIG_MAN
+- ( cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
+ endif
uninstall-hook:
- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)