From 023bb1c7a8b1bf494e42024c99fba9d085d61cc5 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 11 Jun 2026 11:31:49 +0000 Subject: [PATCH] rpcbind: upgrade 1.2.8 -> 1.2.9 --- .../0001-systemd-use-EnvironmentFile.patch | 7 ++---- ...pcbind_add_option_to_fix_port_number.patch | 25 ++++++++----------- .../{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} | 2 +- 3 files changed, 14 insertions(+), 20 deletions(-) rename meta/recipes-extended/rpcbind/{rpcbind_1.2.8.bb => rpcbind_1.2.9.bb} (96%) diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch index 28d83e74f5..621cc34322 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch @@ -1,4 +1,4 @@ -From 87a9931e4aa97d7b6eb3b25f26444e30e45e3e41 Mon Sep 17 00:00:00 2001 +From 43908891b9344054e23a7d9f4d6fc5b34b2406cf Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 27 Aug 2025 11:30:48 +0800 Subject: [PATCH] systemd: use EnvironmentFile @@ -14,7 +14,7 @@ Signed-off-by: Hongxu Jia 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac -index 6ede0af..d1ae5e4 100644 +index c46294c..1566386 100644 --- a/configure.ac +++ b/configure.ac @@ -86,5 +86,7 @@ AC_CHECK_HEADERS([nss.h]) @@ -42,6 +42,3 @@ index 771b944..5992098 100644 ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f [Install] --- -2.34.1 - diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch index 3205ff3086..f0a4df04e4 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind_add_option_to_fix_port_number.patch @@ -1,4 +1,4 @@ -From 285c193dc94b53763ac8d6f91229eaab37d45fc6 Mon Sep 17 00:00:00 2001 +From fc77df5fed834dd1cffc8c58adb4a13a9b97f5cf Mon Sep 17 00:00:00 2001 From: Roy Li Date: Wed, 27 Aug 2025 11:24:53 +0800 Subject: [PATCH] add option to make users able to use fixed port number @@ -38,18 +38,18 @@ index 15b70f9..4a6ffbc 100644 .Fl h option is specified, diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c -index 1743dad..07a1c75 100644 +index 6d0d72d..2f10dac 100644 --- a/src/rpcb_svc_com.c +++ b/src/rpcb_svc_com.c -@@ -48,6 +48,7 @@ - #include +@@ -49,6 +49,7 @@ + #include #include #include +#include #include #include #include -@@ -497,6 +498,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap) +@@ -499,6 +500,7 @@ xdr_opaque_parms(XDR *xdrs, struct r_rmtcall_args *cap) static struct rmtcallfd_list *rmthead; static struct rmtcallfd_list *rmttail; @@ -57,7 +57,7 @@ index 1743dad..07a1c75 100644 int create_rmtcall_fd(struct netconfig *nconf) -@@ -504,6 +506,8 @@ create_rmtcall_fd(struct netconfig *nconf) +@@ -506,6 +508,8 @@ create_rmtcall_fd(struct netconfig *nconf) int fd; struct rmtcallfd_list *rmt; SVCXPRT *xprt; @@ -66,7 +66,7 @@ index 1743dad..07a1c75 100644 if ((fd = __rpc_nconf2fd(nconf)) == -1) { if (debugging) -@@ -512,6 +516,19 @@ create_rmtcall_fd(struct netconfig *nconf) +@@ -514,6 +518,19 @@ create_rmtcall_fd(struct netconfig *nconf) nconf->nc_device, errno); return (-1); } @@ -87,7 +87,7 @@ index 1743dad..07a1c75 100644 if (xprt == NULL) { if (debugging) diff --git a/src/rpcbind.c b/src/rpcbind.c -index bf7b499..7268907 100644 +index 4212377..7e7f79d 100644 --- a/src/rpcbind.c +++ b/src/rpcbind.c @@ -112,6 +112,7 @@ int runasdaemon = 0; @@ -98,7 +98,7 @@ index bf7b499..7268907 100644 char **hosts = NULL; int nhosts = 0; -@@ -959,7 +960,7 @@ parseargs(int argc, char *argv[]) +@@ -963,7 +964,7 @@ parseargs(int argc, char *argv[]) { int c; oldstyle_local = 1; @@ -107,7 +107,7 @@ index bf7b499..7268907 100644 switch (c) { case 'a': doabort = 1; /* when debugging, do an abort on */ -@@ -977,6 +978,9 @@ parseargs(int argc, char *argv[]) +@@ -981,6 +982,9 @@ parseargs(int argc, char *argv[]) if (hosts[nhosts - 1] == NULL) errx(1, "Out of memory"); break; @@ -117,7 +117,7 @@ index bf7b499..7268907 100644 case 'i': insecure = 1; break; -@@ -999,7 +1003,7 @@ parseargs(int argc, char *argv[]) +@@ -1003,7 +1007,7 @@ parseargs(int argc, char *argv[]) break; #endif default: /* error */ @@ -126,6 +126,3 @@ index bf7b499..7268907 100644 exit (1); } } --- -2.34.1 - diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb similarity index 96% rename from meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb rename to meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb index bd8ba1e88a..692c421cd9 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.9.bb @@ -18,7 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ file://rpcbind_add_option_to_fix_port_number.patch \ file://0001-systemd-use-EnvironmentFile.patch \ " -SRC_URI[sha256sum] = "964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5" +SRC_URI[sha256sum] = "ce5f1a87c566ef0b2897a28f50a75c1dc23fec413a46a7f4183423b6b6aa991b" inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases -- 2.47.1