package/cifs-utils: bump to version 7.1
PATCH 1/1 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.
--- ...ng.c-add-missing-sys-types.h-include.patch | 38 +++++++++++++++++++ package/cifs-utils/Config.in | 8 +++- package/cifs-utils/cifs-utils.hash | 2 +- package/cifs-utils/cifs-utils.mk | 4 +- 4 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch
package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 62297e906149f9d2ca7b187a60f7c5ab99ef5dd5 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <[email protected]> +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 <[email protected]> +Upstream: https://lore.kernel.org/linux-cifs/[email protected]/ +--- + 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 +
package/cifs-utils/Config.in +7 -1
@@ -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
package/cifs-utils/cifs-utils.hash +1 -1
@@ -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
package/cifs-utils/cifs-utils.mk +2 -2
@@ -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.
Signature · 6 lines
2.47.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 13 lines · Thomas Petazzoni via buildroot
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 pageshttps://lists.samba.org/archive/samba-technical/2024-October/139146.html
- August, 2022: Release 7.0
Add GSS-Proxy supporthttps://lists.samba.org/archive/samba-technical/2022-August/137528.html
Quoted 8 lines
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 <[email protected]>
Applied to master, thanks.
Quoted 115 lines
--- ...ng.c-add-missing-sys-types.h-include.patch | 38 +++++++++++++++++++ package/cifs-utils/Config.in | 8 +++- package/cifs-utils/cifs-utils.hash | 2 +- package/cifs-utils/cifs-utils.mk | 4 +- 4 files changed, 48 insertions(+), 4 deletions(-) create mode 100644
package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch(quoted diff) +0
-0
b/package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patchpackage/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch new file +12
-0@@ -0,0 +1,38 @@ +From 62297e906149f9d2ca7b187a60f7c5ab99ef5dd5 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <[email protected]> +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 thisfunction)
package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch new file +7
-0+ +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 <[email protected]> +Upstream:https://lore.kernel.org/linux-cifs/[email protected]/
+--- + cldap_ping.c | 1 ++ 1 file changed, 1 insertion(+)
package/cifs-utils/0001-cldap_ping.c-add-missing-sys-types.h-include.patch new file +16
-0+ +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 +package/cifs-utils/Config.in +7
-1@@ -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-kernelpackage/cifs-utils/cifs-utils.hash +0
-1@@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256
a7b6940e93250c1676a6fa66b6ead91b78cd43a5fee99cc462459c8b9cf1e6f4cifs-utils-6.15.tar.bz2 +sha256a21123f76a4a6a36c9653189ba4918ebdf3cfcd3f9092730a47ff3450b5b5b2acifs-utils-7.1.tar.bz2# Hash for license file:
sha2568ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903COPYINGpackage/cifs-utils/cifs-utils.mk +1
-1@@ -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+package/cifs-utils/cifs-utils.mk +1
-2@@ -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. --2.47.0
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot