cifs-utils: Update to version 7.4

Message ID 20250710074429.4452-1-adolf.belka@ipfire.org
State Staged
Commit 81b94e19858e16fb7e04779001e4725daf0d453d
Headers
Series cifs-utils: Update to version 7.4 |

Commit Message

Adolf Belka July 10, 2025, 7:44 a.m. UTC
  - Update fropm version 7.3 to 7.4
- Update of rootfile
- According to Linux From Scratch cifs-utils-7.4 requires the autoreconf to work with
   gcc-15. Certainly without it the build failed.
- Changelog
    7.4
      mount.cifs: retry mount on -EINPROGRESS
      cifs.upcall: correctly treat UPTARGET_UNSPECIFIED as UPTARGET_APP
      cifs.upcall: fix memory leaks in check_service_ticket_exits()
      getcifsacl, setcifsacl: use <libgen.h> for basename
      cifscreds: use <libgen.h> for basename

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/cifs-utils | 14 +++++++-------
 lfs/cifs-utils                       | 12 ++++++++----
 2 files changed, 15 insertions(+), 11 deletions(-)
  

Patch

diff --git a/config/rootfiles/packages/cifs-utils b/config/rootfiles/packages/cifs-utils
index fe8109a62..9fbafa410 100644
--- a/config/rootfiles/packages/cifs-utils
+++ b/config/rootfiles/packages/cifs-utils
@@ -1,9 +1,9 @@ 
 sbin/mount.cifs
 sbin/mount.smb3
-#usr/local/bin/smb2-quota
-#usr/local/bin/smbinfo
-#usr/local/include/cifsidmap.h
-#usr/local/share/man/man1/smb2-quota.1
-#usr/local/share/man/man1/smbinfo.1
-#usr/local/share/man/man8/mount.cifs.8
-#usr/local/share/man/man8/mount.smb3.8
+#usr/bin/smb2-quota
+#usr/bin/smbinfo
+#usr/include/cifsidmap.h
+#usr/share/man/man1/smb2-quota.1
+#usr/share/man/man1/smbinfo.1
+#usr/share/man/man8/mount.cifs.8
+#usr/share/man/man8/mount.smb3.8
diff --git a/lfs/cifs-utils b/lfs/cifs-utils
index 068abee04..22330de9e 100644
--- a/lfs/cifs-utils
+++ b/lfs/cifs-utils
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = Utilities for doing and managing mounts of the Linux CIFS filesystem
 
-VER        = 7.3
+VER        = 7.4
 
 THISAPP    = cifs-utils-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cifs-utils
-PAK_VER    = 7
+PAK_VER    = 8
 
 DEPS       = libtalloc
 
@@ -51,7 +51,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 59cf39ed2bf14d1fff54b6ad3b2fa410dd20b7e49ff9e87a95521d7e72cd4c5fe506f7026db2f42c53f4f79ed8f2492e3aa98b6349b000c7e2457cfea695c94d
+$(DL_FILE)_BLAKE2 = 57e03bb050b2345229dd4e0de22ac7baae7dcf080fba54c1dc339d8ecc6e60254e30feaa160568f8465698769ee513447c77de3bf8b0cd9c234ec4590e8e4270
 
 install : $(TARGET)
 
@@ -85,7 +85,11 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./configure
+	cd $(DIR_APP) && autoreconf -vfi
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--disable-pam \
+				--disable-systemd
 	cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)