Skip to contentSkip to conversation

package/nfs-utils: bump version to 2.4.3

PATCH New Giulio Benetti 3 participants 7 messages Feb 10, 2020 – Feb 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Bump to version 2.4.3 of nfs-utils. All patches have been upstreamed, so drop them all. It must be used rpcgen build by host-nfs-utils, to do this let's pass its path to --with-rpcgen= instead of 'internal'.

---
 .../0001-Patch-taken-from-Gentoo.patch        | 60 ----------------
 ...tch-legacy-index-in-favour-of-strchr.patch | 72 -------------------
 ...e-script-find-getrpcbynumber-in-libt.patch | 46 ------------
 ...ntd-Add-check-for-struct-file_handle.patch | 46 ------------
 ...tils-add-missing-include-of-stdint.h.patch | 33 ---------
 ...de-sys-sysmacros.h-where-appropriate.patch | 50 -------------
 package/nfs-utils/nfs-utils.hash              |  4 +-
 package/nfs-utils/nfs-utils.mk                |  5 +-
 8 files changed, 5 insertions(+), 311 deletions(-)
 delete mode 100644 package/nfs-utils/0001-Patch-taken-from-Gentoo.patch
 delete mode 100644 package/nfs-utils/0002-Switch-legacy-index-in-favour-of-strchr.patch
 delete mode 100644 package/nfs-utils/0003-Let-the-configure-script-find-getrpcbynumber-in-libt.patch
 delete mode 100644 package/nfs-utils/0004-mountd-Add-check-for-struct-file_handle.patch
 delete mode 100644 package/nfs-utils/0005-nfs-utils-add-missing-include-of-stdint.h.patch
 delete mode 100644 package/nfs-utils/0006-Include-sys-sysmacros.h-where-appropriate.patch
package/nfs-utils/0001-Patch-taken-from-Gentoo.patch deleted +0 -60
deleted file mode 100644
index 47bf9db40d..0000000000
@@ -1,60 +0,0 @@
-From 5796ca01e33596d4102dd714349c908fecc331c0 Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <[email protected]>
-Date: Sat, 10 Nov 2012 18:56:12 +0100
-Subject: [PATCH] Patch taken from Gentoo
-
-Signed-off-by: Gustavo Zacarias <[email protected]>
----
- tools/locktest/Makefile.am | 7 +++----
- tools/rpcgen/Makefile.am   | 8 +++-----
- 2 files changed, 6 insertions(+), 9 deletions(-)
-
-diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am
-index 3156815..efe6fcd 100644
---- a/tools/locktest/Makefile.am
-+++ b/tools/locktest/Makefile.am
-@@ -1,12 +1,11 @@
- ## Process this file with automake to produce Makefile.in
-
- CC=$(CC_FOR_BUILD)
--LIBTOOL = @LIBTOOL@ --tag=CC
-+CFLAGS=$(CFLAGS_FOR_BUILD)
-+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
-+LDFLAGS=$(LDFLAGS_FOR_BUILD)
-
- noinst_PROGRAMS = testlk
- testlk_SOURCES = testlk.c
--testlk_CFLAGS=$(CFLAGS_FOR_BUILD)
--testlk_CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
--testlk_LDFLAGS=$(LDFLAGS_FOR_BUILD)
-
- MAINTAINERCLEANFILES = Makefile.in
-diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am
-index 8a9ec89..5a5b4d3 100644
---- a/tools/rpcgen/Makefile.am
-+++ b/tools/rpcgen/Makefile.am
-@@ -1,7 +1,9 @@
- ## Process this file with automake to produce Makefile.in
-
- CC=$(CC_FOR_BUILD)
--LIBTOOL = @LIBTOOL@ --tag=CC
-+CFLAGS=$(CFLAGS_FOR_BUILD)
-+CPPFLAGS=$(CPPFLAGS_FOR_BUILD)
-+LDFLAGS=$(LDFLAGS_FOR_BUILD)
-
- noinst_PROGRAMS = rpcgen
- rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
-@@ -9,10 +11,6 @@ rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \
- 		 rpc_util.c rpc_sample.c rpc_output.h rpc_parse.h \
- 		 rpc_scan.h rpc_util.h
-
--rpcgen_CFLAGS=$(CFLAGS_FOR_BUILD)
--rpcgen_CPPLAGS=$(CPPFLAGS_FOR_BUILD)
--rpcgen_LDFLAGS=$(LDFLAGS_FOR_BUILD)
--rpcgen_LDADD=$(LIBTIRPC)
-
- MAINTAINERCLEANFILES = Makefile.in
-
---
-2.1.0
-
package/nfs-utils/0002-Switch-legacy-index-in-favour-of-strchr.patch deleted +0 -72

72 lines not on this page · raw message

package/nfs-utils/0003-Let-the-configure-script-find-getrpcbynumber-in-libt.patch deleted +0 -46

46 lines not on this page · raw message

