All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/nfs-utils: bump version to 3.3.1
@ 2026-09-22  9:49 Giulio Benetti
  2026-09-22  9:55 ` Baruch Siach via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2026-09-22  9:49 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Petr Vorel

Remove patches upstreamed in this release.

Release announce:
https://lore.kernel.org/linux-nfs/5717a803-805c-409f-a9cc-d0c33a365570@redhat.com/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 ...-leak-in-sm_mon_1_svc-when-existing-.patch | 40 -----------------
 ...tport-fix-missing-stddef.h-inclusion.patch | 33 --------------
 ...fs-link-failure-with-disable-nfsdctl.patch | 39 ----------------
 ...ort-Fix-switch-case-on-old-compilers.patch | 44 -------------------
 package/nfs-utils/nfs-utils.hash              |  4 +-
 package/nfs-utils/nfs-utils.mk                |  4 +-
 6 files changed, 4 insertions(+), 160 deletions(-)
 delete mode 100644 package/nfs-utils/0001-statd-fix-memory-leak-in-sm_mon_1_svc-when-existing-.patch
 delete mode 100644 package/nfs-utils/0002-getport-fix-missing-stddef.h-inclusion.patch
 delete mode 100644 package/nfs-utils/0003-exportfs-link-failure-with-disable-nfsdctl.patch
 delete mode 100644 package/nfs-utils/0004-getport-Fix-switch-case-on-old-compilers.patch

diff --git a/package/nfs-utils/0001-statd-fix-memory-leak-in-sm_mon_1_svc-when-existing-.patch b/package/nfs-utils/0001-statd-fix-memory-leak-in-sm_mon_1_svc-when-existing-.patch
deleted file mode 100644
index d3a5bf991f..0000000000
--- a/package/nfs-utils/0001-statd-fix-memory-leak-in-sm_mon_1_svc-when-existing-.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From cf80edaeb9b120b7a533e0d3aea2f05cfcab85ae Mon Sep 17 00:00:00 2001
-From: xuchenchen <xuchenchen@kylinos.cn>
-Date: Sat, 15 Aug 2026 13:58:16 -0400
-Subject: [PATCH] statd: fix memory leak in sm_mon_1_svc() when existing host
- re-monitors
-
-When an already-monitored host sends a new SM_MON request with a
-different priv cookie, the code sets existing=1 and reuses the
-existing notify_list entry. However, clnt->dns_name is overwritten
-with the newly allocated dnsname without freeing the old value,
-causing a memory leak.
-
-Since statd is a long-running daemon, repeated SM_MON requests with
-changing cookies will accumulate leaked strings.
-
-Fix by freeing the old dns_name before overwriting it.
-
-Signed-off-by: xuchenchen <xuchenchen@kylinos.cn>
-Signed-off-by: Steve Dickson <steved@redhat.com>
-Upstream: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=cf80edaeb9b120b7a533e0d3aea2f05cfcab85ae
----
- utils/statd/monitor.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c
-index c76589ca..76ef16f1 100644
---- a/utils/statd/monitor.c
-+++ b/utils/statd/monitor.c
-@@ -187,6 +187,8 @@ sm_mon_1_svc(struct mon *argp, struct svc_req *rqstp)
- 	NL_MY_VERS(clnt) = id->my_vers;
- 	NL_MY_PROC(clnt) = id->my_proc;
- 	memcpy(NL_PRIV(clnt), argp->priv, SM_PRIV_SIZE);
-+	if (existing)
-+		free(clnt->dns_name);
- 	clnt->dns_name = dnsname;
- 
- 	/*
--- 
-2.53.0
-
diff --git a/package/nfs-utils/0002-getport-fix-missing-stddef.h-inclusion.patch b/package/nfs-utils/0002-getport-fix-missing-stddef.h-inclusion.patch
deleted file mode 100644
index a85390cdec..0000000000
--- a/package/nfs-utils/0002-getport-fix-missing-stddef.h-inclusion.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From cec8eeb69dc65eb91e0cb23ebff23530d9397425 Mon Sep 17 00:00:00 2001
-From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
-Date: Sat, 15 Aug 2026 14:00:36 -0400
-Subject: [PATCH] getport: fix missing stddef.h inclusion
-
-getport.c uses offsetof() but does not include <stddef.h>. On glibc
-this works because offsetof is pulled in transitively, but on musl it
-is not available without the explicit include, causing:
-
-  getport.c:459:41: error: implicit declaration of function 'offsetof'
-
-Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
-Signed-off-by: Steve Dickson <steved@redhat.com>
-Upstream: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=cec8eeb69dc65eb91e0cb23ebff23530d9397425
----
- support/nfs/getport.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/support/nfs/getport.c b/support/nfs/getport.c
-index 608e185b..6bd2f713 100644
---- a/support/nfs/getport.c
-+++ b/support/nfs/getport.c
-@@ -27,6 +27,7 @@
- #endif
- 
- #include <sys/types.h>
-+#include <stddef.h>
- #include <sys/time.h>
- #include <unistd.h>
- #include <fcntl.h>
--- 
-2.53.0
-
diff --git a/package/nfs-utils/0003-exportfs-link-failure-with-disable-nfsdctl.patch b/package/nfs-utils/0003-exportfs-link-failure-with-disable-nfsdctl.patch
deleted file mode 100644
index f1668c5b97..0000000000
--- a/package/nfs-utils/0003-exportfs-link-failure-with-disable-nfsdctl.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 67ed1bdb1af1c70a5fd3b377a997401b7676b827 Mon Sep 17 00:00:00 2001
-From: jaipaul Cheernam <jaipaul.cheernam@est.tech>
-Date: Sat, 15 Aug 2026 14:20:03 -0400
-Subject: [PATCH] exportfs: link failure with --disable-nfsdctl
-
-Building nfs-utils 2.9.2 with --disable-nfsdctl fails to link
-exportfs. This is a regression from 2.9.1.
-
-Signed-off-by: Steve Dickson <steved@redhat.com>
-Upstream: https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=67ed1bdb1af1c70a5fd3b377a997401b7676b827
----
- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 4ea19715..2ce1e129 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -256,8 +256,6 @@ PKG_CHECK_MODULES(LIBNL3, libnl-3.0 >= 3.1)
- PKG_CHECK_MODULES(LIBNLGENL3, libnl-genl-3.0 >= 3.1)
- 
- AC_CHECK_HEADERS(linux/nfsd_netlink.h)
--AC_DEFINE([HAVE_NFSD_NETLINK], 1,
--	  [Define to 1 if nfsd generic netlink support is available])
- 
- # ensure the system netlink headers have the latest features
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <linux/nfsd_netlink.h>]],
-@@ -279,6 +277,8 @@ AC_ARG_ENABLE(nfsdctl,
- 	enable_nfsdctl="yes")
- 	AM_CONDITIONAL(CONFIG_NFSDCTL, [test "$enable_nfsdctl" = "yes" ])
- 	if test "$enable_nfsdctl" = yes; then
-+		AC_DEFINE([HAVE_NFSD_NETLINK], 1,
-+	  		[Define to 1 if nfsd generic netlink support is available])
- 		PKG_CHECK_MODULES(LIBREADLINE, readline)
- 	fi
- 
--- 
-2.53.0
-
diff --git a/package/nfs-utils/0004-getport-Fix-switch-case-on-old-compilers.patch b/package/nfs-utils/0004-getport-Fix-switch-case-on-old-compilers.patch
deleted file mode 100644
index 692bc8bd3b..0000000000
--- a/package/nfs-utils/0004-getport-Fix-switch-case-on-old-compilers.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 7b886f3502977040461a8b31f5948a128f7069e2 Mon Sep 17 00:00:00 2001
-From: Petr Vorel <petr.vorel@gmail.com>
-Date: Thu, 20 Aug 2026 01:03:10 +0200
-Subject: [FTBFS,PATCH,nfs-utils 1/1] getport: Fix switch case on old compilers
-Cc: Steve Dickson <SteveD@RedHat.com>,
-    Giulio Benetti <giulio.benetti@benettiengineering.com>,
-    Julien Olivain <ju.o@free.fr>
-
-Buildroot distro compiles with fairly old compilers, which defaults to
-old C11 standard (some of still used compilers don't even have newer
-standard than C11). Workaround code which requires C23 with using { }.
-
-This fixes error:
-
-    getport.c:460:3: error: a label can only be part of a statement and a declaration is not a statement
-       size_t path_len = len - offsetof(struct sockaddr_un, sun_path);
-       ^~~~~~
-
-Fixes: 1a6dcd74 ("Removed warnings in nfs_sockaddr2universal()")
-Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
-Upstream: https://lore.kernel.org/linux-nfs/20260819232049.438643-1-petr.vorel@gmail.com/
----
- support/nfs/getport.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/support/nfs/getport.c b/support/nfs/getport.c
-index 6bd2f713..18ea0777 100644
---- a/support/nfs/getport.c
-+++ b/support/nfs/getport.c
-@@ -456,9 +456,10 @@ char *nfs_sockaddr2universal(const struct sockaddr *sap)
- 	int len = sizeof(struct sockaddr);
- 
- 	switch (sap->sa_family) {
--	case AF_LOCAL:
-+	case AF_LOCAL: {
- 		size_t path_len = len - offsetof(struct sockaddr_un, sun_path);
- 		return strndup(sun->sun_path, path_len);
-+	}
- 	case AF_INET:
- 		if (inet_ntop(AF_INET, (const void *)&sin->sin_addr.s_addr,
- 					buf, (socklen_t)sizeof(buf)) == NULL)
--- 
-2.53.0
-
diff --git a/package/nfs-utils/nfs-utils.hash b/package/nfs-utils/nfs-utils.hash
index 93f8e463a1..1353a1a39d 100644
--- a/package/nfs-utils/nfs-utils.hash
+++ b/package/nfs-utils/nfs-utils.hash
@@ -1,4 +1,4 @@
-# From https://www.kernel.org/pub/linux/utils/nfs-utils/2.9.2/sha256sums.asc
-sha256  e1dd8a9c95af15492065942cc3b52b1339ffd586baa2280ed86c9d3dc4097e8c  nfs-utils-2.9.2.tar.xz
+# From https://www.kernel.org/pub/linux/utils/nfs-utils/3.1.1/sha256sums.asc
+sha256  7dbc05eb8b32828b322872b759a62cb3979cb4118f344dd8616813d1390e84e0  nfs-utils-3.1.1.tar.xz
 # Locally computed
 sha256  576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de  COPYING
diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
index 6e0fb1a04c..3959b90cc2 100644
--- a/package/nfs-utils/nfs-utils.mk
+++ b/package/nfs-utils/nfs-utils.mk
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-NFS_UTILS_VERSION = 2.9.2
+NFS_UTILS_VERSION = 3.1.1
 NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz
 NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION)
-NFS_UTILS_LICENSE = GPL-2.0+
+NFS_UTILS_LICENSE = GPL-2.0+q
 NFS_UTILS_LICENSE_FILES = COPYING
 NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libevent libnl libtirpc sqlite util-linux
 NFS_UTILS_CPE_ID_VENDOR = linux-nfs
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/nfs-utils: bump version to 3.3.1
  2026-09-22  9:49 [Buildroot] [PATCH] package/nfs-utils: bump version to 3.3.1 Giulio Benetti
@ 2026-09-22  9:55 ` Baruch Siach via buildroot
  2026-09-22 10:04   ` Giulio Benetti
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach via buildroot @ 2026-09-22  9:55 UTC (permalink / raw)
  To: Giulio Benetti; +Cc: buildroot, Petr Vorel

Hi Giulio,

On Tue, Sep 22 2026, Giulio Benetti wrote:
> Remove patches upstreamed in this release.
>
> Release announce:
> https://lore.kernel.org/linux-nfs/5717a803-805c-409f-a9cc-d0c33a365570@redhat.com/
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---

[...]

> diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
> index 6e0fb1a04c..3959b90cc2 100644
> --- a/package/nfs-utils/nfs-utils.mk
> +++ b/package/nfs-utils/nfs-utils.mk
> @@ -4,10 +4,10 @@
>  #
>  ################################################################################
>  
> -NFS_UTILS_VERSION = 2.9.2
> +NFS_UTILS_VERSION = 3.1.1
>  NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz
>  NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION)
> -NFS_UTILS_LICENSE = GPL-2.0+
> +NFS_UTILS_LICENSE = GPL-2.0+q

This doesn't look like a valid license identifier.

baruch

>  NFS_UTILS_LICENSE_FILES = COPYING
>  NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libevent libnl libtirpc sqlite util-linux
>  NFS_UTILS_CPE_ID_VENDOR = linux-nfs

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] package/nfs-utils: bump version to 3.3.1
  2026-09-22  9:55 ` Baruch Siach via buildroot
