package/cifs-utils: bump to version 7.1

From https://wiki.samba.org/index.php/LinuxCIFS_utils:

- October, 2024: Release 7.1
  LDAP Ping capability
  smbinfo adds gettconinfo command
  Various improvements to man pages
  https://lists.samba.org/archive/samba-technical/2024-October/139146.html
- August, 2022: Release 7.0
  Add GSS-Proxy support
  https://lists.samba.org/archive/samba-technical/2022-August/137528.html

Note: 7.0 was the release immediately after the 6.15 currently in
Buildroot.

One notable change is that this version 7.1 makes libtalloc a
mandatory dependency. Also, a small patch, submitted upstream, is
added to fix the build with musl due to a missing header include.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Thomas Petazzoni
2024-12-26 21:56:20 +01:00
committed by Julien Olivain
parent b3ddad3d51
commit 3f37b67025
4 changed files with 48 additions and 4 deletions

View File

@@ -0,0 +1,38 @@
From 62297e906149f9d2ca7b187a60f7c5ab99ef5dd5 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Thu, 26 Dec 2024 21:39:05 +0100
Subject: [PATCH] cldap_ping.c: add missing <sys/types.h> include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
cldap_ping.c: In function ‘read_dns_string’:
cldap_ping.c:72:37: error: ‘u_char’ undeclared (first use in this function)
when building with the musl C library, but even with glibc u_char is
defined in <sys/types.h>, it happens to work with glibc <sys/types.h>
gets included by another header.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Upstream: https://lore.kernel.org/linux-cifs/20241226204235.2311371-1-thomas.petazzoni@bootlin.com/
---
cldap_ping.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cldap_ping.c b/cldap_ping.c
index 9183b27..a603be3 100644
--- a/cldap_ping.c
+++ b/cldap_ping.c
@@ -20,6 +20,7 @@
#include <talloc.h>
#include <string.h>
#include <sys/socket.h>
+#include <sys/types.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <resolv.h>
--
2.47.0

View File

@@ -1,7 +1,13 @@
comment "cifs-utils needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_CIFS_UTILS
bool "cifs-utils"
# uses fork()
# uses fork(), libtalloc
depends on BR2_USE_MMU
depends on !BR2_STATIC_LIBS # libtalloc
select BR2_PACKAGE_LIBTALLOC
help
The in-kernel CIFS filesystem is generally the preferred
method for mounting SMB/CIFS shares on Linux. The in-kernel

View File

@@ -1,5 +1,5 @@
# Locally calculated after checking pgp signature
sha256 a7b6940e93250c1676a6fa66b6ead91b78cd43a5fee99cc462459c8b9cf1e6f4 cifs-utils-6.15.tar.bz2
sha256 a21123f76a4a6a36c9653189ba4918ebdf3cfcd3f9092730a47ff3450b5b5b2a cifs-utils-7.1.tar.bz2
# Hash for license file:
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING

View File

@@ -4,7 +4,7 @@
#
################################################################################
CIFS_UTILS_VERSION = 6.15
CIFS_UTILS_VERSION = 7.1
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
CIFS_UTILS_LICENSE = GPL-3.0+
@@ -12,7 +12,7 @@ CIFS_UTILS_LICENSE_FILES = COPYING
CIFS_UTILS_CPE_ID_VENDOR = samba
# Missing install-sh in release tarball
CIFS_UTILS_AUTORECONF = YES
CIFS_UTILS_DEPENDENCIES = host-pkgconf
CIFS_UTILS_DEPENDENCIES = host-pkgconf libtalloc
# Let's disable PIE unconditionally. We want PIE to be enabled only by
# the global BR2_RELRO_FULL option.