Skip to contentSkip to conversation

package/rpcbind: bump to version 1.2.5

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 16, 2019 – Sep 17, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rpcbind: bump to version 1.2.5

- Remove all patches except first one (already in version)
- Add hash for license file

---
 ...n-t-use-the-xp_auth-pointer-directly.patch |  42 ---
 ...0003-src-remove-use-of-the-__P-macro.patch | 243 ------------------
 ...-svc_getargs-calls-with-svc_freeargs.patch | 231 -----------------
 ...it_com-Stop-freeing-a-static-pointer.patch |  98 -------
 ...dump-Fixed-typo-in-memory-leak-patch.patch |  31 ---
 package/rpcbind/rpcbind.hash                  |   3 +-
 package/rpcbind/rpcbind.mk                    |   2 +-
 7 files changed, 3 insertions(+), 647 deletions(-)
 delete mode 100644 package/rpcbind/0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
 delete mode 100644 package/rpcbind/0003-src-remove-use-of-the-__P-macro.patch
 delete mode 100644 package/rpcbind/0004-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch
 delete mode 100644 package/rpcbind/0005-rpcbproc_callit_com-Stop-freeing-a-static-pointer.patch
 delete mode 100644 package/rpcbind/0006-pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch
package/rpcbind/0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch deleted +0 -42
deleted file mode 100644
index 6145514bea..0000000000
@@ -1,42 +0,0 @@
-From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001
-From: Steve Dickson <[email protected]>
-Date: Mon, 2 Nov 2015 17:05:18 -0500
-Subject: [PATCH] handle_reply: Don't use the xp_auth pointer directly
-
-In the latest libtirpc version to access the xp_auth
-one must use the SVC_XP_AUTH macro. To be backwards
-compatible a couple ifdefs were added to use the
-macro when it exists.
-
-Signed-off-by: Steve Dickson <[email protected]>
-[peda at axentia.se: backport from upstream]
-Signed-off-by: Peter Rosin <[email protected]>
----
- src/rpcb_svc_com.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
-index 4ae93f1..22d6c84 100644
---- a/src/rpcb_svc_com.c
-+++ b/src/rpcb_svc_com.c
-@@ -1295,10 +1295,17 @@ handle_reply(int fd, SVCXPRT *xprt)
- 	a.rmt_localvers = fi->versnum;
- 
- 	xprt_set_caller(xprt, fi);
-+#if defined(SVC_XP_AUTH)
-+	SVC_XP_AUTH(xprt) = svc_auth_none;
-+#else 
- 	xprt->xp_auth = &svc_auth_none;
-+#endif
- 	svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) &a);
-+#if !defined(SVC_XP_AUTH)
- 	SVCAUTH_DESTROY(xprt->xp_auth);
- 	xprt->xp_auth = NULL;
-+#endif
-+
- done:
- 	if (buffer)
- 		free(buffer);
--- 
-2.5.3
-
package/rpcbind/0003-src-remove-use-of-the-__P-macro.patch deleted +0 -243

243 lines not on this page · raw message

package/rpcbind/0004-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch deleted +0 -231

231 lines not on this page · raw message

package/rpcbind/0005-rpcbproc_callit_com-Stop-freeing-a-static-pointer.patch deleted +0 -98

98 lines not on this page · raw message

package/rpcbind/0006-pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch deleted +0 -31
deleted file mode 100644
index 11ce6a84a2..0000000000
@@ -1,31 +0,0 @@
-From d3f1f55e50e3c436a2ea91d60da84c3a94e6c53f Mon Sep 17 00:00:00 2001
-From: Steve Dickson <[email protected]>
-Date: Thu, 18 Jan 2018 17:41:49 +0000
-Subject: [PATCH] pmapproc_dump: Fixed typo in memory leak patch
-
-commit 7ea36eee introduce a typo that caused
-NIS (aka ypbind) to fail.
-
-Signed-off-by: Steve Dickson <[email protected]>
-(cherry picked from commit c49a7ea639eb700823e174fd605bbbe183e229aa)
-Signed-off-by: Ed Blake <[email protected]>
----
- src/pmap_svc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/pmap_svc.c b/src/pmap_svc.c
-index bb57b05..ffca7df 100644
---- a/src/pmap_svc.c
-+++ b/src/pmap_svc.c
-@@ -384,7 +384,7 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt)
- 	}
- 
- done:
--	if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)NULL)) {
-+	if (!svc_freeargs(xprt, (xdrproc_t) xdr_void, (char *)NULL)) {
- 		if (debugging) {
- 			(void) xlog(LOG_DEBUG, "unable to free arguments\n");
- 			if (doabort) {
--- 
-2.11.0
-
package/rpcbind/rpcbind.hash +2 -1
index 5c9ecd1429..1960b86c13 100644
@@ -1,2 +1,3 @@
 # Locally computed:
-sha256 9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b  rpcbind-0.2.3.tar.bz2
+sha256 2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a  rpcbind-1.2.5.tar.bz2
+sha256 2b9477d2f4ab277b29702958f0058546edc120aae4b5fb8b8d1a9652104e1ba3  COPYING
package/rpcbind/rpcbind.mk +1 -1
index 5c216afc93..0f5011e522 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RPCBIND_VERSION = 0.2.3
+RPCBIND_VERSION = 1.2.5
 RPCBIND_SITE = http://downloads.sourceforge.net/project/rpcbind/rpcbind/$(RPCBIND_VERSION)
 RPCBIND_SOURCE = rpcbind-$(RPCBIND_VERSION).tar.bz2
 RPCBIND_LICENSE = BSD-3-Clause
Signature · 1 line
2.23.0.rc1
#1 lore raw

PATCH 1/1 package/rpcbind: bump to version 1.2.5

Quoted 4 lines · On Mon, 16 Sep 2019 20:31:03 +0200 Fabrice Fontaine…

- Remove all patches except first one (already in version)
- Add hash for license file

Quoted 14 lines
---
 ...n-t-use-the-xp_auth-pointer-directly.patch |  42 ---
 ...0003-src-remove-use-of-the-__P-macro.patch | 243 ------------------
 ...-svc_getargs-calls-with-svc_freeargs.patch | 231 -----------------
 ...it_com-Stop-freeing-a-static-pointer.patch |  98 -------
 ...dump-Fixed-typo-in-memory-leak-patch.patch |  31 ---
 package/rpcbind/rpcbind.hash                  |   3 +-
 package/rpcbind/rpcbind.mk                    |   2 +-
 7 files changed, 3 insertions(+), 647 deletions(-)
 delete mode 100644 package/rpcbind/0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch
 delete mode 100644 package/rpcbind/0003-src-remove-use-of-the-__P-macro.patch
 delete mode 100644 package/rpcbind/0004-rpcbind-pair-all-svc_getargs-calls-with-svc_freeargs.patch
 delete mode 100644 package/rpcbind/0005-rpcbproc_callit_com-Stop-freeing-a-static-pointer.patch
 delete mode 100644 package/rpcbind/0006-pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com