diff --git a/package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch b/package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch new file mode 100644 index 0000000000..bf7864e01a --- /dev/null +++ b/package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch @@ -0,0 +1,38 @@ +From 62297e906149f9d2ca7b187a60f7c5ab99ef5dd5 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 26 Dec 2024 21:39:05 +0100 +Subject: [PATCH] cldap_ping.c: add missing 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 , it happens to work with glibc +gets included by another header. + +Signed-off-by: Thomas Petazzoni +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 + #include + #include ++#include + #include + #include + #include +-- +2.47.0 + diff --git a/package/cifs-utils/Config.in b/package/cifs-utils/Config.in index d1b1406a3e..6813e3637d 100644 --- a/package/cifs-utils/Config.in +++ b/package/cifs-utils/Config.in @@ -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 diff --git a/package/cifs-utils/cifs-utils.hash b/package/cifs-utils/cifs-utils.hash index ec6ea55961..942f8aaa39 100644 --- a/package/cifs-utils/cifs-utils.hash +++ b/package/cifs-utils/cifs-utils.hash @@ -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 diff --git a/package/cifs-utils/cifs-utils.mk b/package/cifs-utils/cifs-utils.mk index edf08d4b4d..e8eefde275 100644 --- a/package/cifs-utils/cifs-utils.mk +++ b/package/cifs-utils/cifs-utils.mk @@ -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.