package/nfs-utils/0004-mountd-Add-check-for-struct-file_handle.patch deleted +0 -46

46 lines not on this page · raw message

package/nfs-utils/0005-nfs-utils-add-missing-include-of-stdint.h.patch deleted +0 -33
deleted file mode 100644
index a6214350ca..0000000000
@@ -1,33 +0,0 @@
-From b3ff26fa182b34b6faa1317f18a9dac4c7963334 Mon Sep 17 00:00:00 2001
-From: Matt Weber <[email protected]>
-Date: Mon, 2 Oct 2017 09:57:15 -0500
-Subject: [PATCH] nfs-utils: add missing include of stdint.h
-
-Glibc bump to 2.26 exposed this missing header when building
-with the following combination using an i386 internal toolchain.
-gcc5.4.0
-bin2.28.1
-linux4.1.43
-
-Upstream: https://bugzilla.linux-nfs.org/show_bug.cgi?id=312
-
-Signed-off-by: Matthew Weber <[email protected]>
----
- support/nsm/rpc.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
-index 4e5f40e..d91c6ea 100644
---- a/support/nsm/rpc.c
-+++ b/support/nsm/rpc.c
-@@ -40,6 +40,7 @@
- 
- #include <time.h>
- #include <stdbool.h>
-+#include <stdint.h>
- #include <string.h>
- #include <unistd.h>
- #include <fcntl.h>
--- 
-1.9.1
-
package/nfs-utils/0006-Include-sys-sysmacros.h-where-appropriate.patch deleted +0 -50

50 lines not on this page · raw message

package/nfs-utils/nfs-utils.hash +2 -2
index 74503c65bb..a30013af93 100644
@@ -1,4 +1,4 @@
-# From https://www.kernel.org/pub/linux/utils/nfs-utils/1.3.4/sha256sums.asc
-sha256 b42a5bc0a8d80d04650030ceb9a11f08f4acfbcb1ee297f657fb94e339c45975  nfs-utils-1.3.4.tar.xz
+# From https://www.kernel.org/pub/linux/utils/nfs-utils/2.4.3/sha256sums.asc
+sha256 af65fce5dd8370cff9ead67baac5a6cd69c376dcadfef264dc2c78c904f26599  nfs-utils-2.4.3.tar.xz
 # Locally computed
 sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de  COPYING
package/nfs-utils/nfs-utils.mk +3 -2
index a3484286d1..399bfc5539 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NFS_UTILS_VERSION = 1.3.4
+NFS_UTILS_VERSION = 2.4.3
 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+
@@ -23,7 +23,8 @@ NFS_UTILS_CONF_OPTS = \
 	--enable-ipv6 \
 	--without-tcp-wrappers \
 	--with-statedir=/run/nfs \
-	--with-rpcgen=internal
+	--with-rpcgen=$(HOST_DIR)/bin/rpcgen
+
 
 HOST_NFS_UTILS_CONF_OPTS = \
 	--disable-nfsv4 \
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Hi Giulio,

Quoted 5 lines

Bump to version 2.4.3 of nfs-utils. All patches have been upstreamed, so drop them all. It must be used rpcgen build by host-nfs-utils, to do this let's pass its path to --with-rpcgen= instead of 'internal'.

Thanks for updating it.
I've tested it some time ago, but there are a few more upstream changes so going to test it again.

Kind regards,
Petr

#2 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Hi Petr,

Quoted 8 lines · Petr Vorel

Hi Giulio,

Quoted 5 lines

Bump to version 2.4.3 of nfs-utils. All patches have been upstreamed, so drop them all. It must be used rpcgen build by host-nfs-utils, to do this let's pass its path to --with-rpcgen= instead of 'internal'.

Thanks for reviewing.

Quoted 3 lines

Thanks for updating it.
I've tested it some time ago, but there are a few more upstream changes so going to test it again.

Ok thank you, I've tested with test-pkg -a, better double check since it's a big version jump ;-)

Best regards

Signature · 2 lines
Giulio Benetti
Benetti Engineering sas
Quoted 7 lines

Kind regards,
Petr
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#3 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Hi Giulio,

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines

Bump to version 2.4.3 of nfs-utils. All patches have been upstreamed, so drop them all. It must be used rpcgen build by host-nfs-utils, to do this let's pass its path to --with-rpcgen= instead of 'internal'.

Thanks for reviewing.

yw :).

Quoted 6 lines
Quoted 3 lines

Thanks for updating it.
I've tested it some time ago, but there are a few more upstream changes so going to test it again.

Ok thank you, I've tested with test-pkg -a, better double check since it's a big version jump ;-)

OK, I'm doing the same. It'd be better if somebody actually test the result, but that'd be upstream bug. Therefore:

Kind regards,
Petr

#4 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

In reply to Giulio Benetti
Quoted 35 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Bump to version 2.4.3 of nfs-utils. All patches have been upstreamed, so drop them all. It must be used rpcgen build by host-nfs-utils, to do this let's pass its path to --with-rpcgen= instead of 'internal'.