@ 2026-09-22 10:04   ` Giulio Benetti
  0 siblings, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2026-09-22 10:04 UTC (permalink / raw)
  To: Baruch Siach; +Cc: buildroot, Petr Vorel


> Il giorno 22 set 2026, alle ore 11:55, Baruch Siach <baruch@tkos.co.il> ha scritto:
> 
> Hi Giulio,
> 
>> On Tue, Sep 22 2026, Giulio Benetti wrote:
>> Remove patches upstreamed in this release.
>> 
>> Release announce:
>> https://lore.kernel.org/linux-nfs/5717a803-805c-409f-a9cc-d0c33a365570@redhat.com/
>> 
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
> 
> [...]
> 
>> diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
>> index 6e0fb1a04c..3959b90cc2 100644
>> --- a/package/nfs-utils/nfs-utils.mk
>> +++ b/package/nfs-utils/nfs-utils.mk
>> @@ -4,10 +4,10 @@
>> #
>> ################################################################################
>> 
>> -NFS_UTILS_VERSION = 2.9.2
>> +NFS_UTILS_VERSION = 3.1.1
>> NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz
>> NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION)
>> -NFS_UTILS_LICENSE = GPL-2.0+
>> +NFS_UTILS_LICENSE = GPL-2.0+q
> 
> This doesn't look like a valid license identifier.

Oh, that’s a typo. Thanks for pointing Baruch.
I’m going to send V2.

Best regards

> 
> baruch
> 
>> NFS_UTILS_LICENSE_FILES = COPYING
>> NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libevent libnl libtirpc sqlite util-linux
>> NFS_UTILS_CPE_ID_VENDOR = linux-nfs
> 
> --
>                                                     ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-22 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-22  9:49 [Buildroot] [PATCH] package/nfs-utils: bump version to 3.3.1 Giulio Benetti
2026-09-22  9:55 ` Baruch Siach via buildroot
2026-09-22 10:04   ` Giulio Benetti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.