---
 .../0001-Patch-taken-from-Gentoo.patch        | 60 ----------------
 ...tch-legacy-index-in-favour-of-strchr.patch | 72 -------------------
 ...e-script-find-getrpcbynumber-in-libt.patch | 46 ------------
 ...ntd-Add-check-for-struct-file_handle.patch | 46 ------------
 ...tils-add-missing-include-of-stdint.h.patch | 33 ---------
 ...de-sys-sysmacros.h-where-appropriate.patch | 50 -------------
 package/nfs-utils/nfs-utils.hash              |  4 +-
 package/nfs-utils/nfs-utils.mk                |  5 +-
 8 files changed, 5 insertions(+), 311 deletions(-)
 delete mode 100644 package/nfs-utils/0001-Patch-taken-from-Gentoo.patch
 delete mode 100644 package/nfs-utils/0002-Switch-legacy-index-in-favour-of-strchr.patch
 delete mode 100644 package/nfs-utils/0003-Let-the-configure-script-find-getrpcbynumber-in-libt.patch
 delete mode 100644 package/nfs-utils/0004-mountd-Add-check-for-struct-file_handle.patch
 delete mode 100644 package/nfs-utils/0005-nfs-utils-add-missing-include-of-stdint.h.patch
 delete mode 100644 package/nfs-utils/0006-Include-sys-sysmacros.h-where-appropriate.patch

+++ b/package/nfs-utils/nfs-utils.mk

package/nfs-utils/nfs-utils.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NFS_UTILS_VERSION = 1.3.4
+NFS_UTILS_VERSION = 2.4.3
 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+

package/nfs-utils/nfs-utils.mk NFS_UTILS_CONF_OPTS = \ · line 26

Quoted 5 lines
package/nfs-utils/nfs-utils.mk +1 -1
@@ -23,7 +23,8 @@ NFS_UTILS_CONF_OPTS = \
 	--enable-ipv6 \
 	--without-tcp-wrappers \
 	--with-statedir=/run/nfs \
-	--with-rpcgen=internal
+	--with-rpcgen=$(HOST_DIR)/bin/rpcgen

While host-nfs-utils does get implicitly pulled in by libtirpc, it isn't very obvious - So I've added an explicit host-nfs-utils dependency and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Hi,

Quoted 5 lines
Quoted 4 lines

+++ b/package/nfs-utils/nfs-utils.mk

package/nfs-utils/nfs-utils.mk +0 -0
@@ -4,7 +4,7 @@
 #
 ################################################################################
Quoted 15 lines

Review NFS_UTILS_CONF_OPTS = \ · line 23

Quoted 11 lines
package/nfs-utils/nfs-utils.mk +1 -1
-NFS_UTILS_VERSION = 1.3.4
+NFS_UTILS_VERSION = 2.4.3

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+

(quoted diff) +1 -4
@@ -23,7 +23,8 @@ NFS_UTILS_CONF_OPTS = \
--enable-ipv6 \
--without-tcp-wrappers \
--with-statedir=/run/nfs \
-	--with-rpcgen=internal
+	--with-rpcgen=$(HOST_DIR)/bin/rpcgen

While host-nfs-utils does get implicitly pulled in by libtirpc, it isn't very obvious - So I've added an explicit host-nfs-utils dependency and committed, thanks.

Ups, and I forgot to mention that I also dropped _AUTORECONF = YES now that all the patches are gone.

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH 1/1 package/nfs-utils: bump version to 2.4.3

Hi Peter,

Quoted 28 lines

Il giorno 16 feb 2020, alle ore 17:34, Peter Korsgaard <[email protected]> ha scritto:

?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Peter" == Peter Korsgaard <[email protected]> writes:

Hi,

Quoted 20 lines
Quoted 11 lines

+++ b/package/nfs-utils/nfs-utils.mk

package/nfs-utils/nfs-utils.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NFS_UTILS_VERSION = 1.3.4
+NFS_UTILS_VERSION = 2.4.3

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+

Review NFS_UTILS_CONF_OPTS = \ · line 23

Quoted 5 lines
(quoted diff) +1 -4
@@ -23,7 +23,8 @@ NFS_UTILS_CONF_OPTS = \
--enable-ipv6 \
--without-tcp-wrappers \
--with-statedir=/run/nfs \
-    --with-rpcgen=internal
+    --with-rpcgen=$(HOST_DIR)/bin/rpcgen

While host-nfs-utils does get implicitly pulled in by libtirpc, it isn't very obvious - So I've added an explicit host-nfs-utils dependency and committed, thanks.

Oh, yes it only accidentally worked without that dependency.

Quoted 3 lines

Ups, and I forgot to mention that I also dropped _AUTORECONF = YES now that all the patches are gone.

Ah right, I didn?t think that is superfluous now.

Thank you

Best regards
Giulio

Quoted 3 lines
Signature · 2 lines
-- 
Bye, Peter Korsgaard